Electromagnetic door lock control circuit and apparatus
By designing an electromagnetic door lock control circuit, automated detection and control of electromagnetic door locks on the production line were achieved, solving the problems of cascading control and identification of legitimate matches in existing technologies, and improving the safety and reliability of the production line.
Patent Information
- Application Number
- PCT/CN2025/105633
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-02
- Filing Date
- 2025-06-30
- Publication Date
- 2026-02-05
AI Technical Summary
Existing technologies lack electromagnetic door lock control circuits suitable for domestic enterprise production lines, making it impossible to achieve cascaded control and legal matching identification of multiple electromagnetic door locks. This results in the inability to effectively monitor the opening and closing status of electromagnetic door locks on the production line, posing a risk of unauthorized opening and failing to meet the safety requirements of the production line.
An electromagnetic door lock control circuit was designed, including a power supply circuit, a cascaded circuit, a sensing and identification circuit, an electromagnet drive circuit, and an MCU main control circuit. The cascaded structure detects the open and closed state of the electromagnetic door lock, and the MCU main control circuit drives and controls the electromagnet. It can identify the legitimate matcher and output sensing and detection signals to prevent unauthorized opening.
It enables automated detection and control of electromagnetic door locks on the production line, and can monitor and report illegal opening in real time, thereby improving the safety and reliability of the production line and preventing production accidents.
Smart Images

