Electromagnetic door lock control circuit with matcher recognition function

By introducing proximity detection and radio frequency identification functions into the electromagnetic door lock control circuit to identify and verify the legality of the matcher, the problem that existing electromagnetic door locks cannot identify illegal matchers is solved, and the safety of workers and the reliability of electromagnetic door locks are improved.

CN222914237UActive Publication Date: 2025-05-27SHENZHEN BAYTEST TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421876422.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2025-05-27
Estimated Expiration
2034-08-02

AI Technical Summary

Technical Problem

The electromagnetic body and matcher of the existing electromagnetic door lock lack recognition function, which leads to the controller not being able to identify it in time when the illegal matcher comes into contact with the electromagnetic body, which may lead to workers' safety risks.

Method used

An electromagnetic door lock control circuit with matcher recognition function is designed. Through the proximity detection unit and the radio frequency identification unit, the proximity of the matcher and the electromagnetic body are detected and its electronic tag code is identified to ensure that only a legal matcher can contact the electromagnetic body.

Benefits of technology

It effectively prevents the illegal matcher from contacting the electromagnetic main body of the electromagnetic door lock, improves workers' safety, and ensures the correct closing of the electromagnetic door lock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222914237U_ABST
    Figure CN222914237U_ABST
Patent Text Reader

Abstract

The utility model discloses an electromagnetic door lock control circuit with a matcher identification function, which comprises an approaching detection unit used for detecting whether a matcher of an electromagnetic door lock is close to an electromagnetic main body, and a radio frequency identification unit used for identifying whether the matcher of the electromagnetic door lock has a legal electronic tag, the electromagnet driving unit is used for converting a locking driving signal into a control level for electromagnet attraction force, and the MCU main control unit is used for receiving an approaching detection signal of the approaching detection unit and a radio frequency identification signal of the radio frequency identification unit and sending the locking driving signal to the electromagnet driving unit. The electromagnetic door lock solves the problem that an existing electromagnetic door lock can not be closed and locked in time due to the fact that an electromagnetic main body can not recognize a matcher, and the operation safety of the electromagnetic door lock is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of electromagnetic door locks, in particular to an electromagnetic door lock control circuit with a matcher recognition function. Background Art

[0002] The electromagnetic door locks in the industrial field usually consist of an electromagnetic main body and a matcher. One is installed on the door, and the other is installed on the door frame. The electromagnet in the electromagnetic main body and the matcher can generate an attractive force of 1300N under the action of electromagnetic force, so that the equipment can prevent workers from being accidentally injured by the machine when the door is opened during the working state.

[0003] Under the existing technology, the electromagnetic main body and the matcher of the electromagnetic door lock usually do not have an identification function. In this case, when an illegal matcher contacts the electromagnetic main body, the electromagnetic door lock controller and the upper computer will recognize that the electromagnetic door lock has been closed and locked, but in fact, the door of the equipment is still in the open state, which may pose a danger to workers.

[0004] In view of this, it is necessary to propose a new electromagnetic door lock control circuit to improve the above problems. Summary of the Utility Model

[0005] The purpose of the utility model is to provide an electromagnetic door lock control circuit with a matcher recognition function. By applying proximity detection and radio frequency identification electronic tags, the problem that the existing electromagnetic door lock may not be able to close and lock in time because the electromagnetic main body cannot identify the matcher is solved, and its operation safety is improved.

[0006] The utility model provides the following solutions:

[0007] According to the first aspect, the utility model proposes an electromagnetic door lock control circuit with a matcher recognition function, including:

[0008] A proximity detection unit, which is used to detect whether the matcher of the electromagnetic door lock is close to the electromagnetic main body and send out a proximity detection signal;

[0009] A radio frequency identification unit, which is used to identify whether the matcher of the electromagnetic door lock has a legal electronic tag and send out a radio frequency identification signal;

[0010] An electromagnet drive unit, which is used to convert the lock drive signal into a control level for the attractive force of the electromagnet;

[0011] An MCU main control unit, which is respectively connected to the proximity detection unit, the radio frequency identification unit and the electromagnet drive unit, and is used to receive the proximity detection signal of the proximity detection unit and the radio frequency identification signal of the radio frequency identification unit, and send out a lock drive signal to the electromagnet drive unit; and

[0012] A power supply unit for providing a first DC power supply for the electromagnet driving unit and a second DC power supply for the proximity detection unit, the RFID unit, and the MCU main control unit.

[0013] Optionally, the proximity detection unit includes a Hall sensor and a comparator module. The output end of the Hall sensor is connected to the input end of the comparator module, and the output end of the comparator module is connected to the MCU main control unit.

[0014] Optionally, the comparator module is a hysteresis comparator, including a first resistor, a second resistor, a third resistor, a fourth resistor, and a comparator chip. The output end of the Hall sensor is connected to the positive input end of the comparator chip through the first resistor. The output end of the comparator chip is the output end of the comparator module. The second resistor is connected in parallel between the positive input end and the output end of the comparator chip. The negative input end of the comparator chip is connected to the first DC power supply through the third resistor and grounded through the fourth resistor.

[0015] Optionally, there are two groups of the comparator modules.

[0016] Optionally, the RFID unit includes an RFID chip, an RFID antenna, and a signal filtering module. The RFID chip is connected to the RFID antenna through the signal filtering module, and the RFID chip is connected to the MCU main control unit.

