Electromagnetic door lock control circuit and device thereof
By designing electromagnetic door lock control circuits, including power supply, cascade, induction recognition, electromagnet drive and MCU main control circuits, the problem of cascade control and matching recognition of multiple devices in the prior art is solved, and automated detection and control of electromagnetic door locks in the production line is realized, and the safety and reliability of the production line are improved.
Patent Information
- Application Number
- CN202421868177.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2034-08-02
AI Technical Summary
The existing technology lacks electromagnetic door locks and control circuits suitable for domestic enterprise production lines, and cannot realize cascading control, matching identification, control opening and locking functions of multiple devices, and cannot meet the needs of automated inspection and safety monitoring of production lines.
An electromagnetic door lock control circuit is designed, including a power supply circuit, a cascade circuit, an induction recognition circuit, an electromagnetic drive circuit and an MCU main control circuit. Through a cascade structure, a legal matcher is identified, and a driving signal is output to control the opening and closing of the electromagnetic door lock.
It realizes automatic detection and control of electromagnetic door locks on the production line, can monitor the opening and closing status of multiple electromagnetic door locks in real time, identify illegal opening situations, and report abnormal signals to the upper computer through cascade control circuits, improving the safety and reliability of the production line.
Smart Images

Figure CN222976590U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a control circuit and its device, in particular to an electromagnetic door lock control circuit and its device. Background Art
[0002] At present, there are relatively few domestic manufacturers of electromagnetic door locks in the industrial field. Although there may be existing technologies in related fields abroad, they may not be suitable for the actual application requirements of domestic enterprise production lines. The electromagnetic door locks in the industrial field are different from traditional civilian door locks. An electromagnetic door lock usually consists of a control electromagnet and a matcher. One is installed on the door and the other is installed on the door frame. Under the action of electromagnetic induction, the control electromagnet and the matcher can generate a force of 1300N. 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 upper computer) in real time, so that the equipment can avoid workers being accidentally injured by machines due to illegal door opening during the working state.
[0003] In order to solve the problems existing in the above-mentioned prior art, a control circuit is needed that can be applied to the production line to cascade-control the electromagnetic door locks of multiple devices and can also identify whether the opening and closing of the electromagnetic door lock is a legal match or an illegal match. However, there is still a lack of electromagnetic door locks and corresponding control circuits suitable for domestic enterprise production lines in the prior art, and functions such as match recognition, control of opening and locking cannot be realized through the cascade function, which can no longer meet people's requirements and urgently need to be improved. Summary of the Utility Model
[0004] The purpose of the utility model is to provide an electromagnetic door lock control circuit and its device. The first technical problem to be solved is to realize the automatic detection and control of electromagnetic door locks on the production line. The second technical problem to be solved is to detect the illegal opening of multiple electromagnetic door locks on the production line one by one. Finally, a product that can realize the automatic and intelligent monitoring of the safety status of the production line is provided to solve the deficiencies existing in the prior art.
[0005] The utility model provides the following solutions:
[0006] An electromagnetic door lock control circuit, applied to an electromagnetic door lock, includes:
[0007] A power supply circuit for providing a working voltage for the entire electromagnetic door lock control circuit;
[0008] A cascade circuit for receiving the working state signal output by the electromagnetic door lock control circuit of the previous stage and the working state signal of the current electromagnetic door lock control circuit, and sending the working state signal to the cascade circuit of the electromagnetic door lock control circuit of the next stage;
[0009] An induction and identification circuit is used to sense whether a matcher approaches the electromagnetic door lock body to output an induction detection signal, and to identify whether the corresponding matcher of the electromagnetic door lock is a legal matcher, and output a corresponding induction detection signal;
[0010] An electromagnet drive circuit is used to convert into a drive signal for the electromagnet according to the unlocking / locking instruction to correspondingly drive the opening / closing of the electromagnetic door lock;
[0011] The MCU main control circuit is electrically connected to the power supply circuit, the cascade circuit, the induction and identification circuit, and the electromagnet drive circuit respectively; wherein, the MCU main control circuit is configured to: convey an unlocking / locking drive signal to the electromagnet drive circuit based on the induction detection signal and the identification detection signal output by the induction and identification circuit, and to receive the working state signal output by the cascade circuit of the upper-level electromagnetic door lock and the working state signal of the current electromagnetic door lock and convey them to the host computer or the cascade circuit of the lower-level electromagnetic door lock.
[0012] Further, the cascade circuit includes:
[0013] A safety input circuit, whose input end is electrically connected to the safety output circuit of the control circuit of the upper-level electromagnetic door lock, and the safety input circuit is used to receive the working state signal of the control circuit of the upper-level electromagnetic door lock and convey it to the MCU main control circuit;
[0014] A safety output circuit, whose input end is electrically connected to the MCU main control circuit, and the safety output circuit is used to convey the corresponding working state signal output by the MCU main control circuit to the host computer or the signal input circuit of the lower-level electromagnetic door lock.
[0015] Further, the safety input circuit includes a first signal input circuit and a second signal input circuit. A first optocoupler is provided in the first signal input circuit. The collector of the photosensitive triode in the first optocoupler is the first safety input end. The emitter of the photosensitive triode in the first optocoupler is grounded. The positive pole of the light-emitting diode in the first optocoupler is connected in series with a seventh resistor and a second self-resetting fuse. The negative pole of the light-emitting diode in the first optocoupler is grounded. A ninth resistor is connected across the positive and negative poles of the light-emitting diode in the first optocoupler. A fifth TVS tube is also provided 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 is grounded;
[0016] A second opto-coupler is provided in the second signal input circuit. The collector of the photosensitive triode in the second opto-coupler is the second safety input terminal. The emitter of the photosensitive triode in the second opto-coupler is grounded. The positive electrode of the light-emitting diode in the second opto-coupler is connected in series with the fifteenth resistor and the fifth self-recovery fuse. The negative electrode of the light-emitting diode in the second opto-coupler is grounded. An eighteenth resistor is connected across the positive and negative electrodes of the light-emitting diode in the second opto-coupler. A ninth TVS tube is also provided in the second signal input circuit. One end of the ninth TVS tube is connected between the fifth self-recovery fuse and the fifteenth resistor, and the other end of the ninth TVS tube is grounded.
[0017] Further, the safety output circuit includes: a first signal output circuit and a second signal output circuit. Push-pull units are provided in both the first signal output circuit and the second signal output circuit, where:
[0018] The first signal output circuit includes a second PNP triode unit and an eighth NPN triode unit. The second PNP triode unit and the eighth NPN triode unit form a push-pull circuit unit. The second PNP triode unit includes two PNP-type triodes: PNP-type triode Ⅰ and PNP-type triode Ⅱ. The emitter of PNP-type triode Ⅰ is electrically connected to the power supply circuit. The collector of PNP-type triode Ⅰ is grounded. The base of PNP-type triode Ⅰ is electrically connected to the emitter of PNP-type triode Ⅱ. The emitter of PNP-type triode Ⅱ is electrically connected to one end of the forty-first resistor. The other end of the forty-first resistor is electrically connected to the power supply circuit. The base of PNP-type triode Ⅱ is electrically connected to the collector of PNP-type triode Ⅰ and then to one end of the forty-third resistor. The other end of the forty-third resistor is electrically connected to the collector of the third triode. The collector of the third triode is electrically connected to one end of the eighth resistor. The other end of the eighth resistor is electrically connected to the power supply circuit. The base of the third triode is electrically connected to one end of the forty-fifth resistor. The other end of the forty-fifth resistor is electrically connected to the MCU microcontroller. A seventy-fifth resistor is also included. One end of the seventy-fifth resistor is connected to the power supply circuit, and the other end is connected between the MCU microcontroller and the forty-fifth resistor;
[0019] The eighth NPN transistor unit in the first signal output circuit includes two NPN transistors: NPN transistor III and NPN transistor IV. 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. The other end of the nineteenth resistor 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. 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. The emitter of the fourth transistor is grounded;
[0020] 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 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 zener diode. The positive electrode of the twenty-third zener diode is grounded. A first OSSD1_FB port is provided between the twelfth resistor and the twenty-third zener diode. A forty-fourth resistor is connected in parallel between the first OSSD1_FB port and the positive electrode of the twenty-third zener diode.
[0021] 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 form a push-pull unit. The emitter of PNP transistor V in the ninth PNP transistor unit is electrically connected to the power supply circuit. The base of PNP transistor V is electrically connected to the emitter of 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 PNP transistor V is electrically connected to the base of 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. The other end of the seventy-third resistor is grounded;
[0022] The base of the NPN transistor Ⅶ of the tenth NPN transistor unit is electrically connected to the emitter of the NPN transistor Ⅷ. The emitter of the NPN transistor Ⅶ is grounded. The collector of the NPN transistor Ⅶ is electrically connected to the forty-ninth resistor and then to the base of the NPN transistor Ⅷ. The emitter of the NPN transistor Ⅷ is electrically connected to 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 to the collector of the eleventh transistor. The collector of the eleventh transistor is electrically connected to one end of the fiftieth resistor. The other end of the fiftieth resistor is electrically connected to the power supply circuit. The emitter of the eleventh transistor is grounded. The base of the eleventh transistor is electrically connected to one end of the fifty-sixth resistor. The other end of the fifty-sixth resistor is electrically connected to the MCU microcontroller. A seventy-fourth resistor is connected between the MCU microcontroller and the fifty-sixth resistor. The other end of the seventy-fourth resistor is grounded;
[0023] The collector of the PNP transistor Ⅵ is electrically connected to the collector of the NPN transistor Ⅷ. One end of the eleventh self-resetting fuse is connected between the collector of the PNP transistor Ⅵ and the collector of the NPN transistor Ⅷ. The other end of the eleventh self-resetting fuse is electrically connected to the fifty-third resistor. A twenty-fourth voltage regulator tube and a twenty-fifth voltage regulator tube 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 regulator tube is electrically connected to the power supply circuit. The positive electrode of the twenty-fourth voltage regulator tube is electrically connected to the negative electrode of the twenty-fifth voltage regulator tube. The positive electrode of the twenty-fifth voltage regulator tube is connected between the forty-eighth resistor and the ground. The other end of the fifty-third resistor is connected to the second OSSD2_FB port. The negative electrode of the twenty-sixth voltage regulator tube is electrically connected to the fifty-third resistor. The positive electrode of the twenty-sixth voltage regulator tube is grounded. A fifty-fourth resistor is connected across the two ends of the twenty-sixth voltage regulator tube.
[0024] Further, the induction recognition circuit includes:
[0025] An induction detection circuit, whose output end is electrically connected to the MCU main control circuit. The induction detection circuit is used to detect whether the matcher of the electromagnetic lock is close to the electromagnetic main body and output a proximity detection signal to the MCU main control circuit;
[0026] A radio frequency identification circuit, whose output end is electrically connected to the MCU main control circuit. The radio frequency identification circuit is used to identify whether the matcher of the electromagnetic lock has a legal electronic tag and send out a radio frequency identification signal to the MCU main control circuit.
[0027] Further, the induction detection circuit includes a Hall sensor, a first comparator, and a second comparator. The output signal terminal OUT pin of the Hall sensor is electrically connected to the first comparator and the second comparator respectively. The Hall sensor is used to convert the detected magnetic field information into corresponding electrical signals for output. The comparator is used to compare the input signals from the Hall sensor and generate corresponding outputs according to preset conditions.
[0028] Further, the radio frequency identification circuit includes a radio frequency chip and its peripheral circuit. The peripheral circuit includes an RFID antenna for transmitting radio frequency signals for radio frequency matching. The RFID antenna is electrically connected to the radio frequency 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.
[0029] Further, it also includes an electromagnet drive circuit: including 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 terminal in the electromagnet drive circuit. The gate of the N-channel enhancement-mode field effect transistor chip 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. Instructions are sent through the MCU microcontroller to control the N-channel enhancement-mode field effect transistor chip.
[0030] The auxiliary output circuit. The input end of the auxiliary output circuit is electrically connected to the MCU main control circuit. The auxiliary output circuit is used to output high / low level signals to external warning devices or the upper computer according to the open / closed state of the electromagnetic door lock.
[0031] The lock input circuit. The input end of the lock input circuit is electrically connected to the upper computer. The output end of the lock input circuit is electrically connected to the MCU main control circuit. The lock input circuit is used to receive the unlock signal or lock signal sent by the upper computer and transmit it to the MCU main control circuit to correspondingly control the unlocking or locking of the electromagnetic door lock.
[0032] An electromagnetic door lock control device, in which the above-mentioned electromagnetic door lock control circuit is provided.
[0033] The present utility model has the following advantages compared with the prior art:
[0034] In the electromagnetic door lock circuit provided by the present utility model, an MCU main control circuit is provided, which can respectively control the power supply circuit, the cascaded circuit, the induction recognition circuit and the electromagnet drive circuit. By receiving the working state signal output by the electromagnetic door lock control circuit of the previous level and the working state signal of the current electromagnetic door lock control circuit, and then sending the working state signal to the cascaded circuit of the electromagnetic door lock control circuit of the next level, then sensing whether there is a matcher approaching the electromagnetic door lock main body to output an induction detection signal, and identifying whether the matcher corresponding to the electromagnetic door lock is a legal matcher, and outputting a corresponding induction detection signal, and converting it into a drive signal for the electromagnet according to the unlocking / locking instruction to correspondingly drive the opening / closing of the electromagnetic door lock, it can detect the opening and closing of the electromagnetic door lock, and can also detect whether one or more electromagnetic door locks on the production line are illegally opened in the way of a cascaded control circuit through a series structure, and send an abnormal signal to the upper computer for identification, so that the upper computer knows which device's electromagnetic door lock is not closed or faulty, preventing production accidents caused by the illegal opening of the electromagnetic door lock.
[0035] The electromagnetic door lock circuit provided by the present utility model can be applied to the production line. By real-time detecting the electromagnetic door locks of the devices on the production line, it can prevent production accidents caused by the illegal or incorrect operation leading to the opening of the electromagnetic door lock, and improve the overall safety and reliability of the production line. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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 use in the description of the specific embodiments or the prior art. Obviously, the following drawings 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 according to these drawings.
[0037] Figure 1 is the principle block diagram of the electromagnetic door lock control circuit;
[0038] Figure 2 is the circuit schematic diagram of the power supply circuit;
[0039] Figure 3 is the circuit schematic diagram of the voltage conversion circuit;
[0040] Figure 4 is the circuit schematic diagram of the voltage detection circuit;
[0041] Figure 5 is the circuit schematic diagram of the radio frequency identification circuit;
[0042] Figure 6 is the circuit schematic diagram of the induction detection circuit;
[0043] Figure 7 It is the circuit schematic diagram of the safety output circuit;
[0044] Figure 7a It is Figure 7 one of the partial enlarged views of;
[0045] Figure 7b It is Figure 7 the second partial enlarged view of;
[0046] Figure 8 It is the circuit schematic diagram of the safety input circuit;
[0047] Figure 9 It is the circuit schematic diagram of the auxiliary output circuit and the lock input circuit;
[0048] Figure 10 It is the circuit schematic diagram of the electromagnet drive circuit;
[0049] Figure 11 It is the schematic diagram of the LED circuit and the LED drive circuit;
[0050] Figure 12 It is the structural diagram between the electromagnet and the matcher;
[0051] Figure 13 It is the principle block diagram of the cascaded electromagnetic door lock control circuit on the production line. Specific implementation manners
[0052] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts shall fall within the protection scope of the present invention.
[0053] As Figure 1 shown in the principle block diagram of the electromagnetic door lock control circuit, which is applied to the electromagnetic door lock and includes:
[0054] A power supply circuit for providing a working voltage for the entire electromagnetic door lock control circuit;
[0055] A cascading circuit for receiving the working state signal output by the electromagnetic door lock control circuit of the previous stage and the working state signal of the current electromagnetic door lock control circuit, and sending the working state signal to the cascading circuit of the electromagnetic door lock control circuit of the next stage;
[0056] An auxiliary output circuit for sensing whether a matcher approaches the electromagnetic door lock main body to output a proximity detection signal, and identifying whether the matcher corresponding to the electromagnetic door lock is a legal matcher, and outputting a corresponding identification detection signal;
[0057] An electromagnet drive circuit, configured to convert an unlocking / locking instruction into a drive signal for an electromagnet to drive the opening / closing of an electromagnetic door lock accordingly;
[0058] An MCU main control circuit, electrically connected to the power supply circuit, the cascade circuit, the auxiliary output circuit, and the electromagnet drive circuit respectively; wherein, the MCU main control circuit is configured to: convey an unlocking / locking drive signal to the electromagnet drive 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 upper-level electromagnetic door lock and the working state signal of the current electromagnetic door lock and convey them to the host computer or the cascade circuit of the lower-level electromagnetic door lock.
[0059] In the principle block diagram of the electromagnetic door lock control circuit of this embodiment, at least the following parts are included:
[0060] 1. MCU main control circuit: including an MCU microcontroller and its peripheral circuits, and the function of the MCU main control circuit is to be responsible for the operation and control of the entire system.
[0061] 2. Power supply circuit: used to provide a working voltage for the entire control circuit. Specifically, it can provide 24V voltage and 3.3V voltage.
[0062] 2. Voltage detection circuit: used to monitor whether the voltage supplied to the control circuit is stable.
[0063] 3. Safety output circuit: used to output an OSSD signal to indicate the working state of the current door lock. OSSD is a safety output signal that can inform users or other devices whether the current door lock is in a normal working state.
[0064] 4. LED drive circuit: used to drive an LED lamp to display different working states or indicator lights.
[0065] 5. Radio frequency identification circuit: based on the RFID (Radio Frequency Identification) principle, it identifies identity information and performs corresponding operations. For example, when the electromagnetic door lock is opened, the RFID module will read the information of the matcher corresponding to the electromagnetic door lock to see if it is a legal matcher and send it to the MCU main control circuit for verification and processing.
[0066] 6. Electromagnet drive circuit: through receiving the unlocking / locking drive signal sent by the MCU main control circuit, it performs electromagnetic drive, enabling actions such as attraction and release between the main body of the electromagnetic door lock and the matcher.
[0067] 7. Inductive detection circuit: It includes Hall elements such as Hall sensors, which detect whether the matcher of the electromagnetic door lock is approaching by sensing the change of the external magnetic field, and then outputs an inductive signal.
[0068] 8. Safety input circuit: The safety input circuit receives the working state signal, which can also be called the OSSD signal, transmitted by the safety output circuit of the upper-level electromagnetic door lock, and forwards it to the next-level control circuit to ensure the correct and reliable transmission of the working state signal in the whole system, and at the same time achieve the cascading effect between electromagnetic door locks.
[0069] The present utility model also provides an electromagnetic door lock control device, which includes an electromagnetic door lock control circuit in the electromagnetic door lock control device.
[0070] In the electromagnetic door lock control circuit and its device provided in this embodiment, it can be applied to the production line, with multiple functions and advantages. It can not only monitor the opening and closing states of electromagnetic door locks to ensure that the door locks of each device on the production line work properly, but also adopt a cascading structure in the way of a cascading control circuit, so that the host computer can detect whether there is a situation where one or more electromagnetic door locks are illegally opened on the production line, and send the abnormal signal to the host computer for identification in time. When any abnormal situation is found, the operator can quickly take corresponding measures to avoid production accidents caused by illegal opening.
[0071] It should be noted that although a series structure is adopted in the cascaded electromagnetic door lock circuit provided in this embodiment, each device has an independent operating function on the production line. Even if one device has an abnormality or is not properly closed, it will not affect the use of the door lock of the next device. This design architecture can not only monitor the working states of all electromagnetic door locks on the entire production line, but also accurately identify whether there are abnormalities or faults in a single or multiple door locks through the host computer.
[0072] Due to the high reliability and safety of the cascaded design, it plays an important role in a wide range of production lines. It can not only detect the states of the electromagnetic door locks of each device in real time and alarm to handle problems in time, but also effectively prevent accidental opening caused by illegal operation or misoperation, and greatly improve the overall safety and reliability level. Introducing the electromagnetic door lock control circuit and its device of this embodiment in the modern automated production environment has great advantages, which can provide more convenient, efficient, stable and safe operation guarantee for production manufacturing, and play a positive role in improving product quality and reducing accident risks.
[0073] Such as Figure 2The circuit schematic diagram of the power supply circuit shown. The function of the power supply circuit is to connect to the external commercial power supply and provide functions such as filtering and insurance, and supply the 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 may include a voltage conversion circuit, which is used to convert the 24V commercial power supply into a 3.3V voltage. In this way, a 24V voltage port and a 3.3V voltage port can be provided. In the power supply circuit, there is a common-mode inductor L2. One side of the common-mode inductor L2 is connected in series with a first zener diode D1 and a first self-recovery fuse F1. The negative pole of the first zener diode D1 is electrically connected to the common-mode inductor L2, and the positive pole of the first zener diode D1 is connected in series with the first self-recovery fuse F1 and the power supply VCC. It also includes a second thermistor R2 and a third TVS tube D3. One end of the second thermistor R2 is connected between the first zener diode D1 and the first self-recovery fuse F1, and the other end is grounded. One end of the third TVS tube D3 is connected between the first zener diode D1 and the first self-recovery fuse F1, and the other end is grounded.
[0074] 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, and the other end is electrically connected to the fifth capacitor C5. The other end of the fifth capacitor C5 is grounded. The second capacitor C2 and the third capacitor C3 are connected in parallel and one end is electrically connected to the power supply circuit, and the other end is grounded. In the power supply circuit, there is also a chassis grounding circuit, which includes a fourth capacitor C4 and a third resistor R3. The fourth capacitor C4 and the third resistor R3 are connected in parallel and one end is connected to the power supply ground terminal PGND, and the other end is connected to the chassis of the equipment on the production line.
[0075] In the power supply circuit of this embodiment, the TVS tube has the capabilities of high-energy discharge and fast response time. When the power supply circuit encounters overvoltage or overcurrent, it can quickly conduct and ground, instantaneously discharging the overvoltage or overcurrent to the ground or reducing it to a safe range. The zener diode realizes the stable regulation of the input voltage through the reverse breakdown effect. When the input voltage exceeds the set value, the zener diode will automatically start to conduct and keep the output voltage at a relatively constant level to ensure the normal operation of other devices supplied by the subsequent output power supply. It can perform multiple functions such as storing and releasing energy, filtering, and isolation, and play a filtering role in the DC signal, removing the AC interference components, and realizing the isolation function for different electronic components.
[0076] As Figure 3The figure shows a voltage conversion circuit in a power supply circuit, which is used to convert a 24V voltage into a 3.3V voltage. The above voltage conversion circuit may include a power supply chip U3. A 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 a sixteenth resistor R16 and an 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. After the ninth capacitor C9 and the tenth capacitor C10 are connected in parallel, one end is electrically connected to the 24V voltage port in the power supply circuit, and the other end is grounded. The voltage across both 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.
[0077] 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 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 supply chip U3 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 supply chip U3 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 transfer and conversion function can be achieved. The VIN pin of the power supply chip U3 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.
[0078] As Figure 4The voltage detection circuit shown 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 tell the MCU whether the working voltage is normal. The voltage detection circuit includes a 24V voltage detection circuit and a 3.3V voltage detection circuit. In the 24V voltage detection circuit, there are 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 current, 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 two 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. In the 3.3V voltage detection circuit, there are 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 two ends of 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.
[0079] 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 simultaneously monitor these two different working voltages. By using the 24V and 3.3V detection circuits, it can be detected whether the MCU is working at the correct voltage, ensuring that the core control device of the electromagnetic door lock control circuit can work under the normal working voltage.
[0080] As Figure 5The circuit schematic diagram of the radio frequency identification circuit shown. The radio frequency identification circuit includes a radio frequency chip U5 and its peripheral circuit. The peripheral circuit includes an antenna L4 for transmitting radio frequency signals for radio frequency matching. The antenna L4 is electrically connected to the radio frequency 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 radio frequency chip U5 is electrically connected to a reset module. The reset module includes a forty-first resistor R41 and a thirty-ninth capacitor C39. One end of the forty-first 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 thirty-ninth capacitor C39. The other end of the thirty-ninth capacitor C39 is grounded. The NPD pin of the radio frequency chip U5 is connected between the forty-first resistor R41 and the thirty-ninth capacitor C39. The TVSS pin of the radio frequency chip U5 is grounded to discharge overcurrent. The TX1 pin and TX2 pin of the radio frequency chip U5 are used to control the matching network of the antenna L4, 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.
[0081] The antenna L4 in the radio frequency identification circuit is electrically connected to multiple capacitors, inductors and resistors, including: a second inductor L2, a third inductor L3, a twenty-seventh capacitor C27, a twenty-eighth capacitor C28, a twenty-ninth capacitor C29, a thirtieth capacitor C30, a thirty-first capacitor C31, a thirty-second capacitor C32, a thirty-sixth capacitor C36, a thirty-sixth resistor R36, a thirty-seventh resistor R37. One end of the second inductor L2 is connected to the TX2 pin of the radio frequency 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. The other end of the thirty-sixth resistor R36 is electrically connected to the antenna L4. One end of the third inductor L3 is electrically connected to the TX1 pin of the radio frequency 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. The other end of the thirty-seventh resistor R37 is electrically connected to the antenna L4. A plurality of capacitors are connected in parallel between the series circuit composed of the second inductor L2 and the third inductor L3: the twenty-eighth capacitor C28 and the thirty-first capacitor C31 are connected in series and then connected across the second and third inductors L2, L3; the twenty-ninth capacitor C29 and the thirty-second capacitor C32 are connected in series and then connected across the second and third inductors L2, L3; the thirtieth capacitor C30 and the thirty-third capacitor C33 are connected in series and then connected across the series circuit composed of the second and third resistors L2, L3. One end of the twenty-eighth capacitor C28, the thirty-first capacitor C31, the twenty-ninth capacitor C29, the thirty-second capacitor C32, the thirtieth capacitor C30, and the thirty-third capacitor C33 are all grounded.
[0082] The TVDD pin of the radio frequency chip U5 is respectively connected to the nineteenth capacitor C19, the twentieth capacitor C20, and the twenty-first capacitor C21. The twenty-first capacitor C21 is connected across both ends of the twentieth capacitor C20. One ends of the nineteenth capacitor C19, the twentieth capacitor C20, and the twenty-first capacitor C21 are grounded.
[0083] The functions of the RFID_OSC_IN pin and the RFID_OSC_OUT1 pin of the radio frequency chip U5 are to connect to the external oscillator X2. The RFID_OSC_IN pin is used to receive the clock signal provided by the external oscillator and input it to the oscillator module inside the chip. The internal oscillator module is used to generate a stable and accurate clock signal to drive the entire radio frequency chip to work. The RFID_OSC_OUT1 pin is used to output the generated clock signal inside the chip to other circuit modules or electronic components in the electromagnetic door lock control circuit, so that these circuit modules or electronic components operate synchronously with the internal clock of the radio frequency chip. The RFID_OSC_IN pin of the radio frequency chip U5 is electrically connected to the twenty-second capacitor C22, and the other end of the twenty-second capacitor C22 is grounded. The RFID_OSC_OUT1 pin of the radio frequency chip U5 is electrically connected to the twenty-third capacitor C23, and the twenty-third capacitor C23 is grounded.
[0084] The RFID_EA of the radio frequency chip U5 can be switched to connect to the thirty-ninth resistor R39 and the fortieth resistor R40. One end of the thirty-ninth resistor R39 is connected to the 3.3V voltage port in the power supply circuit, and one end of the fortieth resistor R40 is grounded.
[0085] As Figure 6 shown in the circuit schematic diagram of the induction detection circuit, it 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 respectively electrically connected to the first comparator U4 and the second comparator U7. The Hall sensor is used to convert the detected magnetic field information into a corresponding induction signal for output. The comparator is used to compare the input signal from the Hall sensor and generate a corresponding output according to preset conditions.
[0086] The OUT pin of the output signal terminal of the Hall sensor U6 is electrically connected to the Hall signal input pins of the first comparator U4 and the second comparator U7 respectively. The OUT pin of the output terminal of the first comparator U4 is electrically connected to the first Hall channel HALL1. The IN+ pin of the positive input terminal of the first comparator U4 is electrically connected to the OUT pin of the output signal terminal of the Hall sensor U6. The first comparator U4 is also electrically connected to two resistors, which are the nineteenth resistor R19 and the twenty-third resistor R23 respectively. 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 IN- pin of the negative input terminal of the first comparator U4 is connected between the nineteenth resistor R19 and the twenty-third resistor R23.
[0087] The OUT pin of the output terminal of the second comparator U7 is electrically connected to the second Hall channel HALL2. The IN+ pin of the positive input terminal of the second comparator U7 is electrically connected to the OUT pin of the output signal terminal of the Hall sensor U6. The second comparator U7 is also electrically connected to two resistors, which are the twenty-ninth resistor R29 and the thirty-first resistor R31 respectively. 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 IN- pin of the negative input terminal of the second comparator U7 is connected between the thirty-first resistor R31 and the twenty-ninth resistor R29.
[0088] As Figure 7 、 Figure 7a 、 Figure 7b shown, the circuit schematic diagram of 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. Among them, a first OSSD1_FB port is set in the first signal output circuit, and a second OSSD2_FB port is set in the second signal output circuit. The functions of the OSSD1_FB port and the OSSD2_FB port are to send the working state signal (OSSD signal) representing the current working state of the electromagnetic door lock to the MCU microcontroller for self-checking, detect whether there is voltage output, and find out which electromagnetic door lock is not locked or has a fault through the cascade circuit, so that the host computer knows that the electromagnetic door lock of the device and the matcher are not properly closed.
[0089] The detailed circuit principles and structures of the first and second signal output circuits are specifically described below in conjunction with 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 Ⅰ and PNP transistor Ⅱ. The emitter of PNP transistor Ⅰ is electrically connected to the 24V voltage port in the power supply circuit. The collector of PNP transistor Ⅰ is grounded. The base of PNP transistor Ⅰ is electrically connected to the emitter of PNP transistor Ⅱ. The emitter of PNP transistor Ⅱ 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 Ⅱ is electrically connected to the collector of PNP transistor Ⅰ 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. It also includes a seventy-fifth resistor R75. One end of the seventy-fifth resistor R75 is electrically connected to the 3.3V voltage port in the power supply circuit, and the other end is connected between the MCU microcontroller and the forty-fifth resistor R45;
[0090] The eighth NPN transistor unit Q8 in the first signal output circuit includes two NPN transistors: NPN transistor Ⅲ and NPN transistor Ⅳ. The emitter of NPN transistor Ⅲ is grounded. The base of NPN transistor Ⅲ is electrically connected to the emitter of NPN transistor Ⅳ 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 Ⅲ is electrically connected to the base of NPN transistor Ⅳ 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 the fourth transistor Q4. The collector of the 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 the fourth transistor Q4 is electrically connected to one end of the forty-sixth resistor R46. The other end of the forty-sixth resistor R46 is electrically connected to the MCU microcontroller. The emitter of the fourth transistor Q4 is grounded;
[0091] The collector of the PNP transistor Ⅱ in the second PNP transistor unit is electrically connected to the collector of the NPN transistor Ⅳ in the eighth NPN transistor unit Q8 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 R12. The other end of the twelfth resistor R12 is electrically connected to the negative electrode of the twenty - third zener diode D23. The positive electrode 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 in parallel between the first OSSD1_FB port and the positive electrode of the twenty - third zener diode D23.
[0092] The second signal output circuit includes a ninth PNP transistor unit Q9 and a tenth NPN transistor unit Q10. The ninth PNP transistor unit Q9 and the tenth NPN transistor unit Q10 form a push - pull unit. The emitter of the PNP transistor Ⅴ in the ninth PNP transistor unit is electrically connected to the 24V voltage port in the power supply circuit. The base of the PNP transistor Ⅴ is electrically connected to the emitter of the PNP transistor Ⅵ and then electrically connected to one end of the forty - seventh resistor R47. The other end of the forty - seventh resistor R47 is electrically connected to the 24V voltage port in the power supply circuit. The collector of the PNP transistor Ⅴ is electrically connected to the base of the PNP transistor Ⅵ and then electrically connected to one end of the fifty - first resistor R51. The other end of the fifty - first resistor R51 is electrically connected to the collector of the twelfth transistor Q12. The collector of the twelfth transistor Q12 is also electrically connected to the fifty - second resistor R52. The other end of the fifty - second resistor is electrically connected to the 24V voltage port in the power supply circuit. The emitter of the twelfth transistor Q12 is grounded. The base of the twelfth transistor Q12 is electrically connected to one end of the fifty - fifth resistor R55. The other end of the fifty - fifth resistor R55 is electrically connected to the MCU microcontroller. A seventy - third resistor R73 is connected between the fifty - fifth resistor R55 and the MCU microcontroller. The other end of the seventy - third resistor R73 is grounded;
[0093] The base of the NPN transistor Ⅶ of the tenth NPN transistor unit Q10 is electrically connected to the emitter of the NPN transistor Ⅷ. The emitter of the NPN transistor Ⅶ is grounded. The collector of the NPN transistor Ⅶ is electrically connected to the forty-ninth resistor R49 and then to the base of the NPN transistor Ⅷ. The emitter of the NPN transistor Ⅷ is electrically connected to one end of the forty-eighth resistor R48. The other end of the forty-eighth resistor R48 is grounded. The other end of the forty-ninth resistor R49 is electrically connected to the collector of the eleventh transistor Q11. The collector of the eleventh transistor Q11 is electrically connected to one end of the fiftieth resistor R50. The other end of the fiftieth resistor is electrically connected to the 24V voltage port in the power supply circuit. The emitter of the eleventh transistor Q11 is grounded. The base of the eleventh transistor Q11 is electrically connected to one end of the fifty-sixth resistor R56. The other end of the fifty-sixth resistor R56 is electrically connected to the MCU microcontroller. A seventy-fourth resistor R74 is connected between the MCU microcontroller and the fifty-sixth resistor R56. The other end of the seventy-fourth resistor R74 is grounded;
[0094] The collector of the PNP transistor Ⅵ is electrically connected to the collector of the NPN transistor Ⅷ. One end of the eleventh self-resetting fuse F11 is connected between the collector of the PNP transistor Ⅵ and the collector of the NPN transistor Ⅷ. The other end of the eleventh self-resetting 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 arranged between the other end of the eleventh self-resetting fuse F11 and the fifty-third resistor R53. The negative electrode of the twenty-fourth zener diode D24 is electrically connected to the 24V voltage port in the power supply circuit. The positive electrode of the twenty-fourth zener diode D24 is electrically connected to the negative electrode of the twenty-fifth zener diode D25. The positive electrode of the twenty-fifth zener diode D25 is connected between the forty-eighth resistor R48 and the ground. The other end of the fifty-third resistor R53 is connected to the second OSSD2_FB port. The negative electrode of the twenty-sixth zener diode D26 is electrically connected to the fifty-third resistor R53. The positive electrode of the twenty-sixth zener diode D26 is grounded. A fifty-fourth resistor R54 is connected across the two ends of the twenty-sixth zener diode D26
[0095] Such as Figure 8The circuit principle of the safety input circuit shown. The safety input circuit includes a first signal input circuit and a second signal input circuit. In the first signal input circuit, a first optocoupler U1 is provided. The collector of the photosensitive triode in the first optocoupler U1 is the first safety input terminal SAFE_INPUT_1. The emitter of the photosensitive triode in the first optocoupler U1 is grounded. The positive electrode of the light-emitting diode in the first optocoupler U1 is connected in series with the seventh resistor R7 and the first self-resetting fuse F1. The negative electrode of the light-emitting diode in the first optocoupler U1 is grounded. A ninth resistor R9 is connected across the positive and negative electrodes of the light-emitting diode in the first optocoupler U1. A fifth TVS diode D5 is also provided in the first signal input circuit. One end of the fifth TVS diode D5 is connected between the seventh resistor R7 and the second self-resetting fuse F2, and the other end of the fifth TVS diode D5 is grounded.
[0096] In the second signal input circuit, a second optocoupler U2 is provided. The collector of the photosensitive triode in the second optocoupler U2 is the second safety input terminal SAFE_INPUT_2. The emitter of the photosensitive triode in the second optocoupler U2 is grounded. The positive electrode of the light-emitting diode in the second optocoupler U2 is connected in series with the fifteenth resistor R15 and the fifth self-resetting fuse F5. The negative electrode of the light-emitting diode in the second optocoupler U2 is grounded. An eighteenth resistor R18 is connected across the positive and negative electrodes of the light-emitting diode in the second optocoupler U2. A ninth TVS diode D9 is also provided in the second signal input circuit. One end of the ninth TVS diode D9 is connected between the fifth self-resetting fuse F5 and the fifteenth resistor R15, and the other end of the ninth TVS diode D9 is grounded.
[0097] The safety input circuit composed of the above circuit structure can protect the electromagnetic door lock. When abnormal situations such as overvoltage or overcurrent occur, the TVS diode will play a role in discharging the overcurrent to the ground to ensure that the electronic components in the circuit will not be damaged.
[0098] In some embodiments, such as Figure 9 the auxiliary output circuit and the lock input circuit shown. The auxiliary output circuit can also be called the auxiliary output line, and its function is to output high and low levels to external devices. The external devices can be warning devices such as LED warning lights and buzzers. At the same time, the auxiliary output line can also be connected to the upper computer alone, so that the upper computer can obtain that there is an abnormality in the electromagnetic door lock. It should be noted that when the electromagnetic door lock works normally, it outputs a 0V voltage, and when there is an abnormality, it outputs a 24V voltage.
[0099] Specifically, the above-mentioned auxiliary output circuit may include a fifth optocoupler U5, a fifth triode Q5, and a seventh MOS transistor. The collector of the photosensitive triode of the fifth optocoupler U5 is the adaptation terminal of the auxiliary output circuit. The emitter of the photosensitive triode of the fifth optocoupler U5 is grounded. The positive electrode of the light-emitting diode of the fifth optocoupler U5 is electrically connected to one end of a thirty-fifth resistor R35. The negative electrode of the light-emitting diode of the fifth optocoupler U5 is grounded after being connected in series with a thirty-sixth resistor R36. The collector of the fifth triode Q5 is electrically connected to the other end of the thirty-fifth resistor R35. The emitter of the fifth triode Q5 is electrically connected to the 24V voltage port in the power supply circuit. The base of the fifth triode Q5 is connected in series with a thirty-second resistor R32 and a ninth self-resetting fuse F9. One end of an eighteenth TVS diode D18 is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9, and the other end is grounded. The positive electrode of a sixteenth diode D16 is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9, and the negative electrode is electrically connected to the emitter of the fifth triode Q5. One end of a thirty-eighth resistor R38 is electrically connected to the emitter of the fifth triode Q5, and the other end is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9. The positive electrode of a nineteenth diode D19 is connected between the thirty-second resistor R32 and the ninth self-resetting fuse F9, and the negative electrode of the nineteenth diode D19 is connected to the drain of the seventh MOS transistor Q7. The gate of the seventh MOS transistor Q7 is the control terminal AUX_CTL of the auxiliary output circuit. The gate of the seventh MOS transistor Q7 is electrically connected to one end of a thirty-seventh resistor R37, and the other end of the thirty-seventh resistor R37 is grounded. The source of the seventh MOS transistor Q7 is grounded.
[0100] In some embodiments, as Figure 9 shown, the input terminal LOCK_IN of the lock input circuit is electrically connected to the host computer, and the output terminal LOCK of the lock input circuit is electrically connected to the MCU main control circuit. The lock input circuit is configured to receive an unlocking signal or a locking signal sent by the host computer and transmit it to the MCU main control circuit to correspondingly control the unlocking or locking of the electromagnetic door lock.
[0101] The above-mentioned lock input circuit can also be referred to as a lock input line. When the recognition fails and the matcher outputs a 24V voltage, the lock input circuit is connected to the 24V voltage, and the electromagnet remains in the locked state. When the matcher outputs a 0V voltage or is in a floating state, the electromagnet loses power, and the electromagnetic door lock no longer has a holding force and no longer remains in the locked state.
[0102] Specifically, a third optocoupler U3 is provided in the above-mentioned lock input circuit. The collector of the photosensitive triode of the third optocoupler U3 is the locking end of the auxiliary output circuit. The emitter of the photosensitive triode of the third optocoupler U3 is grounded. The positive electrode of the light-emitting diode of the third optocoupler U3 is connected in series with the twenty-fifth resistor R23 and the eighth self-recovery fuse F8. A twenty-sixth resistor R26 is connected across the positive and negative electrodes of the light-emitting diode of the third optocoupler U3. The fourteenth TVS tube D14 is further included in the lock input circuit. One end of the fourteenth TVS tube D14 is connected between the twenty-fifth resistor R25 and the eighth self-recovery fuse F8, and the other end is grounded. By setting the lock input circuit, it can receive the unlocking or locking instruction sent by the host computer and send it to the MCU main control circuit. The MCU main control circuit sends the unlocking or locking instruction to the electromagnet drive circuit through internal logical judgment, and then can control the opening / closing of the electromagnet. In this way, the staff can manually control the opening and closing of the electromagnetic lock, improving the flexibility of use.
[0103] As Figure 10 shown in the circuit principle of the electromagnet drive circuit, it includes an N-channel enhancement-mode field-effect transistor chip Q6. The drain of the N-channel enhancement-mode field-effect transistor chip Q6 is connected to the ETM_PWM terminal in the electromagnet drive circuit. The gate of the N-channel enhancement-mode field-effect transistor 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. By sending instructions through the MCU microcontroller, the N-channel enhancement-mode field-effect transistor chip Q6 is controlled. The control electromagnet drive circuit is mainly used to drive the main body of the electromagnetic lock and can control the adsorption force with the matcher, so as to be able to achieve opening / closing.
[0104] As Figure 11As shown in the figure, as a further improvement of the present utility model, it may further include an LED driving circuit and an LED circuit. The LED driving circuit and the LED circuit are used to control the color of the LED of the electromagnetic door lock. When the working state signals of the first electromagnetic door lock to the Nth door lock are all output in the ON state, and the device connected to the host computer has no errors, the LED connected to the host computer electrically will turn green; otherwise, it will be blue. It can be understood that the LED driving circuit is electrically connected to the MCU main control circuit. When controlling the state (flashing / constant on) of the LED: it is jointly 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 sends an LED driving signal to the LED driving circuit to make the LED circuit respond accordingly. For example, in the case of the first machine in the locking cascade / linkage mode, when the door is closed and not locked, the LED is in a flashing state. It should be noted that the LED driving circuit and the LED circuit are common circuits, and the specific structure and connection relationship will not be elaborated here.
[0105] As Figure 12 shown in the overall structure of the electromagnetic door lock, which includes an electromagnet 1 and a matcher 2. Through the mutual cooperation between the electromagnet 1 and the matcher 2, combined with the electromagnetic door lock control circuit and cascade circuit provided by the present utility model for reasonable configuration and control, legal detection of opening and closing the doors of the equipment on the production line can be carried out.
[0106] As Figure 13 shown in the principle block diagram of the cascade electromagnetic door lock control circuit. In this principle block diagram, the machine equipment No. 1, No. 2,... up to No. N on the production line are all electrically connected to the electromagnetic door lock control circuit disclosed in the embodiment of the present application, forming a cascade electromagnetic door lock control circuit. The corresponding working state signals are sent from the safety output circuit between adjacent machine equipment to the safety input circuit of the next-level electromagnetic door lock. The safety input circuit in the next-level electromagnetic door lock control circuit receives the working state signal sent by the previous-level control circuit. The working state signal represents the working state of the current electromagnetic door lock. Thus, a cascade control system can be formed to detect which machine equipment on the production line has the problem of illegally opening the electromagnetic door lock and prevent safety accidents caused by illegally opening the electromagnetic door lock.
[0107] Those skilled in the art can understand that unless otherwise defined, all terms (including technical terms and scientific terms) used here 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 those terms defined in a general dictionary, such as, 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.
[0108] It should be noted that in this specification and the claims, certain terms are used to refer to specific components. Those skilled in the art should understand that different manufacturers and producers may use different terms to refer to the same component. This specification and the claims do not use the differences in terms as a way to distinguish components, but rather use the differences in the functions of components as the criterion for distinction.
[0109] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of 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 that it is within the scope described in this specification.
[0110] 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.
[0111] 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 used 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 explicitly 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.
[0112] 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 them; 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, applied to an electromagnetic door lock, characterized in that: include: A power supply circuit, used to provide working voltage for the entire electromagnetic door lock control circuit; A cascade circuit, used for receiving a working state signal output by an electromagnetic door lock control circuit of a previous stage and a working state signal of a current electromagnetic door lock control circuit, and transmitting the working state signal to the cascade circuit of the electromagnetic door lock control circuit of a next stage; The induction recognition circuit is used to sense whether a matching device is close to the electromagnetic door lock body to output an induction detection signal, and to identify whether the matching device corresponding to the electromagnetic door lock is a legal matching device, and output a corresponding induction detection signal; The electromagnet driving circuit is used to convert the unlocking / locking instruction into a driving 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, the cascade circuit, the induction identification circuit and the electromagnet drive circuit respectively; wherein the MCU main control circuit is configured to: transmit an unlocking / locking drive signal to the electromagnet drive circuit based on the induction detection signal and the identification detection signal output by the induction identification circuit, and to receive the working status signal output by the cascade circuit of the previous level electromagnetic door lock and the working status signal of the current electromagnetic door lock and transmit them to the upper computer or the cascade circuit of the next level electromagnetic door lock.
2. The electromagnetic door lock control circuit according to claim 1, characterized in that: The cascade circuit comprises: A safety input circuit, whose input end is electrically connected to the safety output circuit of the upper-level electromagnetic door lock control circuit, and the safety input circuit is used to receive the working state signal of the upper-level electromagnetic door lock control circuit and transmit it to the MCU main control circuit; The safety output circuit has an input end electrically connected to the MCU main control circuit, and the safety output circuit is used to transmit the corresponding working status signal output by the MCU main control circuit to the signal input circuit of the host computer or the next level electromagnetic door lock.
3. The electromagnetic door lock control circuit according to claim 2, characterized in that: The safety input circuit comprises a first signal input circuit and a second signal input circuit, wherein a first photoelectric coupler is provided in the first signal input circuit, the collector of the photosensitive transistor in the first photoelectric coupler is a first safety input terminal, the emitter of the photosensitive transistor in the first photoelectric coupler is grounded, the positive electrode of the light-emitting diode of the first photoelectric coupler is connected in series with a seventh resistor and a second self-recovery fuse, the negative electrode of the light-emitting diode of the first photoelectric coupler is grounded, a ninth resistor is connected across the positive and negative electrodes of the light-emitting diode of the first photoelectric coupler, and a fifth TVS tube is further provided in the first signal input circuit, one end of the fifth TVS tube is connected between the seventh resistor and the second self-recovery fuse, and the other end is grounded; A second photocoupler is provided in the second signal input circuit, the collector of the phototransistor in the second photocoupler is the second safety input terminal, the emitter of the phototransistor in the second photocoupler is grounded, the positive electrode of the light-emitting diode of the second photocoupler is connected in series with the fifteenth resistor and the fifth self-resetting fuse, the negative electrode of the light-emitting diode of the second photocoupler is grounded, and an eighteenth resistor is connected between the positive and negative electrodes of the light-emitting diode of the second photocoupler. A ninth TVS tube is also provided 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 according to claim 2, characterized in that: The safety output circuit comprises a first signal output circuit and a second signal output circuit, and both the first signal output circuit and the second signal output circuit are provided with a push-pull unit, wherein: The first signal output circuit includes 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 includes two PNP transistors: a PNP transistor I and a PNP transistor II, the emitter of the PNP transistor I is electrically connected to the power supply circuit, the collector of the PNP transistor I is grounded, the base of the PNP transistor I is electrically connected to the emitter of the PNP transistor II, the emitter of the PNP transistor II is electrically connected to one end of a forty-first resistor, and the other end of the forty-first resistor is electrically connected to the The power supply circuit is electrically connected, the base of the PNP transistor II is electrically connected to the collector of the PNP transistor I and then electrically connected to one end of the forty-third resistor, the other end of the forty-third resistor is electrically connected to the collector of the third transistor, the collector of the third transistor is electrically connected to one end of the eighth resistor, the other end of the eighth resistor is electrically connected to the power supply circuit, the base of the third transistor is electrically connected to one end of the forty-fifth resistor, the other end of the forty-fifth resistor is electrically connected to the MCU microcontroller, and also includes a seventy-fifth resistor, one end of the seventy-fifth resistor is electrically connected to the power supply circuit, and the other end is connected between the MCU microcontroller and the forty-fifth resistor; The eighth NPN transistor unit in the first signal output circuit includes two NPN transistors: an NPN transistor III and an 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 a 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 a 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 a thirteenth resistor, the other end of the thirteenth resistor is electrically connected to a power supply circuit, the base of the fourth transistor is electrically connected to one end of a forty-sixth resistor, the other end of the forty-sixth resistor is electrically connected to an 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 resettable fuse. The other end of the resettable fuse is electrically connected to one end of a twelfth resistor. The other end of the twelfth resistor is electrically connected to the cathode of a twenty-third Zener diode. The anode of the twenty-third Zener diode is grounded. A first OSSD1_FB port is provided between the twelfth resistor and the twenty-third Zener diode. A forty-fourth resistor is bridged between the first OSSD1_FB port and the anode of the twenty-third Zener diode.
5. The electromagnetic door lock control circuit according to claim 4, characterized in that: 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 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 one end of the forty-seventh resistor after being connected to the base of the PNP transistor V and the emitter of the PNP transistor VI, 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 the collector of the PNP transistor V is electrically connected to the base of the PNP transistor VI. After being electrically connected, it is electrically connected to one end of a fifty-first resistor, the other end of the fifty-first resistor is electrically connected to the collector of a twelfth triode, the collector of the twelfth triode is also electrically connected to a fifty-second resistor, the other end of the fifty-second resistor is electrically connected to the power supply circuit, the emitter of the twelfth triode is grounded, the base of the twelfth triode is electrically connected to one end of a fifty-fifth resistor, the other end of the fifty-fifth resistor is electrically connected to an 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 of the NPN transistor VII of the tenth NPN transistor unit is electrically connected to the emitter of the NPN transistor VIII, the emitter of the NPN transistor VII is grounded, the collector of the NPN transistor VII is electrically connected to the forty-ninth resistor and then to the base of the NPN transistor VIII, the emitter of the NPN transistor VIII is electrically connected to 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 to the collector of the eleventh transistor, the collector of the eleventh transistor is electrically connected to one end of the fiftieth resistor, the other end of the fiftieth resistor is electrically connected to the power supply circuit, the emitter of the eleventh transistor is grounded, the base of the eleventh transistor is electrically connected to one end of the fifty-sixth resistor, the other end of the fifty-sixth resistor is electrically connected to the MCU microcontroller, a seventy-fourth resistor is connected between the MCU microcontroller and the fifty-sixth resistor, the other end of the seventy-fourth resistor is grounded; The collector of the PNP transistor VI is electrically connected to the collector of the NPN transistor VIII, one end of the eleventh resettable fuse is connected between the collector of the PNP transistor VI and the collector of the NPN transistor VIII, the other end of the eleventh resettable fuse is electrically connected to the fifty-third resistor, and a twenty-fourth and a twenty-fifth Zener diode are arranged between the other end of the eleventh resettable fuse and the fifty-third resistor, the negative electrode of the twenty-fourth Zener diode is electrically connected to the power supply circuit, the positive electrode of the twenty-fourth Zener diode is electrically connected to the negative electrode of the twenty-fifth Zener diode, the positive electrode of the twenty-fifth Zener diode is connected between the forty-eighth resistor and the ground, the other end of the fifty-third resistor is connected to the second OSSD2_FB port, the negative electrode of the twenty-sixth Zener diode is electrically connected to the fifty-third resistor, the positive electrode of the twenty-sixth Zener diode is grounded, and the fifty-fourth resistor is connected across the two ends of the twenty-sixth Zener diode.
6. The electromagnetic door lock control circuit according to claim 1, characterized in that: The induction recognition circuit comprises: An induction detection circuit, whose output end is electrically connected to the MCU main control circuit, and the induction detection circuit is used to detect whether the matcher of the electromagnetic door lock is close to the electromagnetic body, and output a proximity detection signal to the MCU main control circuit; The radio frequency identification circuit has an output end electrically connected to the MCU main control circuit. The radio frequency identification circuit is used to identify whether the matcher of the electromagnetic door lock has a legal electronic tag and send a radio frequency identification signal to the MCU main control circuit.
7. The electromagnetic door lock control circuit according to claim 6, characterized in that: The induction detection circuit includes: a Hall sensor, a first comparator and a second comparator, wherein the output signal terminal OUT pin of the Hall sensor is electrically connected to the first comparator and the second comparator respectively, the Hall sensor is used to convert the detected magnetic field information into a corresponding electrical signal for output, and the comparator is used to compare the input signal from the Hall sensor and generate a corresponding output according to preset conditions.
8. The electromagnetic door lock control circuit according to claim 6, characterized in that: The radio frequency identification circuit includes a radio frequency chip and its peripheral circuits. The peripheral circuits include an RFID antenna for transmitting radio frequency signals for radio frequency matching. The RFID antenna is electrically connected to the radio frequency 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 synchronously transmitting data.
9. The electromagnetic door lock control circuit according to claim 1, characterized in that: Also includes: The electromagnet drive circuit includes an N-channel enhancement type field effect transistor chip, the drain of the N-channel enhancement type field effect transistor chip is connected to the ETM_PWM terminal in the electromagnet drive circuit, the gate of the N-channel enhancement type field effect transistor chip 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, and the MCU microcontroller sends instructions to control the N-channel enhancement type field effect transistor chip; An auxiliary output circuit, the input end of which is electrically connected to the MCU main control circuit, and the auxiliary output circuit is used to output a high / low level signal to an external warning device or a host computer according to the on / off state of the electromagnetic door lock; A locking input circuit, wherein the input end of the locking input circuit is electrically connected to the host computer, and the output end of the locking input circuit is electrically connected to the MCU main control circuit. The locking input circuit is used to receive an unlocking signal or a locking signal sent by the host computer and transmit it to the MCU main control circuit to control the unlocking or locking of the electromagnetic door lock accordingly.
10. An electromagnetic door lock control device, characterized in that: The electromagnetic door lock control device is provided with the electromagnetic door lock control circuit according to any one of claims 1 to 9.
Citation Information
Cited By
Electromagnetic door lock control circuit and apparatus
WO2026026419A1