A method for connecting an electromagnetic lock of a locker
Through the adaptation circuit system, the coil and status plug of the storage cabinet electromagnetic lock are connected into a single two-wire plug. Components such as transistors and diodes are used to solve the complex problem of the existing electromagnetic lock connection method and realize the electromagnetic lock Simplify connection and control, reducing costs and maintenance difficulties.
Patent Information
- Application Number
- CN202111141264.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2041-09-28
AI Technical Summary
The existing storage cabinet electromagnetic lock connection method is complicated, requiring multiple plugs and more connection wires, resulting in complex control circuits and numerous connection cables, which increases the difficulty of installation and maintenance.
Through the adaptation circuit system, the coil plug and status plug of the electromagnetic lock are connected into a single two-wire plug. Components such as transistors and diodes are used to realize the opening and status detection of the electromagnetic lock, simplifying the control circuit and detection circuit.
The simplified connection and control of electromagnetic locks is realized, reducing the number of components and connecting cables, simplifying installation and maintenance, reducing costs, and avoiding the risk of burning caused by wrong connections.
Smart Images

Figure CN113700389B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electromagnetic locks, and in particular to a locker electromagnetic lock connection method. Background Art
[0002] Lockers are generally arranged in a high-density manner. There are multiple doors on a set of cabinets. Each door requires at least one electromagnetic lock. The control system needs to control the opening of each lock and also needs to obtain the switch closing status of each lock. Generally, electromagnetic locks provide two sets of plugs, namely the unlocking coil plug and the lock status micro switch plug. Common specifications on the market often use plugs of the same specifications and are only distinguished by color. In this way, once the coil plug and the switch plug are wrong, the coil drive circuit will inevitably short-circuit, forcing the control circuit design to be more complicated. Thirdly, due to the use of two sets of plugs, there are more connecting wires between the lock and the electronic control board. The lock status switch is a straight-through nature, which makes the detection circuit more complicated when a large number of intensive installations are installed. If a matrix scanning method is used for detection, reverse current limiting isolation is required, which complicates the detection circuit and requires a lot of connecting wires. Summary of the invention
[0003] The object of the present invention is to provide a locker electromagnetic lock connection method to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a locker electromagnetic lock connection method, comprising the following steps:
[0005] Step 1: Current transmission, current flows into the system connection plug J5 through the 1st pin of the transfer circuit. When the lock is in the closed state, its internal state switch is closed, and the current passes through it to the resistor R1, and then enters the ground through Rbe;
[0006] Step 2: Current reflux. When the current in step 1 is large enough, the voltage difference across Rbe is large enough. At this time, transistor Q1 is turned on, and the current flows from the coil socket J3 of the transfer circuit through the connection line to the coil plug J1 of the electromagnetic lock, and then flows back to the collector of transistor Q1 through the electromagnetic coil.
[0007] Step 3: Drive the electromagnetic coil. The transistor Q1 that is saturated and turned on in step 2 is connected to the 2nd pin of the system connection plug J5 to complete the process of driving the electromagnetic coil.
[0008] Step 4: The electromagnetic lock is opened. When the current of the electromagnetic coil rises to a large enough level, the magnetic force it generates forces the electromagnetic lock to open. At the same time, the state switch in the electromagnetic lock is disconnected. The base of the transistor Q1 loses current support and is turned off, while the current on the electromagnetic coil in the electromagnetic lock continues to be released through D1. Due to the existence of diode D1, the collector voltage of the transistor Q1 is the 1st pin of the system connection plug J5 plus about 0.7V, which greatly reduces the impact on the transistor Q1.
[0009] Step 5: Detect the lock and judge. When the electric lock control line is at a high level, the MOS tube T1 is turned on, and the system connection plug J5 of the electric lock is connected to the electric lock socket J6 through a wire. At this time, sufficient voltage and current are obtained to realize the above unlocking action. At this time, there is no need to detect the lock state;
[0010] Step 6: Low level judgment. When the electric lock control line is at a low level, the MOS tube T1 is turned off. If the electric lock is in a closed state, the voltage is applied to the electric lock, the resistor R2, and the optocoupler U1 at the same time. Selecting a suitable resistor R2 can control the entire current to be small enough, so that when the above-mentioned transistor Q1 is not turned on, the electromagnetic coil does not work, and the state of the electromagnetic lock does not change. At this time, the optocoupler U1 is turned on, so the state detection line is at a low level;
[0011] Step 7: High level judgment, if the state switch in the electromagnetic lock is disconnected, the transistor Q1 is not conducting, and the electric lock socket J6 is considered to be disconnected, so no current flows through the resistor R2 and the optocoupler U1. At this time, the optocoupler U1 is turned off, and the state detection line is high level;
[0012] Step 8: Matrix scanning detection. First, set the corresponding row line to a high voltage and the corresponding column line to float. At this time, the electromagnetic lock provides a unidirectional conduction characteristic, and transmits the high voltage of the row line to the column line connected to it. However, because the column line is floating, it is also pulled up at this time, and the detection resistor connected to it forms a small current loop through the corresponding optical coupler, forcing the optical coupler to turn on and pull down the corresponding status detection line; if the electromagnetic lock is in the open state, the high voltage on the corresponding row line cannot be transmitted to the column line connected to it, and the corresponding optical coupler cannot be forced to turn on. At this time, the state of the line The detection line is still at a high level. Since the electromagnetic lock has a unidirectional conduction characteristic after being modified and optimized by the switching circuit, even if the electric lock in the closed state is connected between the row and column lines, the voltage will not be transmitted to another row line when one row line is at a high voltage. Therefore, only a simple row-column jumper is needed to complete the row-column drive and detection. The transistor Q1 shares the current of the electric lock status switch, which protects the switch contacts and ensures the unidirectional flow of current. The problem that can only be solved by 3 to 4 lines in the industry is solved by using 2 lines, and there is no risk of burning due to wrong connection.
[0013] Preferably, in step 2, the electromagnetic lock includes a coil plug J1 and a status plug J2, pins 1 and 2 of the coil plug J1 are connected in series with the electromagnetic coil through a wire, and pins 1 and 2 of the status plug J2 are connected in series with the status switch through a wire.
[0014] Preferably, in step 2, the transfer circuit includes a coil socket J3, a status socket J4 and a system connection plug J5, the coil socket J3 is connected in series with a transistor Q1, a resistor R1 and a status socket J4 through a wire, the wire between the coil socket J3 and the status socket J4 is connected in parallel with the system connection plug J5, and a diode D1 is connected in parallel between the coil socket J3 and the system connection plug J5.
[0015] Preferably, the electric lock control system interface used in conjunction with the conversion circuit includes an electric lock socket J6, a status detection line and an electric lock control line, pin 1 of the electric lock socket J6 is connected to node A, pin 2 of the electric lock socket J6 is connected to node B, a MOS tube T1 is arranged between the electric lock socket J6 and node B, a resistor R3 is arranged between the MOS tube T1 and the electric lock control line, a resistor R2 and an optocoupler U1 are arranged between the electric lock socket J6 and the status detection line, a resistor R4 is connected in parallel between the optocoupler U1 and the status detection line, and the resistor R4 is connected to the power input terminal Vcc.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] 1. The present invention provides a locker electromagnetic lock connection method, which uses fewer components for simplified transformation, simplifies control and detection, and saves a lot of connecting cables. Transistor Q1 shares the current of the electric lock state switch, which protects the switch contacts and ensures the unidirectional flow of current. The problem that can only be solved by 3 to 4 wires in the industry is solved by using 2 wires, and there is no risk of burning due to wrong connection;
[0018] 2. The present invention transforms the connection method of ordinary electromagnetic locks, saves connection lines and cables, does not distinguish the direction and type of plugs, is simple and easy to use, and foolproof maintenance, which not only saves material costs, but also reduces the difficulty of maintenance, and is also extremely simple to control and detect. The effect is more significant for the large-scale use of lockers with multiple doors, with obvious economic benefits and considerable market prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the internal logic of the electromagnetic lock of the present invention;
[0020] Figure 2 It is a schematic diagram of the switching circuit of the present invention;
[0021] Figure 3 This is a schematic diagram of the interface of the electric lock control system of the present invention;
[0022] Figure 4It is a schematic diagram of the rectangular driving and detection state of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0024] See also Figures 1 to 4 The present invention provides a technical solution: a locker electromagnetic lock connection method, comprising the following steps:
[0025] Step 1: Current transmission, current flows into the system connection plug J5 through the 1st pin of the transfer circuit. When the lock is in the closed state, its internal state switch is closed, and the current passes through it to the resistor R1, and then enters the ground through Rbe;
[0026] Step 2: Current reflux. When the current in step 1 is large enough, the voltage difference across Rbe is large enough. At this time, transistor Q1 is turned on, and the current flows from the coil socket J3 of the transfer circuit through the connection line to the coil plug J1 of the electromagnetic lock, and then flows back to the collector of transistor Q1 through the electromagnetic coil.
[0027] Step 3: Drive the electromagnetic coil. The transistor Q1 that is saturated and turned on in step 2 is connected to the 2nd pin of the system connection plug J5 to complete the process of driving the electromagnetic coil.
[0028] Step 4: The electromagnetic lock is opened. When the current of the electromagnetic coil rises to a large enough level, the magnetic force it generates forces the electromagnetic lock to open. At the same time, the state switch in the electromagnetic lock is disconnected. The base of the transistor Q1 loses current support and is turned off, while the current on the electromagnetic coil in the electromagnetic lock continues to be released through D1. Due to the existence of diode D1, the collector voltage of the transistor Q1 is the 1st pin of the system connection plug J5 plus about 0.7V, which greatly reduces the impact on the transistor Q1.
[0029] Step 5: Detect the lock and judge. When the electric lock control line is at a high level, the MOS tube T1 is turned on, and the system connection plug J5 of the electric lock is connected to the electric lock socket J6 through a wire. At this time, sufficient voltage and current are obtained to realize the above unlocking action. At this time, there is no need to detect the lock state;
[0030] Step 6: Low level judgment. When the electric lock control line is at a low level, the MOS tube T1 is turned off. If the electric lock is in a closed state, the voltage is applied to the electric lock, the resistor R2, and the optocoupler U1 at the same time. Selecting a suitable resistor R2 can control the entire current to be small enough, so that when the above-mentioned transistor Q1 is not turned on, the electromagnetic coil does not work, and the state of the electromagnetic lock does not change. At this time, the optocoupler U1 is turned on, so the state detection line is at a low level;
[0031] Step 7: High level judgment, if the state switch in the electromagnetic lock is disconnected, the transistor Q1 is not conducting, and the electric lock socket J6 is considered to be disconnected, so no current flows through the resistor R2 and the optocoupler U1. At this time, the optocoupler U1 is turned off, and the state detection line is high level;
[0032] Step 8: Matrix scanning detection. First, set the corresponding row line to a high voltage and the corresponding column line to float. At this time, the electromagnetic lock provides a unidirectional conduction characteristic, and transmits the high voltage of the row line to the column line connected to it. However, because the column line is floating, it is also pulled up at this time, and the detection resistor connected to it forms a small current loop through the corresponding optical coupler, forcing the optical coupler to turn on and pull down the corresponding status detection line; if the electromagnetic lock is in the open state, the high voltage on the corresponding row line cannot be transmitted to the column line connected to it, and the corresponding optical coupler cannot be forced to turn on. At this time, the state of the line The detection line is still at a high level. Since the electromagnetic lock has a unidirectional conduction characteristic after being modified and optimized by the switching circuit, even if the electric lock in the closed state is connected between the row and column lines, the voltage will not be transmitted to another row line when one row line is at a high voltage. Therefore, only a simple row-column jumper is needed to complete the row-column drive and detection. The transistor Q1 shares the current of the electric lock status switch, which protects the switch contacts and ensures the unidirectional flow of current. The problem that can only be solved by 3 to 4 lines in the industry is solved by using 2 lines, and there is no risk of burning due to wrong connection.
[0033] Among them, the electromagnetic lock includes a coil plug J1 and a status plug J2, pins 1 and 2 of the coil plug J1 are connected in series with the electromagnetic coil through a wire, and pins 1 and 2 of the status plug J2 are connected in series with the status switch through a wire; in step 2, the switching circuit includes a coil socket J3, a status socket J4 and a system connection plug J5, the coil socket J3 is connected in series with the transistor Q1, the resistor R1 and the status socket J4 through a wire, the wire between the coil socket J3 and the status socket J4 is connected in parallel with the system connection plug J5, and the wire between the coil socket J3 and the system connection plug J5 is connected in parallel A diode D1 is connected; the electric lock control system interface used in conjunction with the conversion circuit includes an electric lock socket J6, a status detection line and an electric lock control line, pin 1 of the electric lock socket J6 is connected to node A, pin 2 of the electric lock socket J6 is connected to node B, a MOS tube T1 is arranged between the electric lock socket J6 and node B, a resistor R3 is arranged between the MOS tube T1 and the electric lock control line, a resistor R2 and an optical coupler U1 are arranged between the electric lock socket J6 and the status detection line, a resistor R4 is connected in parallel between the optical coupler U1 and the status detection line, and the resistor R4 is connected to the power input terminal Vcc.
[0034] Working principle: Through Figure 2 The interface will Figure 1 The electric lock shown is converted into a single two-wire plug, and completes the simplified premise of unlocking control and state detection, so that the coil drive circuit has an induced electromotive force discharge circuit when switching, and the lock body circuit has a unidirectional conduction characteristic;
[0035] like Figure 2 As shown, its working characteristics are safer and more reliable than the simple method of connecting two plugs in series and adding a diode. On the one hand, due to Figure 2 The transistor Q1 in the circuit carries most of the coil working current. Figure 1 The state switch in the electric lock shown does not need to bear large current. On the other hand, due to the presence of transistor Q1, it naturally has a unidirectional conduction characteristic, and its own loss voltage drop is only about 0.2V when working in the forward direction, which is much lower than the 0.7V voltage drop caused by the simple diode series method.
[0036] like Figure 2 As shown, the entire electric lock can be regarded as a two-terminal network with the system connection plug J5 as the interface. It has the characteristic of unidirectional conduction and exhibits certain conduction characteristics when the electric lock is closed. Select appropriate resistance values of resistors R1 and Rbe. When the current is small, the transistor Q1 is not enough to conduct. For example, if the transistor Q1 is set to be non-conductive below 10mA, it can be made Figure 3 The detection optocoupler in the lock works, so the high and low of the status detection line can determine whether the lock is open or closed. Figure 3Node A is used as the scanning row line to connect to the high-level pulse, and node B is connected to the scanning column line to connect to the low-level pulse. Multiple groups of electric locks are arranged in a matrix, such as 16 groups of electric locks arranged in a 4*4 matrix. When scanning and detecting, no matter whether the electric lock is open or closed, the timing of the scanning pulse generated by detecting the output of the optocoupler can only reflect the state of the single lock currently being scanned. Therefore, only 4 row lines and 4 column lines are needed to detect the state of 16 groups of locks, which saves a lot of connecting wires compared to separate detection. In addition, the matrix scanning detection of ordinary switches requires adding a diode to each switch to realize the unidirectional conduction characteristic, which can also be omitted here due to the characteristics of this method.
[0037] This method also has the function of controlling the electromagnetic lock using a common matrix scanning drive method, connecting node A to a high-level pulse, connecting the electric lock control line to another set of scanning high-level pulses, and maintaining node B connected to the power ground. By controlling the scanning timing, the power-on control of a single electric lock on the matrix can be satisfied. At the same time, in this scanning timing, the state of the state detection line can be read in the synchronous scanning state to obtain the state of the electric lock. This can be achieved by using the same set of scanning circuits, such as Figure 4 As shown, the complexity of the control circuit part is greatly simplified and its cost is significantly reduced.
[0038] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A locker electromagnetic lock connection method, characterized in that: The following steps are involved: Step 1: Current transmission, current flows into the system connection plug J5 through the 1st pin of the transfer circuit. When the lock is in the closed state, its internal state switch is closed, and the current passes through it to the resistor R1, and then enters the ground through Rbe; Step 2: Current reflux. When the current in step 1 is large enough, the voltage difference across Rbe is large enough. At this time, transistor Q1 is turned on, and the current flows from the coil socket J3 of the transfer circuit through the connection line to the coil plug J1 of the electromagnetic lock, and then flows back to the collector of transistor Q1 through the electromagnetic coil. Step 3: Drive the electromagnetic coil. The transistor Q1 that is saturated and turned on in step 2 is connected to the 2nd pin of the system connection plug J5 to complete the process of driving the electromagnetic coil. Step 4: The electromagnetic lock is opened. When the current of the electromagnetic coil rises to a large enough level, the magnetic force it generates forces the electromagnetic lock to open. At the same time, the state switch in the electromagnetic lock is disconnected. The base of the transistor Q1 loses current support and is turned off, while the current on the electromagnetic coil in the electromagnetic lock continues to be released through D1. Due to the existence of diode D1, the collector voltage of the transistor Q1 is the 1st pin of the system connection plug J5 plus about 0.7V, which greatly reduces the impact on the transistor Q1. Step 5: Detect the lock and judge. When the electric lock control line is at a high level, the MOS tube T1 is turned on, and the system connection plug J5 of the electric lock is connected to the electric lock socket J6 through a wire. At this time, sufficient voltage and current are obtained to realize the unlocking action, that is, the electromagnetic lock is opened. At this time, there is no need to detect the lock state; Step 6: Low level judgment. When the electric lock control line is at a low level, the MOS tube T1 is turned off. If the electric lock is in a closed state, the voltage is applied to the electric lock, the resistor R2, and the optocoupler U1 at the same time. Selecting a suitable resistor R2 can control the entire current to be small enough, so that the electromagnetic coil works when the above-mentioned transistor Q1 is not turned on, and the state of the electromagnetic lock does not change. At this time, the optocoupler U1 is turned on, so the state detection line is at a low level; Step 7: High level judgment, if the state switch in the electromagnetic lock is disconnected, the transistor Q1 is not conducting, and the electric lock socket J6 is considered to be disconnected, so no current flows through the resistor R2 and the optocoupler U1. At this time, the optocoupler U1 is turned off, and the state detection line is high level; Step 8: Matrix scanning detection. First, set the corresponding row line to a high voltage and the corresponding column line to float. At this time, the electromagnetic lock provides a unidirectional conduction characteristic, and transmits the high voltage of the row line to the column line connected to it. However, because the column line is floating, it is also pulled up at this time, and the detection resistor connected to it forms a small current loop through the corresponding optical coupler, forcing the optical coupler to turn on and pull down the corresponding status detection line; if the electromagnetic lock is in the open state, the high voltage on the corresponding row line cannot be transmitted to the column line connected to it, and the corresponding optical coupler cannot be forced to turn on. At this time, the state of the line The detection line is still at a high level. Since the electromagnetic lock has a unidirectional conduction characteristic after being modified and optimized by the switching circuit, even if the electric lock in the closed state is connected between the row and column lines, the voltage will not be transmitted to another row line when one row line is at a high voltage. Therefore, only a simple row-column jumper is needed to complete the row-column drive and detection. The transistor Q1 shares the current of the electric lock status switch, which not only protects the switch contacts but also ensures the unidirectional flow of current. The problem that can only be solved by 3 to 4 lines in the industry is solved by using 2 lines, and there is no risk of burning due to wrong connection.
2. A locker electromagnetic lock connection method according to claim 1, characterized in that: In step 2, the electromagnetic lock includes a coil plug J1 and a status plug J2, pins 1 and 2 of the coil plug J1 are connected in series with the electromagnetic coil through a wire, and pins 1 and 2 of the status plug J2 are connected in series with the status switch through a wire.
3. A locker electromagnetic lock connection method according to claim 1, characterized in that: In step 2, the transfer circuit includes a coil socket J3, a status socket J4 and a system connection plug J5. The coil socket J3 is connected in series with a transistor Q1, a resistor R1 and a status socket J4 through a wire. The wire between the coil socket J3 and the status socket J4 is connected in parallel with the system connection plug J5. A diode D1 is connected in parallel between the coil socket J3 and the system connection plug J5.
4. A locker electromagnetic lock connection method according to claim 3, characterized in that: The electric lock control system interface used in conjunction with the conversion circuit includes an electric lock socket J6, a status detection line and an electric lock control line. Pin 1 of the electric lock socket J6 is connected to node A, and pin 2 of the electric lock socket J6 is connected to node B. A MOS tube T1 is arranged between the electric lock socket J6 and node B, a resistor R3 is arranged between the MOS tube T1 and the electric lock control line, a resistor R2 and an optocoupler U1 are arranged between the electric lock socket J6 and the status detection line, a resistor R4 is connected in parallel between the optocoupler U1 and the status detection line, and the resistor R4 is connected to the power input terminal Vcc.
Citation Information
Patent Citations
Electromagnetic lock of storage cabinet
CN216240168U