[0017] Optionally, the signal filtering module includes a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a ninth capacitor, a tenth capacitor, a first inductor, and a second inductor. Two ends of the RF antenna are respectively connected to a first end of the sixth resistor and a first end of the seventh resistor. A second end of the sixth resistor is connected to a first end of the first capacitor, a first end of the second capacitor, and a first end of the third capacitor. A second end of the first capacitor is connected to a second end of the second capacitor, a first end of the fourth capacitor, a first end of the fifth capacitor, a first end of the sixth capacitor, and a first end of the seventh capacitor and grounded. A second end of the seventh resistor is connected to a second end of the fourth capacitor, a second end of the fifth capacitor, and a first end of the eighth capacitor. A second end of the third capacitor is connected to a second end of the seventh capacitor, a first end of the ninth capacitor, and a first end of the first inductor. A second end of the eighth capacitor is connected to a second end of the sixth capacitor and a first end of the second inductor. A second end of the second inductor is connected to a first signal transmission end of the RFID chip. A second end of the first inductor is connected to a second signal transmission end of the RFID chip. A second end of the ninth capacitor is connected to the signal receiving end of the RFID chip through the eighth resistor. The ninth resistor is connected in parallel between the signal receiving end and the bias voltage end of the RFID chip. The bias voltage end of the RFID chip is grounded through the tenth capacitor.

[0018] Optionally, the electromagnet driving unit includes a first switching tube, a second switching tube, a tenth resistor, an eleventh resistor, a twelfth resistor, an eleventh capacitor, and a first voltage regulator tube. The first switching tube is an NPN transistor. The second switching tube is an NMOS tube. A base of the first switching tube is connected to an electromagnet driving control end of the MCU main control unit. An emitter of the first switching tube is grounded. A collector of the first switching tube is connected to a first end of the tenth resistor. A second end of the tenth resistor is connected to the first DC power supply through the eleventh resistor. The second end of the tenth resistor is also connected to a gate of the second switching tube through the twelfth resistor. A source of the second switching tube is grounded. The eleventh capacitor is connected in parallel between the gate and the source of the second switching tube. A drain of the second switching tube is connected to the first DC power supply through the first voltage regulator tube. Two ends of the first voltage regulator tube are connected to the electromagnet.

[0019] Optionally, it further includes an auxiliary output unit, which is respectively connected to the MCU main control unit and an external output port, and is used to output an auxiliary output signal according to the auxiliary output control signal of the MCU main control unit; the auxiliary output unit includes a third switching tube, a fourth switching tube, a first diode, a second diode, a TVS tube, a first fuse, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor and an optocoupler. The third switching tube is an NMOS tube, and the fourth switching tube is a PNP transistor. The auxiliary output control end of the MCU main control unit is connected to the gate of the third switching tube. The source of the third switching tube is grounded. The thirteenth resistor is connected in parallel between the gate and the source of the third switching tube. The drain of the third switching tube is connected to the cathode of the first diode. The anode of the first diode is connected to the first DC power supply through the anode and the cathode of the second diode. The fourteenth resistor is connected in parallel across the first diode. The anode of the first diode is grounded through the TVS tube. The anode of the first diode is connected to the external output port through the first fuse. The anode of the first diode is connected to the base of the fourth switching tube through the fifteenth resistor. The emitter of the fourth switching tube is connected to the first DC power supply. The collector of the fourth switching tube is connected to the positive electrode of the emission side of the optocoupler through the sixteenth resistor. The negative electrode of the emission side of the optocoupler is grounded through the seventeenth resistor. The positive electrode of the receiving side of the optocoupler is connected to the auxiliary output feedback end of the MCU main control unit, and the negative electrode of the receiving side of the optocoupler is grounded.

[0020] Optionally, the power supply unit includes a protection and filtering module, a voltage conversion module, a first DC power supply detection module and a second DC power supply detection module; the DC power supply of the external power adapter is passed through the protection and filtering module to obtain the first DC power supply. The first DC power supply is passed through the voltage conversion module to obtain the second DC power supply. The first DC power supply detection module is used to obtain the voltage of the first DC power supply and transmit it to the MCU main control unit. The second DC power supply detection module is used to obtain the voltage of the second DC power supply and transmit it to the MCU main control unit.

[0021] According to the second aspect, the present invention provides an electromagnetic lock, which includes an electromagnetic main body and a matcher. The electromagnetic main body includes an electromagnet and an electromagnetic lock control circuit with a matcher recognition function as described in the first aspect above. The matcher includes an electronic tag.

[0022] The present invention has the following advantages compared with the prior art:

[0023] A control circuit of an electromagnetic door lock with a matcher recognition function according to the present utility model is arranged in the electromagnetic body of the electromagnetic door lock, and an electronic tag is arranged on the matcher of the electromagnetic door lock; the proximity detection unit is used to detect whether the distance between the matcher of the electromagnetic door lock and the electromagnetic body is less than a set value. When the distance between the matcher and the electromagnetic body is less than the set value, the MCU main control unit will receive the proximity detection signal from the proximity detection unit; the radio frequency identification unit can identify the electronic tag code installed on the matcher of the electromagnetic door lock and determine whether the electronic tag code is legal. The MCU main control unit will receive the radio frequency identification signal from the radio frequency identification unit; when the electronic tag code on the matcher is legal, the MCU sends a locking drive signal to the electromagnet drive unit, so that the electromagnet is adapted to adsorb the matcher to close the door lock; when the electronic tag code on the matcher is illegal, the MCU will not send a locking drive signal to the electromagnet drive unit, and the electromagnet will not be adapted to adsorb the illegal matcher; by performing proximity detection and matcher identification, the present utility model can prevent other magnetic foreign objects, iron or matchers of other manufacturers from adsorbing to the electromagnetic body of the electromagnetic door lock. The electromagnetic body must be adsorbed with the matcher that matches it, thereby improving the operation safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the specific embodiments of the present utility model or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0025] Figure 1 It is a principle block diagram of an embodiment of the present utility model.

[0026] Figure 2 It is a circuit schematic diagram of the proximity detection unit.

[0027] Figure 3 It is an output characteristic diagram of the hysteresis comparator.

[0028] Figure 4 It is a circuit schematic diagram of the radio frequency identification unit.

[0029] Figure 5 It is a circuit schematic diagram of the electromagnet drive unit.

[0030] Figure 6 It is a principle block diagram of another embodiment of the present utility model.

[0031] Figure 7 It is a circuit schematic diagram of the auxiliary output unit.

[0032] Figure 8 It is the circuit schematic diagram of the power supply unit.

[0033] Figure 9 It is the structural diagram between the electromagnetic main body and the matcher.

[0034] In the figure:

[0035] 100 - Proximity detection unit, 110 - Comparator module, 200 - Radio frequency identification unit, 210 - Signal filtering module, 220 - Crystal oscillator module, 230 - Reset module, 240 - Communication mode selection module, 300 - Electromagnet drive unit, 400 - MCU main control unit, 500 - Power supply unit, 510 - Protection and filtering module, 520 - Voltage conversion module, 530 - First DC power supply detection module, 540 - Second DC power supply detection module, 600 - Auxiliary output unit, 1 - Electromagnetic main body, 2 - Matcher. Specific implementation manners

[0036] Next, the technical solutions of the present utility model will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are some embodiments of the present utility model, rather than all embodiments. Based on the embodiments in the present utility model, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present utility model.

[0037] See Figure 1 , an embodiment of an electromagnetic door lock control circuit with a matcher recognition function is proposed by the present utility model, including a proximity detection unit 100, a radio frequency identification unit 200, an electromagnet drive unit 300, an MCU main control unit 400, and a power supply unit 500.

[0038] The proximity detection unit 100 is used to detect whether the matcher of the electromagnetic door lock is close to the electromagnetic main body and send out a proximity detection signal. The radio frequency identification unit 200 is used to identify whether the matcher of the electromagnetic door lock has a legal electronic tag and send out a radio frequency identification signal. The electromagnet drive unit 300 is used to convert the lock closing drive signal into a control level for the suction force of the electromagnet. The MCU main control unit 400 is respectively connected to the proximity detection unit 100, the radio frequency identification unit 200, and the electromagnet drive unit 300, and is used to receive the proximity detection signal of the proximity detection unit 100 and the radio frequency identification signal of the radio frequency identification unit 200, and send out a lock closing drive signal to the electromagnet drive unit 300. The power supply unit 500 is used to provide a first DC power supply for the electromagnet drive unit 300, and provide a second DC power supply for the proximity detection unit 100, the radio frequency identification unit 200, and the MCU main control unit 400.

[0039] The working principle of the present utility model is as follows: A kind of electromagnetic door lock control circuit with matcher recognition function in this embodiment is arranged in the electromagnetic body of the electromagnetic door lock, and an electronic tag is arranged on the matcher of the electromagnetic door lock; The proximity detection unit 100 is used to detect whether the distance between the matcher of the electromagnetic door lock and the electromagnetic body is less than the set value. When the distance between the matcher and the electromagnetic body is less than the set value, the MCU main control unit 400 will receive the proximity detection signal from the proximity detection unit 100; The radio frequency identification unit 200 can identify the electronic tag code installed on the matcher of the electromagnetic door lock and judge whether the electronic tag code is legal. The MCU main control unit 400 will receive the radio frequency identification signal from the radio frequency identification unit 200; When the electronic tag code on the matcher is legal, the MCU sends a locking drive signal to the electromagnet drive unit 300, so that the electromagnet is adapted to adsorb the matcher to close the door lock; When the electronic tag code on the matcher is illegal, the MCU will not send a locking drive signal to the electromagnet drive unit 300, and the electromagnet will not be adapted to adsorb the illegal matcher.

[0040] In the embodiment of the present utility model, through proximity detection and matcher identification, it can prevent other magnetic foreign objects, iron, or matchers of other manufacturers from adsorbing to the electromagnetic body of the electromagnetic door lock. The electromagnetic body must adsorb with the matcher that matches it, thereby improving its operation safety.

[0041] In some embodiments, referring to Figure 2 , the proximity detection unit 100 includes a Hall sensor U1 and a comparator module 110. The output end of the Hall sensor U1 is connected to the input end of the comparator module 110, and the output end of the comparator module 110 is connected to the MCU main control unit 400. In specific implementation, the comparator module 110 is provided with a reference level. When the output level of the Hall sensor U1 is higher than the reference level, the comparator module 110 will output a result signal level, indicating that an object is approaching the electromagnetic door lock control circuit.