Figure CN2025105633_05022026_PF_FP_ABST
Abstract
Description
An electromagnetic door lock control circuit and device thereof TECHNICAL FIELD
[0001] The utility model relates to a control circuit and device thereof, especially to an electromagnetic door lock control circuit and device thereof. BACKGROUND
[0002] At present, there are few manufacturers of electromagnetic door locks in the industrial field in the domestic market, although there may be related prior art in foreign countries, but it is not necessarily suitable for the actual application needs of the production line of domestic enterprises. The electromagnetic door lock in the industrial field is different from the traditional civil door lock. The electromagnetic door lock is usually composed of a control electromagnet and a matcher. One is installed on the door, and the other is installed on the door frame. The control electromagnet and the matcher can generate a force of 1300N under the action of electromagnetic induction. Its main function is not limited to simple identification, unlocking and locking, but needs to report the opening and closing state of the electromagnetic door lock to the control end (such as the host computer) in real time, so that the equipment can avoid being illegally opened and causing workers to be injured by the machine in the working state.
[0003] In order to solve the problems existing in the prior art, a control circuit capable of being applied to the production line and cascadingly controlling the electromagnetic door locks of multiple devices, and capable of identifying whether the opening and closing of the electromagnetic door lock is a legal match or an illegal match is needed. However, there is still a lack of electromagnetic door locks and corresponding control circuits suitable for the production line of domestic enterprises in the prior art. The matching identification, control opening and closing lock and other functions cannot be realized through the cascading function, which cannot meet the requirements of people and needs to be improved. Utility model content
[0004] The utility model aims at providing an electromagnetic door lock control circuit and device thereof. The first technical problem to be solved is to realize the automatic detection and control of the electromagnetic door locks on the production line. The second technical problem to be solved is to realize the detection of the illegal opening of multiple electromagnetic door locks on the production line one by one. Finally, a product capable of realizing automatic and intelligent monitoring of the safety status of the production line is provided to solve the defects existing in the prior art.
[0005] The utility model provides following scheme: A kind of electromagnetic door lock control circuit, applied to electromagnetic door lock, comprising: power supply circuit, for providing working voltage for entire electromagnetic door lock control circuit;Cascade circuit, for receiving the working state signal output by previous stage electromagnetic door lock control circuit and the working state signal of current electromagnetic door lock control circuit, and the working state signal is delivered to the cascade circuit of next stage electromagnetic door lock control circuit;Induction identification circuit, for induction whether electromagnetic door lock main body has matcher to be close to to output induction detection signal, and identify whether the corresponding matcher of electromagnetic door lock is legal matcher, and output corresponding induction detection signal;Electromagnet driving circuit, for corresponding conversion to the driving signal of electromagnet according to lock / unlock instruction to drive the opening / closure of electromagnetic door lock accordingly;MCU master control circuit is electrically connected with the power supply circuit, cascade circuit, induction identification circuit and electromagnet driving circuit respectively;Wherein, the MCU master control circuit is configured as: for the induction detection signal and the identification detection signal based on the induction identification circuit output the driving signal of lock / unlock that the electromagnet driving circuit delivers, and for receiving the working state signal output by the cascade circuit of previous stage electromagnetic door lock and the working state signal of current electromagnetic door lock and delivering to host computer or the cascade circuit of next stage electromagnetic door lock.
[0006] Further, the cascade circuit comprises: a safety input circuit having an input end electrically connected to a safety output circuit of a previous stage electromagnetic door lock control circuit, the safety input circuit being configured to receive a working state signal of the previous stage electromagnetic door lock control circuit and deliver the working state signal to the MCU master control circuit; and a safety output circuit having an input end electrically connected to the MCU master control circuit, the safety output circuit being configured to deliver a corresponding working state signal output by the MCU master control circuit to a signal input circuit of a host computer or a next stage electromagnetic door lock.
[0007] Further, the safety input circuit comprises a first signal input circuit and a second signal input circuit, the first signal input circuit is provided with a first optocoupler, a collector of a photosensitive triode in the first optocoupler is a first safety input end, an emitter of the photosensitive triode in the first optocoupler is grounded, a positive electrode of a light-emitting diode of the first optocoupler is connected with a seventh resistor and a second self-resetting fuse in series, a negative electrode of the light-emitting diode of the first optocoupler is grounded, a ninth resistor is connected between the positive and negative electrodes of the light-emitting diode of the first optocoupler, and a fifth TVS tube is further arranged in the first signal input circuit, one end of the fifth TVS tube is connected between the seventh resistor and the second self-resetting fuse, and the other end of the fifth TVS tube is grounded; the second signal input circuit is provided with a second optocoupler, a collector of a photosensitive triode in the second optocoupler is a second safety input end, an emitter of the photosensitive triode in the second optocoupler is grounded, a positive electrode of a light-emitting diode of the second optocoupler is connected with a fifteenth resistor and a fifth self-resetting fuse in series, a negative electrode of the light-emitting diode of the second optocoupler is grounded, an eighteenth resistor is connected between the positive and negative electrodes of the light-emitting diode of the second optocoupler, and a ninth TVS tube is further arranged in the second signal input circuit, one end of the ninth TVS tube is connected between the fifth self-resetting fuse and the fifteenth resistor, and the other end of the ninth TVS tube is grounded.
[0008] Further, the safety output circuit comprises a first signal output circuit and a second signal output circuit, and the first signal output circuit and the second signal output circuit are both provided with a push-pull unit, wherein: the first signal output circuit comprises a second PNP transistor unit and an eighth NPN transistor unit, and the second PNP transistor unit and the eighth NPN transistor unit constitute a push-pull circuit unit, wherein the second PNP transistor unit comprises two PNP transistors, namely PNP transistor I and PNP transistor II, the emitter of the PNP transistor I is electrically connected with the power supply circuit, the collector of the PNP transistor I is grounded, the base of the PNP transistor I is electrically connected with the emitter of the PNP transistor II, the emitter of the PNP transistor II is electrically connected with one end of a forty-first resistor, the other end of the forty-first resistor is electrically connected with the power supply circuit, the base of the PNP transistor II is electrically connected with the collector of the PNP transistor I and then electrically connected with one end of a forty-third resistor, the other end of the forty-third resistor is electrically connected with the collector of a third transistor, the collector of the third transistor is electrically connected with one end of an eighth resistor, the other end of the eighth resistor is electrically connected with the power supply circuit, the base of the third transistor is electrically connected with one end of a forty-fifth resistor, the other end of the forty-fifth resistor is electrically connected with an MCU microcontroller, and the first signal output circuit further comprises a seventy-fifth resistor, one end of the seventy-fifth resistor is electrically connected with the power supply circuit, and the other end of the seventy-fifth resistor is connected between the MCU microcontroller and the forty-fifth resistor; the eighth NPN transistor unit in the first signal output circuit comprises two NPN transistors, namely NPN transistor III and NPN transistor IV, wherein the emitter of the NPN transistor III is grounded, the base of the NPN transistor III is electrically connected with the emitter of the NPN transistor IV and then electrically connected with one end of a nineteenth resistor, the other end of the nineteenth resistor is grounded, the collector of the NPN transistor III is electrically connected with the base of the NPN transistor IV and then electrically connected with one end of a forty-second resistor, the other end of the forty-second resistor is electrically connected with the collector of a fourth transistor, the collector of the fourth transistor is also electrically connected with one end of a thirteenth resistor, the other end of the thirteenth resistor is electrically connected with the power supply circuit, the base of the fourth transistor is electrically connected with one end of a forty-sixth resistor, the other end of the forty-sixth resistor is electrically connected with the MCU microcontroller, and the emitter of the fourth transistor is grounded.The collector of the PNP type transistor II in the second PNP triode unit is electrically connected with the collector of the NPN type transistor IV in the eighth NPN triode unit, and then is electrically connected with one end of a self-restoring fuse, the other end of the self-restoring fuse is electrically connected with one end of a twelfth resistor, the other end of the twelfth resistor is electrically connected with the negative electrode of a twenty-third voltage stabilizing diode, the positive electrode of the twenty-third voltage stabilizing diode is grounded, a first OSSD1_FB port is arranged between the twelfth resistor and the twenty-third voltage stabilizing diode, and a forty-fourth resistor is connected in parallel between the first OSSD1_FB port and the positive electrode of the twenty-third voltage stabilizing diode.
[0009] Further, the second signal output circuit includes a ninth PNP transistor unit and a tenth NPN transistor unit, the ninth PNP transistor unit and the tenth NPN transistor unit constitute a push-pull unit, the emitter of PNP transistor V in the ninth PNP transistor unit is electrically connected with the power supply circuit, the base of PNP transistor V is electrically connected with the base of PNP transistor V and the emitter of PNP transistor VI, and one end of the forty-seventh resistor is electrically connected with the base of PNP transistor V; the other end of the forty-seventh resistor is electrically connected with the power supply circuit, the collector of PNP transistor V is electrically connected with the base of PNP transistor VI, one end of the fifty-first resistor is electrically connected with the base of PNP transistor VI, the other end of the fifty-first resistor is electrically connected with the collector of the twelfth transistor, the collector of the twelfth transistor is also electrically connected with the fifty-second resistor, the other end of the fifty-second resistor is electrically connected with the power supply circuit, the emitter of the twelfth transistor is grounded, the base of the twelfth transistor is electrically connected with one end of the fifty-fifth resistor, the other end of the fifty-fifth resistor is electrically connected with the MCU microcontroller, the seventh thirty-third resistor is connected between the fifty-fifth resistor and the MCU microcontroller, and the other end of the seventh thirty-third resistor is grounded; the base of NPN transistor VII in the tenth NPN transistor unit is electrically connected with the emitter of NPN transistor VIII, the emitter of NPN transistor VII is grounded, the collector of NPN transistor VII is electrically connected with the forty-ninth resistor and the base of NPN transistor VIII, the emitter of NPN transistor VIII is electrically connected with one end of the forty-eighth resistor, the other end of the forty-eighth resistor is grounded, the other end of the forty-ninth resistor is electrically connected with the collector of the eleventh transistor, the collector of the eleventh transistor is electrically connected with one end of the fiftieth resistor, the other end of the fiftieth resistor is electrically connected with the power supply circuit, the emitter of the eleventh transistor is grounded, the base of the eleventh transistor is electrically connected with one end of the fifty-sixth resistor, the other end of the fifty-sixth resistor is electrically connected with the MCU microcontroller, the seventh thirty-fourth resistor is connected between the MCU microcontroller and the fifty-sixth resistor, and the other end of the seventh thirty-fourth resistor is grounded; the collector of PNP transistor VI is electrically connected with the collector of NPN transistor VIII, one end of the eleventh self-resetting fuse is connected between the collector of PNP transistor VI and the collector of NPN transistor VIII, the other end of the eleventh self-resetting fuse is electrically connected with the fifty-third resistor, the twenty-fourth voltage stabilizer and the twenty-fifth voltage stabilizer are arranged between the other end of the eleventh self-resetting fuse and the fifty-third resistor, the negative electrode of the twenty-fourth voltage stabilizer is electrically connected with the power supply circuit, the positive electrode of the twenty-fourth voltage stabilizer is electrically connected with the negative electrode of the twenty-fifth voltage stabilizer, the positive electrode of the twenty-fifth voltage stabilizer is connected between the forty-eighth resistor and the ground, the other end of the fifty-third resistor is connected with the second OSSD2_FB port, the negative electrode of the twenty-sixth voltage stabilizer is electrically connected with the fifty-third resistor, the positive electrode of the twenty-sixth voltage stabilizer is grounded, and the fifty-fourth resistor is connected across the two ends of the twenty-sixth voltage stabilizer.
[0010] Further, the inductive detection circuit includes: an inductive detection circuit, an output end of which is electrically connected with the MCU master control circuit, the inductive detection circuit is used for detecting whether the matcher of the electromagnetic door lock is close to the electromagnetic main body and outputting a close detection signal to the MCU master control circuit; and an RFID circuit, an output end of which is electrically connected with the MCU master control circuit, the RFID circuit is used for identifying whether the matcher of the electromagnetic door lock has a legal electronic tag and outputting an RFID signal to the MCU master control circuit.
[0011] Further, the inductive detection circuit includes a Hall sensor, a first comparator and a second comparator, output signal ends OUT pins of the Hall sensor are respectively electrically connected with the first comparator and the second comparator, the Hall sensor is used for converting the detected magnetic field information into corresponding electrical signals for output, and the comparators are used for comparing the input signals from the Hall sensor and generating corresponding outputs according to preset conditions.
[0012] Further, the RFID circuit includes a RFID chip and a peripheral circuit thereof, the peripheral circuit includes an RFID antenna used for transmitting an RFID signal for RFID matching, the RFID antenna is electrically connected with the RFID chip through a filtering module, further includes a crystal oscillator module used for connecting an external crystal oscillator circuit, and a clock module used for synchronous data transmission.
[0013] Further, the electromagnetic iron driving circuit includes an N-channel enhancement mode field effect transistor chip, a drain of the N-channel enhancement mode field effect transistor chip is connected with an ETM_PWM end in the electromagnetic iron driving circuit, a gate of the N-channel enhancement mode field effect transistor chip is connected with an ETM_CHECK end of the electromagnetic iron driving circuit, the ETM_PWM end and the ETM_CHECK end are connected with the MCU master control circuit, instructions are sent by the MCU microcontroller to control the N-channel enhancement mode field effect transistor chip; the auxiliary output circuit, an input end of the auxiliary output circuit is electrically connected with the MCU master control circuit, the auxiliary output circuit is used for outputting high / low level signals to external warning equipment or a host computer according to the open / close state of the electromagnetic door lock; the locking input circuit, an input end of the locking input circuit is electrically connected with the host computer, an output end of the locking input circuit is electrically connected with the MCU master control circuit, the locking input circuit is used for receiving the unlocking signal or the locking signal sent by the host computer and transmitting the signal to the MCU master control circuit to control the unlocking or the locking of the electromagnetic door lock.
[0014] An electromagnetic door lock control device, the electromagnetic door lock control device is provided with the electromagnetic door lock control circuit.
[0015] Compared with the prior art, the electromagnetic door lock circuit has the following advantages: the electromagnetic door lock circuit is provided with an MCU main control circuit, the power supply circuit, the cascade circuit, the induction identification circuit and the electromagnet driving circuit can be controlled respectively, the working state signals output by the electromagnetic door lock control circuit of the previous stage and the working state signals of the current electromagnetic door lock control circuit are received, the working state signals are then transmitted to the cascade circuit of the electromagnetic door lock control circuit of the next stage, then it is inducted whether the electromagnetic door lock main body is close to the matching device to output the induction detection signal, whether the matching device corresponding to the electromagnetic door lock is a legal matching device is identified, and the corresponding induction detection signal is output, the driving signal of the electromagnet is converted according to the opening / closing instruction to drive the opening / closing of the electromagnetic door lock, the opening / closing of the electromagnetic door lock can be detected, the situation that one or more electromagnetic door locks on the production line are illegally opened can be detected through the cascade control circuit in the form of the series connection structure, and the abnormal signal is sent to the upper computer for identification, so that the upper computer knows which electromagnetic door lock of the device is not closed or is faulty, and the production accident caused by the illegal opening of the electromagnetic door lock is prevented.
[0016] The electromagnetic door lock circuit can be applied to the production line, the electromagnetic door lock of the device on the production line is detected in real time, the production accident caused by the illegal or mistaken operation is prevented, and the safety and reliability of the whole production line are improved. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the utility model or the technical solutions in the prior art, the drawings needed to be used in the specific embodiments or the prior art description will be briefly introduced below, and obviously, the drawings in the following description are some embodiments of the utility model, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0018] Fig. 1 is a principle block diagram of the electromagnetic door lock control circuit; Fig. 2 is a circuit principle diagram of the power supply circuit; Fig. 3 is a circuit principle diagram of the voltage conversion circuit; Fig. 4 is a circuit principle diagram of the voltage detection circuit; Fig. 5 is a circuit principle diagram of the radio frequency identification circuit; Fig. 6 is a circuit principle diagram of the induction detection circuit; Fig. 7 is a circuit principle diagram of the safety output circuit; Fig. 7a is one of the partial enlarged views of Fig. 7; Fig. 7b is the other of the partial enlarged views of Fig. 7; Fig. 8 is a circuit principle diagram of the safety input circuit; Fig. 9 is a circuit principle diagram of the auxiliary output circuit and the locking input circuit; Fig. 10 is a circuit principle diagram of the electromagnet driving circuit; Fig. 11 is a principle diagram of the LED circuit and the LED driving circuit; Fig. 12 is a structure diagram between the electromagnet and the matching device; Fig. 13 is a principle block diagram of the cascade type electromagnetic door lock control circuit on the production line. DETAILED DESCRIPTION
[0019] The technical solutions of the utility model will be described clearly and completely in combination with the drawings below, obviously, the described embodiments are part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by the person skilled in the art without making creative labor belong to the protection scope of the utility model.
[0020] As shown in the principle block diagram of the electromagnetic door lock control circuit, applied to the electromagnetic door lock, comprising: power supply circuit, for providing working voltage for the whole electromagnetic door lock control circuit;Cascade circuit, for receiving the working state signal output by the previous stage electromagnetic door lock control circuit and the working state signal of the current electromagnetic door lock control circuit, and delivering the working state signal to the cascade circuit of the next stage electromagnetic door lock control circuit;Auxiliary output circuit, for sensing whether the electromagnetic door lock main body has a matcher close to output the proximity detection signal, and identifying whether the corresponding matcher of the electromagnetic door lock is a legal matcher, and outputting the corresponding identification detection signal;Electromagnet driving circuit, for converting the opening / closing instruction into the driving signal of the electromagnet to drive the opening / closing of the electromagnetic door lock according to the corresponding conversion;MCU master control circuit, electrically connected with the power supply circuit, cascade circuit, auxiliary output circuit and electromagnet driving circuit respectively;Wherein, the MCU master control circuit is configured to: deliver the opening / closing driving signal of the electromagnet driving circuit based on the proximity detection signal and the identification detection signal output by the auxiliary output circuit, and receive the working state signal output by the cascade circuit of the previous stage electromagnetic door lock and the working state signal of the current electromagnetic door lock and deliver to the upper computer or the cascade circuit of the next stage electromagnetic door lock.
[0021] In the principle block diagram of the electromagnetic door lock control circuit of the embodiment, at least the following parts are included: 1, MCU master control circuit: including MCU microcontroller and its peripheral circuit, the role of MCU master control circuit is responsible for the operation and control of the whole system.
[0022] 2, power supply circuit: for providing working voltage for the whole control circuit, specifically, 24V voltage and 3.3V voltage can be provided.
[0023] 2, voltage detection circuit: for monitoring whether the voltage supplied to the control circuit is stable.
[0024] 3, safety output circuit: for outputting OSSD signal to represent the working state of the current door lock. OSSD is a kind of safety output signal, which can inform the user or other equipment whether the current door lock is in normal working state.
[0025] 4, LED driving circuit: for driving LED lamp to display different working states or indicating lights.
[0026] 5、Radio Frequency Identification circuit: based on RFID (Radio Frequency Identification) principle to identify identity information and perform corresponding operations. For example, when the electromagnetic door lock is opened, the RFID module reads the matching information of the corresponding electromagnetic door lock, checks whether it is a legal matching device, and sends it to the MCU main control circuit for verification and processing.
[0027] 6、Electromagnet driving circuit: by receiving the driving signal of the MCU main control circuit to open / close, the electromagnetic driving is carried out, so that the electromagnetic door lock body and the matching device are attracted and released.
[0028] 7、Induction detection circuit: including Hall sensor and other Hall elements, which detects whether the matching device of the electromagnetic door lock is close to the outside magnetic field change, and outputs the induction signal; 8、Safety input circuit, the safety input circuit receives the working state signal sent by the safety output circuit of the previous electromagnetic door lock, which can also be called OSSD signal, and forwards it to the next control circuit, to ensure that the correct and reliable working state signal is transmitted in the whole system, and the cascade effect between the electromagnetic door locks is achieved.
[0029] The utility model also provides a kind of electromagnetic door lock control device, and electromagnetic door lock control circuit is included in electromagnetic door lock control device.
[0030] The electromagnetic door lock control circuit and device provided in the embodiment can be applied to production line, have multiple functions and advantages, not only can monitor the opening and closing state of electromagnetic door lock, ensure that the door lock of each equipment on production line works normally, but also can be controlled by cascade structure in the form of cascade control circuit, so that the host computer can detect whether there is illegal opening one or more electromagnetic door locks on production line, and abnormal signal is sent to host computer for identification in time, and operator can take corresponding measures quickly when any abnormal condition is found, to avoid production accident caused by illegal opening.
[0031] It is worth noting that although series structure is used in the cascade electromagnetic door lock circuit provided in the embodiment, each equipment has independent running function on production line. Even if one of the equipment appears abnormal or is not closed correctly, it will not affect the use of door lock of next equipment. This design architecture can not only monitor the working state of all electromagnetic door locks on whole production line, but also accurately identify whether single or multiple door locks exist abnormality or failure through host computer.
[0032] The cascade design has high reliability and safety, and is widely used in various production lines, which plays an important role. It can not only detect the electromagnetic lock state of each device in real time and alarm in time to solve the problem; it can also effectively prevent accidental opening caused by illegal operation or misoperation, and greatly improve the overall safety and reliability level. In the modern automated production environment, the electromagnetic lock control circuit and its device of the embodiment have great advantages, can provide more convenient, efficient, stable and safe and reliable operation guarantee for production and manufacturing, and play a positive role in promoting product quality and reducing accident risk.
[0033] As shown in the circuit principle diagram of the power supply circuit in FIG. 2, the power supply circuit is connected to the external power supply and provides filtering, insurance and other functions to provide working voltage for the entire control circuit. Among them, the power supply circuit provides a 3.3V voltage port and a 24V voltage port. It should be noted that the power supply circuit can include a voltage conversion circuit for converting 24V city voltage to 3.3V voltage, so as to provide a 24V voltage port and a 3.3V voltage port. In the power supply circuit, a common mode inductor L2 is included, one side of the common mode inductor L2 is connected in series with a first voltage stabilizing diode D1 and a first self-recovery fuse F1, the negative electrode of the first voltage stabilizing diode D1 is electrically connected with the common mode inductor L2, the positive electrode of the first voltage stabilizing diode D1 is connected in series with the first self-recovery fuse F1 and the power supply VCC, and further includes a second thermistor R2 and a third TVS tube D3, one end of the second thermistor R2 is connected between the first voltage stabilizing diode D1 and the first self-recovery fuse F1, and the other end is grounded, and one end of the third TVS tube D3 is connected between the first voltage stabilizing diode D1 and the first self-recovery fuse F1, and the other end is grounded.
[0034] The other side of the common mode inductor L2 includes a first capacitor C1, a second capacitor C2, a third capacitor C3 and a fifth capacitor C5, one end of the first capacitor C1 is connected between the common mode inductor L2 and the power supply circuit, the other end is electrically connected with the fifth capacitor C5, the other end of the fifth capacitor C5 is grounded, and the second capacitor C2 and the third capacitor C3 are connected in parallel, one end is electrically connected with the power supply circuit, and the other end is grounded. The power supply circuit further includes a chassis grounding circuit, the chassis grounding circuit includes a fourth capacitor C4 and a third resistor R3, the fourth capacitor C4 and the third resistor R3 are connected in parallel, one end is connected to the power supply grounding end PGND, and the other end is connected to the chassis of the device on the production line.
[0035] In the power supply circuit of the embodiment, the TVS tube has high energy discharge capacity and fast response time capacity, and can quickly conduct and ground when the power supply circuit is subjected to overvoltage or overcurrent, thereby discharging the overvoltage or overcurrent to the ground or reducing the overvoltage or overcurrent to a safe range. The zener diode realizes stable regulation of the input voltage through the reverse breakdown effect. When the input voltage exceeds the set value, the zener diode automatically starts to conduct, and the output voltage is maintained at a relatively constant level, so as to ensure that other devices using the output power supply work normally, and the zener diode can realize energy storage and release, filtering, isolation and other functions, and can filter the AC interference component on the DC signal, thereby realizing the isolation function of different electronic components.
[0036] As shown in FIG. 3, the voltage conversion circuit in the power supply circuit is used to convert 24V voltage to 3.3V voltage. The voltage conversion circuit can include a power supply chip U3. The twelfth capacitor C12 is connected in series between the BST pin and the SW pin of the power supply chip U3. The feedback input pin FB is connected between the sixteenth resistor R16 and the eighteenth resistor R18. One end of the sixteenth resistor R16 is electrically connected to the 3.3V voltage port in the power supply circuit, and the other end is electrically connected to the eighteenth resistor R18. The other end of the eighteenth resistor R18 is grounded. The ninth capacitor C9 and the tenth capacitor C10 are connected in parallel, one end of which is electrically connected to the 24V voltage port in the power supply circuit, and the other end is grounded. The voltage between the two ends of the second inductor U2 is 3.3V. One end of the seventh capacitor C7 is electrically connected to one side of the second inductor U2, and the other end is grounded. One end of the eighth capacitor C8 is electrically connected to the other side of the second inductor U2, and the other end is grounded.
[0037] In the voltage conversion circuit, the BST pin of the power supply chip U3 is the Boost switch pin, which is used to control the switching 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 supply chip U3 is the feedback input pin, which is used to monitor the output voltage and perform feedback control. Through sampling and comparison operation on 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 supply chip U3 is the switch pin, which plays a role in cutting off or conducting the power element in the boost and buck process. The SW pin can realize energy transmission and conversion function in cooperation with other elements. The VIN pin of the power supply chip U3 is the input power port, which receives the energy required for the chip to work from the external DC power supply. The VIN can be connected to different types of energy sources such as DC adapter and lithium ion battery.
[0038] As shown in Figure 4, the voltage detection circuit is electrically connected to the power supply circuit and the voltage conversion circuit. The voltage detection circuit detects 24V and 3.3V and feeds the voltage values back to the MCU to indicate whether the operating voltage is normal. The voltage detection circuit includes a 24V voltage detection circuit and a 3.3V voltage detection circuit. The 24V voltage detection circuit includes a first resistor R1, a third resistor R3, a fourth resistor R4, and a fifth capacitor C5. One end of the first resistor R1 is connected to the 24V voltage port in the power supply, and the other end is electrically connected to the fourth resistor R4. The other end of the fourth resistor R4 is grounded. The fifth capacitor C5 is connected across the four ends of the fourth resistor R4. One end of the third resistor R3 is connected between the first resistor R1 and the fourth resistor R4, and the other end is electrically connected to the 24V voltage detection pin of the MCU microcontroller. The 3.3V voltage detection circuit includes an eleventh resistor R11, a thirteenth resistor R13, a fourteenth resistor R14, and an eleventh capacitor C11. One end of the eleventh resistor R11 is connected to the 3.3V voltage port of the power supply circuit, and the other end is electrically connected to the fourteenth resistor R14. The other end of the fourteenth resistor R14 is grounded. The eleventh capacitor C11 is connected across the fourteenth resistor R14. One end of the thirteenth resistor R13 is connected between the eleventh resistor R11 and the fourteenth resistor R14, and the other end is electrically connected to the 3.3V voltage detection pin of the MCU microcontroller.
[0039] In this embodiment, the voltage detection circuit is used to detect the voltage value in the power supply circuit and feed it back to the MCU microcontroller. This embodiment provides two different detection circuits that can monitor these two different operating voltages simultaneously. By using 24V and 3.3V detection circuits, it is possible to detect whether the MCU is operating at the correct voltage, ensuring that the core controller of the electromagnetic door lock control circuit can operate under the normal operating voltage.
[0040] Figure 5 shows the circuit schematic of the RFID circuit. The RFID circuit includes an RF chip U5 and its peripheral circuitry. The peripheral circuitry includes an antenna L4 for transmitting RF signals and performing RF matching. Antenna L4 is electrically connected to the RF chip through a filtering module. It also includes a crystal oscillator module for connecting to an external crystal oscillator circuit, and a clock module for synchronous data transmission. The NPD pin of the RF chip U5 is electrically connected to a reset module. The reset module includes a 41st resistor R41 and a 39th capacitor C39. One end of the 41st resistor R41 is electrically connected to the 3.3V voltage port in the power supply circuit, and the other end is electrically connected to the 39th capacitor C39. The other end of the 39th capacitor C39 is grounded. The NPD pin of the RF chip U5 is connected between the 41st resistor R41 and the 39th capacitor C39. The TVSS pin of the RF chip U5 is grounded to discharge overcurrent. The TX1 and TX2 pins of the RF chip U5 are used to control the matching network of antenna L4, enabling better signal transmission between antenna L4 and the RFID chip and reducing reflection loss. By adjusting the voltage value on the TX1 pin, the parameters of the antenna matching network can be optimized to achieve good near-field communication.
[0041] In the RFID circuit, antenna L4 is electrically connected to multiple capacitors, inductors, and resistors, including: second inductor L2, third inductor L3, twenty-seventh capacitor C27, twenty-eighth capacitor C28, twenty-ninth capacitor C29, thirtieth capacitor C30, thirty-first capacitor C31, thirty-second capacitor C32, thirty-sixth capacitor C36, thirty-sixth resistor R36, and thirty-ninth resistor R37. One end of second inductor L2 is connected to the TX2 pin of the RFID chip, and the other end is electrically connected to one end of the twenty-seventh capacitor C27. The other end of the twenty-seventh capacitor C27 is electrically connected to one end of the thirty-sixth resistor R36, and the other end of the thirty-sixth resistor R36 is electrically connected to antenna L4. One end of third inductor L3 is electrically connected to the TX1 pin of the RFID chip U5, and the other end is electrically connected to one end of the thirty-sixth capacitor C36. The other end of the thirty-sixth capacitor C36 is electrically connected to one end of the thirty-seventh resistor R37, and the other end of the thirty-seventh resistor R37 is electrically connected to antenna L4. Multiple capacitors are connected in parallel between the series circuit formed by the second inductor L2 and the third inductor L3: the twenty-eighth capacitor C28 and the thirty-first capacitor C31 are connected in series between the second and third inductors L2 and L3; the twenty-ninth capacitor C29 and the thirty-second capacitor C32 are connected in series between the second and third inductors L2 and L3; the thirtieth capacitor C30 and the thirty-third capacitor C33 are connected in series between the series circuit formed by the second and third resistors L2 and L3; and one end of each of the twenty-eighth capacitor C28, the thirty-first capacitor C31, the twenty-ninth capacitor C29, the thirty-second capacitor C32, the thirty-tenth capacitor C30, and the thirty-third capacitor C33 is grounded.
[0042] The TVDD pin of the RF chip U5 is connected to the nineteenth capacitor C19, the twentieth capacitor C20, and the twenty-first capacitor C21 respectively. The twenty-first capacitor C21 is connected across the two ends of the twentieth capacitor C20, and one end of the nineteenth capacitor C19, the twentieth capacitor C20, and the twenty-first capacitor C21 is grounded.
[0043] The RFID_OSC_IN and RFID_OSC_OUT1 pins of the RF chip U5 are used to connect to an external oscillator X2. The RFID_OSC_IN pin receives the clock signal provided by the external oscillator and uses it as input to the internal oscillator module of the chip. This internal oscillator module generates a stable and accurate clock signal to drive the entire RF chip. The RFID_OSC_OUT1 pin outputs the clock signal generated internally to other circuit modules or electronic components in the electromagnetic door lock control circuit, enabling these circuit modules or electronic components to operate synchronously with the internal clock of the RF chip. The RFID_OSC_IN pin of the RF chip U5 is electrically connected to the 22nd capacitor C22, the other end of which is grounded. The RFID_OSC_OUT1 pin of the RF chip U5 is electrically connected to the 23rd capacitor C23, which is grounded.
[0044] The RFID_EA of the radio frequency chip U5 can switch between the 39th resistor R39 and the 40th resistor R40. One end of the 39th resistor R39 is the 3.3V voltage port in the power supply circuit, and one end of the 40th resistor R40 is grounded.
[0045] The circuit diagram of the sensing detection circuit shown in Figure 6 includes a Hall sensor U6, a first comparator U4, and a second comparator U7. The output signal terminal OUT pin of the Hall sensor U6 is electrically connected to the first comparator U4 and the second comparator U7, respectively. The Hall sensor is used to convert the detected magnetic field information into a corresponding sensing signal for output. The comparators are used to compare the input signal from the Hall sensor and generate a corresponding output according to preset conditions.
[0046] The output signal pin OUT of Hall sensor U6 is electrically connected to the Hall signal input pins of the first comparator U4 and the second comparator U7, respectively. The output pin OUT of the first comparator U4 is electrically connected to the first Hall channel HALL1. The positive input pin IN+ of the first comparator U4 is electrically connected to the output signal pin OUT of Hall sensor U6. The first comparator U4 is also electrically connected to two resistors, namely the nineteenth resistor R19 and the twenty-third resistor R23. One end of the nineteenth resistor R19 is electrically connected to the 3.3V voltage port in the power supply circuit, and the other end is electrically connected to one end of the twenty-third resistor R23. The other end of the twenty-third resistor R23 is grounded. The negative input pin IN- of the first comparator U4 is connected between the nineteenth resistor R19 and the twenty-third resistor R23.
[0047] The output pin OUT of the second comparator U7 is electrically connected to the second Hall channel HALL2. The positive input pin IN+ of the second comparator U7 is electrically connected to the output signal pin OUT of the Hall sensor U6. The second comparator U7 is also electrically connected to two resistors, namely the twenty-ninth resistor R29 and the thirty-first resistor R31. One end of the twenty-ninth resistor R29 is connected to the 3.3V voltage port in the power supply circuit, and the other end is electrically connected to the thirty-first resistor R31. The other end of the thirty-first resistor R31 is grounded. The negative input pin IN- of the second comparator U7 is connected between the thirty-first resistor R31 and the twenty-ninth resistor R29.
[0048] Figures 7, 7a, and 7b show the circuit schematics of the safety output circuit. The safety output circuit includes a first signal output circuit, a second signal output circuit, a first signal output port, and a second signal output port. The first signal output circuit has a first OSSD1_FB port, and the second signal output circuit has a second OSSD2_FB port. The function of the OSSD1_FB port and the OSSD2_FB port is to send the working status signal (OSSD signal) indicating the current working status of the electromagnetic door lock to the MCU microcontroller for self-testing, to detect whether there is voltage output, and to find out which electromagnetic door lock is not locked or has malfunctioned through the cascaded circuit, so that the host computer knows that the electromagnetic door lock of the device is not properly closed with the matching device.
[0049] The detailed circuit principle and structure of the first and second signal output circuits are described below with reference to the accompanying drawings: The first signal output circuit includes a second PNP transistor unit Q2 and an eighth NPN transistor unit Q8. The second PNP transistor unit Q2 and the eighth NPN transistor unit Q8 constitute a push-pull circuit unit. The second PNP transistor unit includes two PNP transistors: PNP transistor I and PNP transistor II. The emitter of PNP transistor I is electrically connected to the 24V voltage port in the power supply circuit, the collector of PNP transistor I is grounded, the base of PNP transistor I is electrically connected to the emitter of PNP transistor II, and the emitter of PNP transistor II is electrically connected to one end of the forty-first resistor R41. The other end of the forty-first resistor R41 is electrically connected to the 24V voltage port in the power supply circuit. The base of PNP transistor II is electrically connected to the collector of PNP transistor I, and then electrically connected to one end of the forty-third resistor R43. The other end of the forty-third resistor R43 is electrically connected to the collector of the third transistor Q3. The collector of the third transistor Q3 is electrically connected to one end of the eighth resistor R8. The other end of the eighth resistor R8 is electrically connected to the 24V voltage port in the power supply circuit. The base of the third transistor Q3 is electrically connected to one end of the forty-fifth resistor R45. The other end of the forty-fifth resistor R45 is electrically connected to the MCU microcontroller. The circuit also includes a seventy-fifth resistor R75, one end of which is connected to the 3V terminal in the power supply circuit.The 3V voltage port is electrically connected, and the other end is connected between the MCU microcontroller and the forty-fifth resistor R45; the eighth NPN transistor unit Q8 in the first signal output circuit includes two NPN transistors: NPN transistor III And NPN transistor IV, wherein the emitter of NPN transistor III is grounded, the base of NPN transistor III is electrically connected to the emitter of NPN transistor IV and then electrically connected to one end of the nineteenth resistor R19, the other end of the nineteenth resistor R19 is grounded, the collector of NPN transistor III is electrically connected to the base of NPN transistor IV and then electrically connected to one end of the forty-second resistor R42, the other end of the forty-second resistor R42 is electrically connected to the collector of fourth transistor Q4, the collector of fourth transistor Q4 is also electrically connected to one end of the thirteenth resistor R13, the other end of the thirteenth resistor R13 is electrically connected to the 24V voltage port in the power supply circuit, the base of fourth transistor Q4 is electrically connected to one end of the forty-sixth resistor R46, and the forty-sixth resistor R46... The other end is electrically connected to the MCU microcontroller, and the emitter of the fourth transistor Q4 is grounded. The collector of PNP transistor II in the second PNP transistor unit is electrically connected to the collector of NPN transistor IV in the eighth NPN transistor unit Q8, and then electrically connected to one end of a resettable fuse. The other end of the resettable fuse is electrically connected to one end of the twelfth resistor R12. The other end of the twelfth resistor R12 is electrically connected to the negative terminal of the twenty-third Zener diode D23. The positive terminal of the twenty-third Zener diode D23 is grounded. A first OSSD1_FB port is provided between the twelfth resistor R12 and the twenty-third Zener diode D23. A forty-fourth resistor R44 is connected between the first OSSD1_FB port and the positive terminal of the twenty-third Zener diode D23.
[0050] The second signal output circuit includes a ninth PNP transistor unit Q9 and a tenth NPN transistor unit Q10. These two units form a push-pull unit. The emitter of PNP transistor V in the ninth unit is electrically connected to the 24V voltage port in the power supply circuit. The base of PNP transistor V is connected to the emitter of PNP transistor VI, and then to one end of the forty-seventh resistor R47. The other end of the forty-seventh resistor R47 is also electrically connected to the 24V voltage port in the power supply circuit. The collector of PNP transistor V is connected to the base of PNP transistor VI, and then to the fiftieth unit. One end of resistor R51 is electrically connected to the collector of transistor Q12. The collector of transistor Q12 is also electrically connected to resistor R52. The other end of resistor R52 is electrically connected to the 24V voltage port in the power supply circuit. The emitter of transistor Q12 is grounded. The base of transistor Q12 is electrically connected to one end of resistor R55. The other end of resistor R55 is electrically connected to the MCU microcontroller. Resistor R73 is connected between resistor R55 and the MCU microcontroller. The other end of resistor R73 is grounded. The base of NPN transistor VII in the tenth NPN transistor unit Q10 is electrically connected to the emitter of NPN transistor VIII. The emitter of NPN transistor VII is grounded. The collector of NPN transistor VII is electrically connected to resistor R49 (49th resistor) and then to the base of NPN transistor VIII. The emitter of NPN transistor VIII is electrically connected to one end of resistor R48 (48th resistor), and the other end of resistor R48 is grounded. The other end of resistor R49 is electrically connected to the collector of transistor Q11 (11th transistor). The collector of transistor Q11 is electrically connected to one end of resistor R50 (50th resistor), and the other end of resistor R50 is electrically connected to the 24V voltage port in the power supply circuit. The emitter of transistor Q11 is grounded. The base of transistor Q11 is electrically connected to one end of resistor R56 (56th resistor), and the other end of resistor R56 is electrically connected to the MCU microcontroller. A resistor R74 (74th resistor) is connected between the MCU microcontroller and resistor R56 (56th resistor), and the other end of resistor R74 is grounded.The collector of PNP transistor VI is electrically connected to the collector of NPN transistor VIII. One end of the eleventh resettable fuse F11 is connected between the collectors of PNP transistor VI and NPN transistor VIII, and the other end of the eleventh resettable fuse F11 is electrically connected to the fifty-third resistor R53. A twenty-fourth Zener diode D24 and a twenty-fifth Zener diode D25 are positioned between the other end of the eleventh resettable fuse F11 and the fifty-third resistor R53. The negative terminal of the twenty-fourth Zener diode D24 is connected to the power supply. The 24V voltage port in the circuit is electrically connected. The positive terminal of the 24th Zener diode D24 is electrically connected to the negative terminal of the 25th Zener diode D25. The positive terminal of the 25th Zener diode D25 is connected between the 48th resistor R48 and ground. The other end of the 53rd resistor R53 is connected to the second OSSD2_FB port. The negative terminal of the 26th Zener diode D26 is electrically connected to the 53rd resistor R53. The positive terminal of the 26th Zener diode D26 is grounded. The 54th resistor R54 is connected across the two ends of the 26th Zener diode D26. The circuit principle of the safety input circuit shown in Figure 8 includes a first signal input circuit and a second signal input circuit. The first signal input circuit is equipped with a first optocoupler U1. The collector of the phototransistor in the first optocoupler U1 is the first safety input terminal SAFE_INPUT_1. The emitter of the phototransistor in the first optocoupler U1 is grounded. The positive terminal of the light-emitting diode of the first optocoupler U1 is connected in series with the seventh resistor R7 and the first resettable fuse F1. The negative terminal of the light-emitting diode of the first optocoupler U1 is grounded. A ninth resistor R9 is connected between the positive and negative terminals of the light-emitting diode of the first optocoupler U1. The first signal input circuit is also equipped with a fifth TVS diode D5. One end of the fifth TVS diode D5 is connected between the seventh resistor R7 and the second resettable fuse F2, and the other end of the fifth TVS diode D5 is grounded. The second signal input circuit includes a second optocoupler U2. The collector of the phototransistor in the second optocoupler U2 is the second safety input terminal SAFE_INPUT_2. The emitter of the phototransistor in the second optocoupler U2 is grounded. The positive terminal of the LED in the second optocoupler U2 is connected in series with the fifteenth resistor R15 and the fifth resettable fuse F5. The negative terminal of the LED in the second optocoupler U2 is grounded. An eighteenth resistor R18 is connected between the positive and negative terminals of the LED in the second optocoupler U2. The second signal input circuit also includes a ninth TVS diode D9. One end of the ninth TVS diode D9 is connected between the fifth resettable fuse F5 and the fifteenth resistor R15, and the other end of the ninth TVS diode D9 is grounded.
[0051] The safety input circuit composed of the above circuit structure can protect the electromagnetic door lock. In case of abnormal conditions such as overvoltage or overcurrent, the TVS diode will discharge the overcurrent to the ground to ensure that the electronic components in the circuit are not damaged.
[0052] In some embodiments, as shown in Figure 9, the auxiliary output circuit and locking input circuit, also known as the auxiliary output line, output high and low voltage levels to external devices, such as LED warning lights, buzzers, or other warning devices. The auxiliary output line can also be connected to a host computer, allowing the host computer to detect any abnormalities in the electromagnetic door lock. It should be noted that the electromagnetic door lock outputs 0V when operating normally and 24V when an abnormality occurs.
[0053] Specifically, the aforementioned auxiliary output circuit may include a fifth optocoupler U5, a fifth transistor Q5, and a seventh MOSFET. The collector of the phototransistor in the fifth optocoupler U5 serves as the adapter terminal for the auxiliary output circuit. The emitter of the phototransistor in the fifth optocoupler U5 is grounded. The anode of the LED in the fifth optocoupler U5 is electrically connected to one end of the thirty-fifth resistor R35. The cathode of the LED in the fifth optocoupler U5 is connected in series with the thirty-sixth resistor R36 and then grounded. The collector of the fifth transistor Q5 is electrically connected to the other end of the thirty-fifth resistor R35. The emitter of the fifth transistor Q5 is electrically connected to the 24V voltage port in the power supply circuit. The base of the fifth transistor Q5 is connected in series with the thirty-second resistor R32 and the ninth resettable fuse F9. One end of the eighteenth TVS diode D18 is connected to the thirty-second resistor R32 and the ninth resettable fuse F9. Between the self-resetting fuses F9, one end is grounded. The positive terminal of the sixteenth diode D16 is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9, and the negative terminal is electrically connected to the emitter of the fifth transistor Q5. One end of the thirty-eighth resistor R38 is electrically connected to the emitter of the fifth transistor Q5, and the other end is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9. The positive terminal of the nineteenth diode D19 is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9, and the negative terminal of the nineteenth diode D19 is connected to the drain of the seventh MOSFET Q7. The gate of the seventh MOSFET Q7 is the control terminal AUX_CTL of the auxiliary output circuit. The gate of the seventh MOSFET Q7 is electrically connected to one end of the thirty-seventh resistor R37, and the other end of the thirty-seventh resistor R37 is grounded. The source of the seventh MOSFET Q7 is grounded.
[0054] In some embodiments, as shown in FIG9, the input terminal LOCK_IN of the locking input circuit is electrically connected to the host computer, and the output terminal LOCK of the locking input circuit is electrically connected to the MCU main control circuit. The locking input circuit is used to receive the unlocking signal or locking signal sent by the host computer and send it to the MCU main control circuit to control the unlocking or locking of the electromagnetic door lock accordingly.
[0055] The aforementioned locking input circuit can also be called the locking input line. When identification fails and the matching unit outputs a 24V voltage, the locking input circuit is connected to a 24V voltage, and the electromagnet remains locked. When the matching unit outputs a 0V voltage or is in a floating state, the electromagnet is de-energized, the electromagnetic door lock no longer has a holding force, and no longer maintains the locked state.
[0056] Specifically, the aforementioned locking input circuit includes a third optocoupler U3. The collector of the phototransistor in the third optocoupler U3 serves as the locking terminal of the auxiliary output circuit. The emitter of the phototransistor is grounded. The positive terminal of the LED in the third optocoupler U3 is connected in series with the 25th resistor R23 and the 8th resettable fuse F8. A 26th resistor R26 is connected across the positive and negative terminals of the LED in the third optocoupler U3. The locking input circuit also includes a 14th TVS diode D14. One end of the 14th TVS diode D14 is connected between the 25th resistor R25 and the 8th resettable fuse F8, and the other end is grounded. By setting up the locking input circuit, it can receive unlocking or locking commands from the host computer and send them to the MCU main control circuit. The MCU main control circuit then sends the unlocking or locking commands to the electromagnet drive circuit through internal logic judgment, thereby controlling the opening / closing of the electromagnet. In this way, the operator can manually control the opening and closing of the electromagnetic door lock, improving the flexibility of use.
[0057] The circuit principle of the electromagnet drive circuit shown in Figure 10 includes an N-channel enhancement-mode field-effect transistor (EMT) chip Q6. The drain of the N-channel EMT chip Q6 is connected to the ETM_PWM terminal in the electromagnet drive circuit, and the gate of the N-channel EMT chip Q6 is connected to the ETM_CHECK terminal of the electromagnet drive circuit. The ETM_PWM terminal and the ETM_CHECK terminal are connected to the MCU main control circuit. The MCU microcontroller sends instructions to control the N-channel EMT chip Q6. The control electromagnetic drive circuit is mainly used to drive the electromagnetic door lock body and can control the attraction force with the matching device, thereby realizing opening / closing.
[0058] As shown in Figure 11, as a further improvement to this utility model, it may also include an LED driver circuit and an LED circuit. The LED driver circuit and the LED circuit are used to control the color of the LED of the electromagnetic door lock. When the working status signals of the previous electromagnetic door lock to N door locks are all output in the ON state, and the device connected to the host computer is error-free, the LED connected to the host computer will turn green; otherwise, it will be blue. It can be understood that the LED driver circuit is electrically connected to the MCU main control circuit. When controlling the state of the LED (flickering / constant light): it is determined by the locking input circuit and the auxiliary output line, and a corresponding signal is sent to the MCU main control circuit. At this time, the MCU main control circuit then sends an LED drive signal to the LED driver circuit so that the LED circuit responds accordingly. For example, if the first machine is in the locking cascade / linkage mode, the door is closed but not locked, and the LED is in a flashing state. It should be noted that the LED driver circuit and the LED circuit are common circuits, and their specific structures and connections will not be described in detail here.
[0059] As shown in Figure 12, the overall structure of the electromagnetic door lock includes an electromagnet 1 and a matching device 2. Through the cooperation between the electromagnet 1 and the matching device 2, combined with the electromagnetic door lock control circuit and cascade circuit provided by this utility model, reasonable configuration and control can be carried out to detect the legality of opening and closing of the door on the production line.
[0060] Figure 13 shows a block diagram of a cascaded electromagnetic door lock control circuit. In this diagram, machines 1 through N on the production line are electrically connected to the electromagnetic door lock control circuit disclosed in this embodiment, forming a cascaded electromagnetic door lock control circuit. Adjacent machines send corresponding operating status signals to the safety input circuit of the next-level electromagnetic door lock through a safety output circuit. The safety input circuit of the next-level electromagnetic door lock control circuit receives the operating status signals sent by the previous-level control circuit. The operating status signals indicate the current operating status of the electromagnetic door lock, thus forming a cascaded control system to detect which machine on the production line is illegally opening the electromagnetic door lock, preventing safety accidents caused by illegal opening of the electromagnetic door lock.
[0061] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art and should not be interpreted in an idealized or overly formal sense unless specifically defined.
[0062] It should be noted that certain terms are used in this specification and claims to refer to specific elements. Those skilled in the art will understand that different manufacturers or producers may use different terms to refer to the same element. This specification and claims do not distinguish elements based on differences in terminology, but rather on differences in function.
[0063] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this specification.
[0064] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this invention and form different embodiments. For example, any one of the embodiments claimed in the claims can be used in any combination of embodiments of this invention.
[0065] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the corresponding claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the corresponding claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.
Claims
1. An electromagnetic door lock control circuit applied to an electromagnetic door lock, characterized by, include: The power supply circuit is used to provide the operating voltage for the entire electromagnetic door lock control circuit; A cascaded circuit is used to receive the working status signal output by the electromagnetic door lock control circuit of the previous stage and the working status signal of the current electromagnetic door lock control circuit, and to transmit the working status signal to the cascaded circuit of the next stage electromagnetic door lock control circuit. The sensing and identification circuit is used to sense whether a matching device is approaching the electromagnetic door lock body to output a sensing and detection signal, and to identify whether the matching device corresponding to the electromagnetic door lock is a valid matching device and output the corresponding sensing and detection signal. An electromagnet drive circuit is used to convert the unlocking / locking command into a corresponding drive signal for the electromagnet to drive the electromagnetic door lock to open / close accordingly. The MCU main control circuit is electrically connected to the power supply circuit, cascade circuit, sensing and identification circuit, and electromagnet drive circuit, respectively. The MCU main control circuit is configured to: transmit unlocking / locking drive signals to the electromagnet drive circuit based on the sensing detection signal and the identification detection signal output by the sensing and identification circuit; and receive the operating status signal output by the cascade circuit of the previous-level electromagnetic door lock and the operating status signal of the current electromagnetic door lock, and transmit them to the host computer or the cascade circuit of the next-level electromagnetic door lock.
2. The electromagnetic door lock control circuit of claim 1, wherein, The cascaded circuit includes: A safety input circuit, the input terminal of which is electrically connected to the safety output circuit of the previous electromagnetic door lock control circuit, the safety input circuit is used to receive the working status signal of the previous electromagnetic door lock control circuit and send it to the MCU main control circuit; The safety output circuit has its input terminal electrically connected to the MCU main control circuit. The safety output circuit is used to transmit the corresponding working status signal output by the MCU main control circuit to the host computer or the signal input circuit of the next level electromagnetic door lock.
3. The electromagnetic door lock control circuit of claim 2, wherein, The safety input circuit includes a first signal input circuit and a second signal input circuit. The first signal input circuit includes a first optocoupler. The collector of the phototransistor in the first optocoupler is the first safety input terminal. The emitter of the phototransistor in the first optocoupler is grounded. The positive terminal of the light-emitting diode of the first optocoupler is connected in series with a seventh resistor and a second resettable fuse. The negative terminal of the light-emitting diode of the first optocoupler is grounded. A ninth resistor is connected between the positive and negative terminals of the light-emitting diode of the first optocoupler. The first signal input circuit also includes a fifth TVS diode. One end of the fifth TVS diode is connected between the seventh resistor and the second resettable fuse, and the other end is grounded. The second signal input circuit is provided with a second photoelectric coupler, a collector of a photosensitive triode in the second photoelectric coupler is a second safety input end, an emitter of the photosensitive triode in the second photoelectric coupler is grounded, a positive electrode of a light-emitting diode of the second photoelectric coupler is connected with a fifteenth resistor and a fifth self-resetting fuse in series, a negative electrode of the light-emitting diode of the second photoelectric coupler is grounded, an eighteenth resistor is connected between the positive and negative electrodes of the light-emitting diode of the second photoelectric coupler in cross, and a ninth TVS tube is further arranged in the second signal input circuit, one end of the ninth TVS tube is connected between the fifth self-resetting fuse and the fifteenth resistor, and the other end of the ninth TVS tube is grounded.
4. The electromagnetic door lock control circuit of claim 2, wherein, The safety output circuit comprises a first signal output circuit and a second signal output circuit, and the first signal output circuit and the second signal output circuit are both provided with a push-pull unit, wherein: The first signal output circuit comprises a second PNP triode unit and an eighth NPN triode unit, and the second PNP triode unit and the eighth NPN triode unit constitute a push-pull circuit unit, wherein the second PNP triode unit comprises two PNP triodes, namely PNP triode I and PNP triode II, an emitter of the PNP triode I is connected with the power supply circuit, a collector of the PNP triode I is grounded, a base of the PNP triode I is connected with an emitter of the PNP triode II, an emitter of the PNP triode II is connected with one end of a forty-first resistor, the other end of the forty-first resistor is connected with the power supply circuit, a base of the PNP triode II is connected with a collector of the PNP triode I and then connected with one end of a forty-third resistor, the other end of the forty-third resistor is connected with a collector of a third triode, the collector of the third triode is connected with one end of an eighth resistor, the other end of the eighth resistor is connected with the power supply circuit, a base of the third triode is connected with one end of a forty-fifth resistor, the other end of the forty-fifth resistor is connected with an MCU microcontroller, and a seventy-fifth resistor is further connected with the power supply circuit at one end and connected between the MCU microcontroller and the forty-fifth resistor at the other end; The eighth NPN transistor unit in the first signal output circuit includes two NPN transistors: NPN transistor III and NPN transistor IV, wherein the emitter of the NPN transistor III is grounded, the base of the NPN transistor III is electrically connected to the emitter of the NPN transistor IV and then electrically connected to one end of the nineteenth resistor, the other end of the nineteenth resistor is grounded, the collector of the NPN transistor III is electrically connected to the base of the NPN transistor IV and then electrically connected to one end of the forty-second resistor, the other end of the forty-second resistor is electrically connected to the collector of the fourth transistor, the collector of the fourth transistor is also electrically connected to one end of the thirteenth resistor, the other end of the thirteenth resistor is electrically connected to the power supply circuit, the base of the fourth transistor is electrically connected to one end of the forty-sixth resistor, the other end of the forty-sixth resistor is electrically connected to the MCU microcontroller, and the emitter of the fourth transistor is grounded; The collector of the PNP transistor II in the second PNP transistor unit is electrically connected to the collector of the NPN transistor IV in the eighth NPN transistor unit and then electrically connected to one end of a self-resetting fuse, the other end of the self-resetting fuse is electrically connected to one end of the twelfth resistor, the other end of the twelfth resistor is electrically connected to the negative electrode of the twenty-third stable voltage diode, the positive electrode of the twenty-third stable voltage diode is grounded, a first OSSD1_FB port is arranged between the twelfth resistor and the twenty-third stable voltage diode, and a forty-fourth resistor is connected in cross between the first OSSD1_FB port and the positive electrode of the twenty-third stable voltage diode.
5. The electromagnetic door lock control circuit of claim 4, wherein, The second signal output circuit includes a ninth PNP transistor unit and a tenth NPN transistor unit, and the ninth PNP transistor unit and the tenth NPN transistor unit constitute a push-pull unit, the emitter of the PNP transistor V in the ninth PNP transistor unit is electrically connected to the power supply circuit, the base of the PNP transistor V is electrically connected to the emitter of the PNP transistor VI and then electrically connected to one end of the forty-seventh resistor, the other end of the forty-seventh resistor is electrically connected to the power supply circuit, the collector of the PNP transistor V is electrically connected to the base of the PNP transistor VI and then electrically connected to one end of the fifty-first resistor, the other end of the fifty-first resistor is electrically connected to the collector of the twelfth transistor, the collector of the twelfth transistor is also electrically connected to the fifty-second resistor, the other end of the fifty-second resistor is electrically connected to the power supply circuit, the emitter of the twelfth transistor is grounded, the base of the twelfth transistor is electrically connected to one end of the fifty-fifth resistor, the other end of the fifty-fifth resistor is electrically connected to the MCU microcontroller, a seventy-third resistor is connected between the fifty-fifth resistor and the MCU microcontroller, and the other end of the seventy-third resistor is grounded; The base electrode of the tenth NPN transistor unit NPN transistor VII is electrically connected with the emitter electrode of the NPN transistor VIII, the emitter electrode of the NPN transistor VII is grounded, the collector electrode of the NPN transistor VII is electrically connected with the fourth forty-ninth resistor and then electrically connected with the base electrode of the NPN transistor VIII, the emitter electrode of the NPN transistor VIII is electrically connected with one end of the fourth forty-eighth resistor, the other end of the fourth forty-eighth resistor is grounded, the other end of the fourth forty-ninth resistor is electrically connected with the collector electrode of the eleventh transistor, the collector electrode of the eleventh transistor is electrically connected with one end of the fifth zero resistor, the other end of the fifth zero resistor is electrically connected with the power supply circuit, the emitter electrode of the eleventh transistor is grounded, the base electrode of the eleventh transistor is electrically connected with one end of the fifth sixty-sixth resistor, the other end of the fifth sixty-sixth resistor is electrically connected with the MCU microcontroller, the seventh forty-fourth resistor is connected between the MCU microcontroller and the fifth sixty-sixth resistor, and the other end of the seventh forty-fourth resistor is grounded. The collector electrode of the PNP transistor VI is electrically connected with the collector electrode of the NPN transistor VIII, one end of the eleventh self-resetting fuse is connected between the collector electrode of the PNP transistor VI and the collector electrode of the NPN transistor VIII, the other end of the eleventh self-resetting fuse is electrically connected with the fifth fifty-third resistor, the twenty-fourth voltage stabilizer and the twenty-fifth voltage stabilizer are arranged between the other end of the eleventh self-resetting fuse and the fifth fifty-third resistor, the negative electrode of the twenty-fourth voltage stabilizer is electrically connected with the power supply circuit, the positive electrode of the twenty-fourth voltage stabilizer is electrically connected with the negative electrode of the twenty-fifth voltage stabilizer, the positive electrode of the twenty-fifth voltage stabilizer is connected between the fourth forty-eight resistor and the ground, the other end of the fifth fifty-third resistor is connected with the second OSSD2_FB port, the negative electrode of the twenty-sixth voltage stabilizer is electrically connected with the fifth fifty-third resistor, the positive electrode of the twenty-sixth voltage stabilizer is grounded, and the fifth fifty-fourth resistor is connected across the two ends of the twenty-sixth voltage stabilizer.
6. The electromagnetic door lock control circuit of claim 1, wherein, The inductive identification circuit comprises: The inductive detection circuit is electrically connected with the MCU main control circuit, and is used for detecting whether the matcher of the electromagnetic door lock is close to the electromagnetic main body and outputting a proximity detection signal to the MCU main control circuit. The radio frequency identification circuit is electrically connected with the MCU main control circuit, and is used for identifying whether the matcher of the electromagnetic door lock has a legal electronic tag and outputting a radio frequency identification signal to the MCU main control circuit.
7. The electromagnetic door lock control circuit of claim 6, wherein, The inductive detection circuit comprises a Hall sensor, a first comparator and a second comparator, the output signal end OUT pin of the Hall sensor is electrically connected with the first comparator and the second comparator respectively, the Hall sensor is used for converting the detected magnetic field information into a corresponding electrical signal for output, and the comparator is used for comparing the input signal from the Hall sensor and generating a corresponding output according to a preset condition.
8. The electromagnetic door lock control circuit of claim 6, wherein, The radio frequency identification circuit comprises a radio frequency chip and a peripheral circuit thereof, the peripheral circuit comprises an RFID antenna used for transmitting a radio frequency signal for radio frequency matching, the RFID antenna is electrically connected with the radio frequency chip through a filtering module, further comprises a crystal oscillator module used for connecting an external crystal oscillator circuit, and a clock module used for synchronous data transmission.
9. The electromagnetic door lock control circuit of claim 1, wherein, Also include: The electromagnet driving circuit includes an N-channel enhancement mode field effect transistor chip, the drain of the N-channel enhancement mode field effect transistor chip is connected to the ETM_PWM end in the electromagnet driving circuit, the gate of the N-channel enhancement mode field effect transistor chip is connected to the ETM_CHECK end of the electromagnet driving circuit, and the ETM_PWM end and the ETM_CHECK end are connected with the MCU master circuit, and the N-channel enhancement mode field effect transistor chip is controlled by sending instructions through the MCU microcontroller. The auxiliary output circuit is electrically connected with the MCU master circuit, and is used for outputting high / low level signals to external warning equipment or a host computer according to the opening / closing state of the electromagnetic door lock. The locking input circuit is electrically connected with the host computer, and the output end of the locking input circuit is electrically connected with the MCU master circuit, and the locking input circuit is used for receiving the opening signal or the closing signal sent by the host computer and transmitting the signal to the MCU master circuit to control the opening or closing of the electromagnetic door lock.
10. An electromagnetic door lock control device characterized by comprising: The electromagnetic door lock control device is provided with the electromagnetic door lock control circuit in any one of claims 1 to 9.
Citation Information
Patent Citations
Intelligent door control system
CN106761130A
Monitoring door miscarriage prevention system based on electronic entrance guard
CN112037370A
Electromagnetic valve anti-misoperation locking device and electromagnetic valve control system
CN214466468U
Cascade electric control circuit of electronic door lock
CN218957199U
Electromagnetic door lock control circuit and device thereof
CN222976590U