[0042] In some embodiments, referring to Figure 2 , the comparator module 110 is a hysteresis comparator, including a resistor R1, a resistor R2, a resistor R3, a resistor R4, and a comparator chip U2. The output end OUT of the Hall sensor U1 is connected to the positive input end IN+ of the comparator chip U2 through the resistor R1. The output end OUT of the comparator chip U2 is the output end HALL of the comparator module 110. A resistor R2 is connected in parallel between the positive input end IN+ and the output end OUT of the comparator chip U2. The negative input end IN- of the comparator chip U2 is connected to the DC power supply 3V3 through the resistor R3 and grounded through the resistor R4.

[0043] The output characteristics of the hysteresis comparator are as Figure 3 shown, where the two thresholds V T1 and VT2 Determined by formulas (1) to (3):

[0044]

[0045]

[0046] Wherein, V ref is the reference voltage of the comparator module 110, and V CC is the DC power supply voltage for powering the comparator module 110.

[0047] In this embodiment, by combining the Hall sensor with the hysteresis comparator, the jitter of the output signal during detection can be reduced, and the stability and reliability of the system can be improved.

[0048] In some embodiments, there are two groups of comparator modules 110. In specific applications, two distance thresholds can be set to achieve a more flexible control method. For example, when it is detected that the proximity distance is less than the first distance threshold, the identification and legality judgment of the matcher electronic tag are started. When the short distance is further less than the second distance threshold and the matcher electronic tag is legal, the door lock can be controlled to close.

[0049] In some embodiments, referring to Figure 4 , the radio frequency identification unit 200 includes a radio frequency identification chip U3, a radio frequency antenna L4, and a signal filtering module 210. The radio frequency identification chip U3 is connected to the radio frequency antenna L4 through the signal filtering module 210, and the radio frequency identification chip U3 is connected to the MCU main control unit 400.

[0050] In specific implementation, the radio frequency identification unit 200 on the electromagnetic body can identify the electronic tag on the matcher close to it through the radio frequency antenna L4, and judge whether the electronic tag is legal. The judgment result will be sent to the MCU main control unit 400.

[0051] In some embodiments, referring to Figure 4, the signal filtering module 210 includes a resistor R6, a resistor R7, a resistor R8, a resistor R9, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, an inductor L1 and an inductor L2. The two ends of the RF antenna L4 are respectively connected to the first end of the resistor R6 and the first end of the resistor R7. The second end of the resistor R6 is connected to the first end of the capacitor C1, the first end of the capacitor C2 and the first end of the capacitor C2. The second end of the capacitor C1 is connected to the second end of the capacitor C2, the first end of the capacitor C4, the first end of the capacitor C5, the first end of the capacitor C6 and the first end of the capacitor C7 and grounded. The second end of the resistor C7 is connected to the second end of the capacitor C4, the second end of the capacitor C5 and the first end of the capacitor C8. The second end of the capacitor C3 is connected to the second end of the capacitor C7, the first end of the capacitor C9 and the first end of the inductor L1. The second end of the capacitor C8 is connected to the second end of the capacitor C6 and the first end of the inductor L2. The second end of the inductor L2 is connected to the first signal transmission end TX1 of the RFID chip U3. The second end of the inductor L2 is connected to the second signal transmission end TX2 of the RFID chip U3. The second end of the capacitor C9 is connected to the signal reception end RX of the RFID chip U3 through the resistor R8. A resistor R9 is connected in parallel between the signal reception end RX and the bias voltage end VMID of the RFID chip U3. The bias voltage end VMID of the RFID chip U3 is grounded through the capacitor C10.

[0052] In a specific implementation, the TX1 pin and the TX2 pin of the RFID chip U3 are used to control the antenna L4 matching network, so that the signal can be better transmitted between the antenna L4 and the RFID chip, and the reflection loss is reduced. By adjusting the voltage value on the TX1 pin, the parameters of the antenna matching network can be optimized to achieve a good near-field communication function.

[0053] In some embodiments, refer to Figure 4, the signal filtering module 210 further includes a crystal oscillator module 220, a reset module 230, and a communication mode selection module 240. The crystal oscillator module 220 is used to generate the operating frequency required by the radio frequency identification chip U3, including a crystal oscillator X2, a capacitor C12, and a capacitor C13. The two signal terminals of the crystal oscillator X2 are respectively connected to the OSCIN pin and the OSCOUT pin of the radio frequency identification chip U3, and are respectively grounded through the capacitor C12 and the capacitor C13. The reset module 230 can send a reset signal to the NPD pin of the radio frequency identification chip U3 when powered on, including a resistor R18 and a capacitor C14. The first end of the resistor R18 is connected to the second DC power supply 3V3, the second end of the resistor R18 is connected to the NPD pin of the radio frequency identification chip U3 and grounded through the capacitor C14. The communication mode selection module 240 includes a resistor 19 and a resistor 20. The resistor 19 is connected to the second DC power supply 3V3, and the resistor R20 is grounded. When it is selected to connect to the EA pin of the radio frequency identification chip U3 through the resistor R19, the radio frequency identification chip U3 communicates with the MCU main control unit 400 using UART communication; when it is selected to connect to the EA pin of the radio frequency identification chip U3 through the resistor R20, the radio frequency identification chip U3 communicates with the MCU main control unit 400 using SPI communication.

[0054] In some embodiments, refer to Figure 5 , the electromagnet driving unit 300 includes a switching transistor Q1, a switching transistor Q2, a resistor R10, a resistor R11, a resistor R12, a capacitor C11, and a zener diode D1. The switching transistor Q1 is an NPN transistor, and the switching transistor Q2 is an NMOS transistor. The base of the switching transistor Q1 is connected to the electromagnet driving control terminal of the MCU main control unit 400, the emitter of the switching transistor Q1 is grounded, the collector of the switching transistor Q1 is connected to the first end of the resistor R10, the second end of the resistor 10 is connected to the first DC power supply +24V through the resistor R11, the second end of the resistor R10 is also connected to the gate of the switching transistor Q2 through the resistor R12, the source of the switching transistor Q2 is grounded, a capacitor C11 is connected in parallel between the gate and the source of the switching transistor Q2, the drain of the switching transistor Q2 is connected to the second DC power supply +24V through the zener diode D1, and both ends of the zener diode D1 are connected to the electromagnet.

[0055] In a specific implementation, when the electromagnet driving control terminal of the MCU main control unit 400 is at a high level, the switching transistor Q1 is turned on, and then the switching transistor Q2 is also turned on. The connected electromagnet obtains a voltage from both ends of the zener diode D1 to generate an attractive force; when the electromagnet driving control terminal of the MCU main control unit 400 is at a low level, the switching transistor Q1 is turned off, and then the switching transistor Q2 is also turned off. The anode of the zener diode D1 is in a high impedance state, and there is no voltage at both ends of the electromagnet and it does not work.

[0056] In a specific implementation, the MCU main control unit 400 is a microcontroller and its peripheral circuits.

[0057] In another embodiment of the present invention, refer to Figure 6, further comprising an auxiliary output unit 600. The auxiliary output unit 600 is respectively connected to the MCU main control unit 400 and an external output port, and is used to output an auxiliary output signal according to the auxiliary output control signal of the MCU main control unit 400. Refer to Figure 7 , the auxiliary output unit 600 includes a switching transistor Q3, a switching transistor Q4, a diode D2, a diode D3, a TVS diode D4, a fuse F1, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, and an optocoupler U4. The switching transistor Q3 is an NMOS transistor, and the switching transistor Q4 is a PNP transistor. The auxiliary output control terminal of the MCU main control unit 400 is connected to the gate of the switching transistor Q3. The source of the switching transistor Q3 is grounded. The resistor R13 is connected in parallel between the gate and the source of the switching transistor Q3. The drain of the switching transistor Q3 is connected to the cathode of the diode D2. The anode of the diode D2 is connected to the first DC power supply +24V through the anode and cathode of the diode D3. The resistor R14 is connected in parallel across the diode D2. The anode of the diode D2 is grounded through the TVS diode D4. The anode of the diode D2 is connected to the external output port AUX_OUT through the fuse F1. The anode of the diode D2 is connected to the base of the switching transistor Q4 through the resistor R15. The emitter of the switching transistor Q4 is connected to the first DC power supply +24V. The collector of the switching transistor Q4 is connected to the positive electrode of the emitter side of the optocoupler U4 through the resistor R16. The negative electrode of the emitter side of the optocoupler U4 is grounded through the resistor R17. The positive electrode of the receiving side of the optocoupler U4 is connected to the auxiliary output feedback terminal of the MCU main control unit 400. The negative electrode of the receiving side of the optocoupler U4 is grounded.

[0058] In a specific implementation, when the auxiliary output control terminal of the MCU main control unit 400 is at a high level, the switching transistor Q3 is turned on, and the external output port is grounded through the diode D2 to obtain a low level. At the same time, the switching transistor Q4 is also turned on, the emitter side of the optocoupler U4 is connected, and the auxiliary output feedback terminal of the MCU main control unit 400 is at a low level. When the auxiliary output control terminal of the MCU main control unit 400 is at a low level, the switching transistor Q3 is turned off, the external output port is at a high level. At the same time, the switching transistor Q4 is also turned off, the emitter side of the optocoupler U4 is not connected, and the auxiliary output feedback terminal of the MCU main control unit 400 is in a high impedance state.

[0059] It should be noted that the auxiliary output unit 600 is used in cooperation with the matcher for recognition. When the electronic tag code on the matcher is legal, the auxiliary output unit 600 outputs a low level to the external output port. When the electronic tag code on the matcher is illegal, the auxiliary output unit 600 outputs a high level to the external output port. Through the setting of the auxiliary output unit 600, linkage control can be performed on the peripherals cooperating with the electromagnetic door lock. In some embodiments, the output end of the auxiliary output unit 600 is connected to an external indicating device (such as a warning light), and a warning will be issued when a legal matcher electronic tag cannot be recognized. In some embodiments, the output end of the auxiliary output unit 600 is connected to the host computer, and the working state of each electromagnetic door lock can be detected through the host computer.

[0060] In some embodiments, referring to Figure 8 , the power supply unit 500 includes a protection and filtering module 510, a voltage conversion module 520, a first DC power supply detection module 530, and a second DC power supply detection module 540; the external power adapter DC power supply VCC passes through the protection and filtering module 510 to obtain the first DC power supply +24V, and the first DC power supply +24V passes through the voltage conversion module 520 to obtain the second DC power supply 3V3. The first DC power supply detection module 530 is used to obtain the voltage of the first DC power supply +24V and transmit it to the MCU main control unit 400, and the second DC power supply detection module 540 is used to obtain the voltage of the second DC power supply 3V3 and transmit it to the MCU main control unit 400.

[0061] In some embodiments, referring to Figure 7 , the protection and filtering module 510 includes a common mode inductor L3. One side of the common mode inductor L3 is serially connected with a voltage stabilizing diode D6 and a self - restoring fuse F2. The cathode of the voltage stabilizing diode D6 is connected to the common mode inductor L3, and the anode of the voltage stabilizing diode D6 is serially connected with the self - restoring fuse F2 and the external power adapter DC power supply VCC. It also includes a thermistor R21 and a TVS tube D5. One end of the thermistor R21 is connected between the voltage stabilizing diode D6 and the self - restoring fuse F2, and the other end is grounded. One end of the TVS tube D5 is connected between the voltage stabilizing diode D6 and the self - restoring fuse F2, and the other end is grounded.

[0062] The other side of the common mode inductor L3 includes a capacitor C15, a capacitor C16, a capacitor C17, and a capacitor C18. One end of the capacitor C15 is connected between the common mode inductor L3 and the first DC power supply +24V, and the other end is connected to the capacitor C16. The other end of the capacitor C16 is grounded. The capacitor C17 and the capacitor C18 are connected in parallel and one end is connected to the first DC power supply +24V, and the other end is grounded.

[0063] In this embodiment, the TVS tube has high energy discharge capacity and fast response time ability. When overvoltage or overcurrent occurs in the power supply circuit, it can conduct quickly and ground, discharging the overvoltage or overcurrent instantaneously to the ground or reducing it to a safe range. The zener diode D6 stabilizes the input voltage through reverse breakdown effect. When the input voltage exceeds the set value, the zener diode D6 will automatically start to conduct and keep the output voltage at a relatively constant level. This can ensure the normal operation of other devices powered by the subsequent output power supply. The multiple capacitors set can store and release energy and filter on the DC signal, removing the AC interference components and improving the stability of the device.

[0064] In some embodiments, referring to Figure 7 , the voltage conversion module 520 includes a power chip U5. A capacitor C19 is connected in series between the BST pin and the SW pin of the power chip U5. The feedback input pin FB is connected between a resistor R22 and a resistor R23. One end of the resistor R22 is connected to the 3.3V power supply 3V3_IN, the other end is connected to the resistor R23, and the other end of the resistor R23 is grounded. The SW pin of the power chip U5 is connected to the 3.3V power supply 3V3_IN through an inductor L5. A capacitor C20 and a capacitor C21 are connected in parallel between the 3.3V power supply 3V3_IN and the ground. The voltage across the inductor U6 is 3.3V. One end of the capacitor C17 is connected to one side of the inductor U6, and the other end is grounded. One end of the capacitor C23 is connected to the other side of the inductor U6, and the other end is grounded.

[0065] In the voltage conversion module 520, the BST pin of the power chip U5 is the Boost switch pin, which is used to control the switch of the boost converter. When the BST pin is at a high level, the boost converter works; when the BST pin is at a low level, the boost converter stops working. The FB pin of the power chip U5 is the feedback input pin, which is used to monitor the output voltage and perform feedback control. By sampling and comparing the FB pin, the output voltage of the boost converter can be adjusted to be stable at the set value. The SW pin of the power chip U5 is the switch pin, which plays a role in cutting off or conducting the power element during the buck-boost process. When the SW pin is used in cooperation with other components, the energy transmission and conversion function can be achieved. The VIN pin of the power chip U5 is the input power supply port, which receives the energy required for the chip to work provided by an external DC power supply. VIN can be connected to different types of energy sources such as a DC adapter and a lithium-ion battery.

[0066] In some embodiments, the first DC power supply detection module 530 includes a resistor R25, a resistor R26, a resistor R27, and a capacitor C24. One end of the resistor R25 is connected to the first DC power supply +24V, and the other end is connected to the resistor R27. The other end of the fourth resistor R27 is grounded. The capacitor C24 is connected across the two ends of the resistor R27. One end of the resistor R26 is connected between the resistor R25 and the resistor R27, and the other end is connected to the 24V voltage detection terminal of the MCU main control unit 400.

[0067] In some embodiments, the second DC power supply detection module 540 includes a resistor R28, a resistor R29, a resistor R30, and a capacitor C25. One end of the resistor R28 is connected to the second DC power supply 3V3, and the other end is connected to the resistor R30. The other end of the resistor R30 is grounded. The capacitor C25 is connected across the two ends of the resistor R30. One end of the resistor R29 is connected between the resistor R28 and the resistor R30, and the other end is connected to the 3.3V voltage detection terminal of the MCU main control unit 400.

[0068] In specific implementation, the first DC power supply detection module 530 and the second DC power supply detection module 540 are used to detect the voltage value in the power supply circuit and feedback it to the MCU main control unit 400, and can monitor two different operating voltages simultaneously to ensure that the core control device of the electromagnetic door lock control circuit can work under the normal operating voltage.

[0069] See Figure 9 , an embodiment of an electromagnetic door lock proposed by the present utility model includes an electromagnetic main body 1 and a matcher 2. The electromagnetic main body 1 includes an electromagnet and an embodiment of an electromagnetic door lock control circuit having a matcher recognition function as described above. The matcher 2 includes an electronic tag.

[0070] Those skilled in the art can understand that unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the general understanding of those of ordinary skill in the technical field to which the present utility model belongs. It should also be understood that terms such as those defined in a general dictionary should be understood to have a meaning consistent with the meaning in the context of the prior art, and will not be interpreted with an idealized or overly formal meaning unless specifically defined.

[0071] It should be noted that certain terms are used in this specification and the claims to refer to specific elements. Those skilled in the art should understand that different manufacturers and producers may use different nouns to refer to the same element. This specification and the claims do not use the difference in nouns as a way to distinguish elements, but use the difference in the functions of elements as the criterion for distinction.

[0072] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0073] In addition, those skilled in the art can understand that although some of the embodiments described herein include certain features included in other embodiments rather than other features, the combination of the features of different embodiments means that it is within the scope of the present utility model and forms different embodiments. For example, any one of the embodiments claimed in the claims can be used in any combination manner of the embodiments of the present utility model.

[0074] Those skilled in the art can understand that the modules in the devices in the embodiments can be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive, any combination can be adopted to combine all the features disclosed in this specification (including the corresponding claims, abstract and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise clearly stated, each feature disclosed in this specification (including the corresponding claims, abstract and drawings) can be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present utility model, rather than to limit it; although the present utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present utility model.

Claims

1. An electromagnetic door lock control circuit with a matching device identification function, characterized in that: include: A proximity detection unit (100) is used to detect whether the matching device of the electromagnetic door lock is close to the electromagnetic body and send a proximity detection signal; A radio frequency identification unit (200) is used to identify whether the matching device of the electromagnetic door lock has a legal electronic tag and send a radio frequency identification signal; An electromagnet drive unit (300), used for converting a lock drive signal into a control level for the electromagnet suction force; The MCU main control unit (400) is respectively connected to the proximity detection unit (100), the radio frequency identification unit (200) and the electromagnet drive unit (300), and is used to receive a proximity detection signal from the proximity detection unit (100) and a radio frequency identification signal from the radio frequency identification unit (200), and to send a locking drive signal to the electromagnet drive unit (300); as well as A power supply unit (500) is used to provide a first direct current power supply for the electromagnet drive unit (300), and to provide a second direct current power supply for the proximity detection unit (100), the radio frequency identification unit (200) and the MCU main control unit (400).

2. The electromagnetic door lock control circuit with matching device identification function according to claim 1, characterized in that: The proximity detection unit (100) comprises a Hall sensor (U1) and a comparator module (110), wherein the output end of the Hall sensor (U1) is connected to the input end of the comparator module (110), and the output end of the comparator module (110) is connected to the MCU main control unit (400).

3. The electromagnetic door lock control circuit with matching device identification function according to claim 2, characterized in that: The comparator module (110) is a hysteresis comparator, comprising a first resistor (R1), a second resistor (R2), a third resistor (R3), a fourth resistor (F4) and a comparator chip (U2); the output end of the Hall sensor (U1) is connected to the positive input end of the comparator chip (U2) via the first resistor (R1); the output end of the comparator chip (U2) is the output end of the comparator module (110); the second resistor (R2) is connected in parallel between the positive input end and the output end of the comparator chip (U2); the negative input end of the comparator chip (U2) is connected to the first DC power supply via the third resistor (R3) and is grounded via the fourth resistor (F4).

4. The electromagnetic door lock control circuit with a matching device identification function according to claim 2, characterized in that: The comparator modules (110) have two groups.

5. The electromagnetic door lock control circuit with matching device identification function according to claim 1, characterized in that: The radio frequency identification unit (200) comprises a radio frequency identification chip (U3), a radio frequency antenna (L4) and a signal filtering module (210); the radio frequency identification chip (U3) is connected to the radio frequency antenna (L4) via the signal filtering module (210); and the radio frequency identification chip (U3) is connected to the MCU main control unit (400).

6. The electromagnetic door lock control circuit with matching device identification function according to claim 5, characterized in that: The signal filtering module (210) comprises a sixth resistor (R6), a seventh resistor (R7), an eighth resistor (R8), a ninth resistor (R9), a first capacitor (C1), a second capacitor (C2), a third capacitor (C3), a fourth capacitor (C4), a fifth capacitor (C5), a sixth capacitor (C6), a seventh capacitor (C7), an eighth capacitor (C8), a ninth capacitor (C9), a tenth capacitor (C10), a first inductor (L1) and a second inductor (L2); two ends of the radio frequency antenna (L4) are respectively connected to the first end of the sixth resistor (R6) and the first end of the seventh resistor (R7); the second end of the sixth resistor (R6) is connected to the first end of the first capacitor (C1), the first end of the second capacitor (C2) and the first end of the third capacitor (C3); the second end of the first capacitor (C1) is connected to the second end of the second capacitor (C2), the first end of the fourth capacitor (C4), the first end of the fifth capacitor (C5), the first end of the sixth capacitor (C6) and the first end of the seventh capacitor (C7) and is grounded The second end of the seventh resistor (R7) is connected to the second end of the fourth capacitor (C4), the second end of the fifth capacitor (C5) and the first end of the eighth capacitor (C8); the second end of the third capacitor (C3) is connected to the second end of the seventh capacitor (C7), the first end of the ninth capacitor (C9) and the first end of the first inductor (L1); the second end of the eighth capacitor (C8) is connected to the second end of the sixth capacitor (C6) and the first end of the second inductor (L2); the second end of the second inductor (L2) is connected to the first signal sending end of the radio frequency identification chip (U3); the second end of the first inductor (L1) is connected to the second signal sending end of the radio frequency identification chip (U3); the second end of the ninth capacitor (C9) is connected to the signal receiving end of the radio frequency identification chip (U3) via the eighth resistor (R8); the ninth resistor (R9) is connected in parallel between the signal receiving end and the bias voltage end of the radio frequency identification chip (U3); the bias voltage end of the radio frequency identification chip (U3) is grounded via the tenth capacitor (C10).

7. The electromagnetic door lock control circuit with matching device identification function according to claim 1, characterized in that: The electromagnet drive unit (300) comprises a first switch tube (Q1), a second switch tube (Q2), a tenth resistor (R10), an eleventh resistor (R11), a twelfth resistor (R12), an eleventh capacitor (C11) and a first voltage regulator tube (D1), the first switch tube (Q1) being an NPN transistor, the second switch tube (Q2) being an NMOS tube, the base of the first switch tube (Q1) being connected to the electromagnet drive control end of the MCU main control unit (400), the emitter of the first switch tube (Q1) being grounded, and the collector of the first switch tube (Q1) being connected to the A first end of a tenth resistor (R10), a second end of the tenth resistor (R10) is connected to the first DC power supply via the eleventh resistor (R11), the second end of the tenth resistor (R10) is also connected to the gate of the second switch tube (Q2) via the twelfth resistor (R12), the source of the second switch tube (Q2) is grounded, the eleventh capacitor (C11) is connected in parallel between the gate and the source of the second switch tube (Q2), the drain of the second switch tube (Q2) is connected to the first DC power supply via the first voltage regulator tube (D1), and the first voltage regulator tube (D1) has two ends connected to an electromagnet.

8. The electromagnetic door lock control circuit with matching device identification function according to claim 1, characterized in that: The device also comprises an auxiliary output unit (600), the auxiliary output unit (600) being connected to the MCU main control unit (400) and an external output port respectively, and being used for outputting an auxiliary output signal according to an auxiliary output control signal of the MCU main control unit (400); the auxiliary output unit (600) comprising a third switch tube (Q3), a fourth switch tube (Q4), a first diode (D2), a second diode (D3), a TVS tube (D4), a first fuse (F1), a thirteenth resistor (R13), a tenth A fourth resistor (R14), a fifteenth resistor (R15), a sixteenth resistor (R16), a seventeenth resistor (R17) and an optical coupler (U4), the third switch tube (Q3) is an NMOS tube, the fourth switch tube (Q4) is a PNP transistor, the auxiliary output control end of the MCU main control unit (400) is connected to the gate of the third switch tube (Q3), the source of the third switch tube (Q3) is grounded, the thirteenth resistor (R13) is connected in parallel between the gate and the source of the third switch tube (Q3), and the The drain of the third switch tube (Q3) is connected to the cathode of the first diode (D2); the anode of the first diode (D2) is connected to the first DC power supply through the anode and cathode of the second diode (D3); the fourteenth resistor (R14) is connected in parallel to both ends of the first diode (D2); the anode of the first diode (D2) is grounded through the TVS tube (D4); the anode of the first diode (D2) is connected to the external output port through the first fuse (F1); the anode of the first diode (D2) is connected to the base of the fourth switch tube (Q4) through the fifteenth resistor (R15); the emitter of the fourth switch tube (Q4) is connected to the first DC power supply; the collector of the fourth switch tube (Q4) is connected to the positive electrode of the emitter side of the optical coupler (U4) through the sixteenth resistor (R16); the negative electrode of the emitter side of the optical coupler (U4) is grounded through the seventeenth resistor (R17); the positive electrode of the receiving side of the optical coupler (U4) is connected to the auxiliary output feedback end of the MCU main control unit (400); and the negative electrode of the receiving side of the optical coupler (U4) is grounded.

9. The electromagnetic door lock control circuit with matching device identification function according to claim 1, characterized in that: The power supply unit (500) comprises a protection and filtering module (510), a voltage conversion module (520), a first DC power supply detection module (530) and a second DC power supply detection module (540); the DC power supply of the external power adapter passes through the protection and filtering module (510) to obtain the first DC power supply, the first DC power supply passes through the voltage conversion module (520) to obtain the second DC power supply, the first DC power supply detection module (530) is used to obtain the first DC power supply voltage and transmit it to the MCU main control unit (400), and the second DC power supply detection module (540) is used to obtain the second DC power supply voltage and transmit it to the MCU main control unit (400).

10. An electromagnetic door lock, comprising an electromagnetic body (1) and a matching device (2), characterized in that: The electromagnetic body (1) comprises an electromagnet and an electromagnetic door lock control circuit with a matching device identification function as claimed in any one of claims 1 to 9, and the matching device (2) comprises an electronic tag.