Electric lock detection device

By designing an electric lock detection device, the problem of electric lock detection in unmanned vending machines is solved, and simultaneous detection and control of multiple electric locks are achieved. The structure is compact and the detection results are intuitive, which meets the electric lock management needs of unmanned vending machines.

CN115774158BActive Publication Date: 2025-09-26ZHEJIANG XINGXING REFRIGERATION CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111051148.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2025-09-26
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

It is difficult to accurately detect electric bolt locks in unmanned vending machines at the same time, and existing technologies cannot easily detect multiple electric bolt locks.

Method used

An electric lock detection device is designed, which includes a placement rack, a detection board and a display module. The placement rack is used to fix multiple electric locks. The detection board realizes simultaneous detection and control of multiple electric locks through the main control module, the drive module and the detection module, and displays the detection results through the display module.

Benefits of technology

It realizes the simultaneous detection of multiple electric locks, has a compact structure, beautiful appearance, and intuitive display of detection results, which facilitates the status acquisition and management of electric locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774158B_ABST
    Figure CN115774158B_ABST
Patent Text Reader

Abstract

The present invention provides an electric bolt lock detection device. The present invention provides an electric bolt lock detection device. The present invention provides an electric bolt lock detection device. The present invention provides an electric bolt lock detection device. The electric bolt lock detection device comprises a placement rack having a plurality of fixing slots and a plurality of brackets corresponding to the fixing slots. The fixing slots are used to place lock bodies of electric bolt locks to be detected. The brackets are used to fix and install lock hooks of the electric bolt locks and drive the lock hooks to buckle into the lock bodies to achieve locking. Therefore, the lock bodies and lock hooks of multiple electric bolt locks can be fixedly installed on the placement rack at the same time for detection, which is very convenient. The present invention also provides an electric bolt lock detection device. The detection board comprises a main control module, a drive module, and a detection module. Therefore, the main control module can control the multiple electric bolt locks to unlock at the same time through the drive module. The main control module can obtain the status of the multiple electric bolt locks at the same time through the electric bolt lock detection module, thereby performing corresponding detection and intuitively displaying the detection results through the display module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vending cabinets, and in particular to a detection device for an electric bolt lock of an unmanned vending cabinet. Background Art

[0002] Unmanned vending machines have been widely used due to their convenience, small footprint, and labor-saving advantages. Unmanned vending machines are placed in different places, and consumers are responsible for taking out and paying for goods. Unmanned vending machines usually include a cabinet body, a main control device installed outside the cabinet body, and insulation, lighting and other equipment installed inside the cabinet body. Among them, the cabinet body usually contains a plurality of sub-cabinets, each of which contains a plurality of cargo compartments for placing goods. Each cargo compartment is provided with a corresponding compartment door at the compartment opening, and each compartment door is provided with an electric bolt lock. The electric bolt lock has a lock body and a lock hook. The lock body is fixedly installed on the cargo compartment, and the lock hook is fixedly installed on the compartment door body at a position corresponding to the lock body. When the lock hook is buckled into the lock body, the compartment door is locked. When the compartment door needs to be opened, the control device of the unmanned vending machine controls the lock hook to pop open, thereby opening the compartment door.

[0003] For unmanned vending machines, being able to safely and accurately open designated compartments for retrieval is a key function, which relies on the accuracy of electric mortise locks. Therefore, it is necessary to test the electric mortise locks used in unmanned vending machines. Furthermore, due to the large number of unmanned vending machines, and the fact that a single unmanned vending machine may be equipped with multiple electric mortise locks, an electric mortise lock detection device is needed that can conveniently and accurately test multiple electric mortise locks simultaneously. Summary of the Invention

[0004] In order to solve the above problems, an electric lock detection device is provided. The present invention adopts the following technical solutions:

[0005] The present invention provides an electric bolt lock detection device, which is used to detect the electric bolt lock of a cabinet door of an unmanned vending machine. The electric bolt lock has a lock body and a lock hook, and is characterized in that it includes a placement rack for placing multiple electric bolt locks; a detection board for detecting the electric bolt locks; and a display module for displaying the detection results, wherein the placement rack has multiple fixing slots and multiple brackets corresponding to the multiple fixing slots one by one, the fixing slots are used to fix the lock body, the brackets are used to fix the lock hook and drive the lock hook to lock, the detection board has a main control module, a power supply module, a drive module and a detection module, the power supply module has a first power supply, a second power supply and a third power supply, the drive module and the detection module are respectively connected to the electric bolt lock, the main control module is respectively connected to the drive module, the detection module and the display module, the main control module controls the electric bolt lock to unlock through the drive module, detects the status of the electric bolt lock through the detection module, and displays the status through the display module.

[0006] The electric lock detection device provided by the present invention may also have such technical features, wherein the main control module includes a control circuit, the control circuit includes a control chip, a crystal oscillator Y100 and a crystal oscillator Y101, the control chip has pins 1-48, the control chip is respectively connected to the third power supply, the crystal oscillator Y100 and the crystal oscillator Y101, the model of the control chip is STM32F030CCT6, the frequency of the crystal oscillator Y100 is 32.768KHz, and the frequency of the crystal oscillator Y101 is 8MHz.

[0007] The electric lock detection device provided by the present invention may also have such a technical feature, wherein the detection board further includes a connection module, the connection module is respectively connected to the electric lock, the drive module and the detection module, the connection module includes a plurality of electric lock connection circuits, the electric lock connection circuit has an electric lock connection circuit A and an electric lock connection circuit B, the electric lock connection circuit A includes a terminal P1, a resistor R3, a diode D1 and a field effect transistor Q1A, the terminal P1 is connected to the electric lock, the source of the field effect transistor Q1A is connected to the control chip, and the gate is connected The drain is connected to the first power supply through a diode D1, and the anode of the diode D1 is connected to the drain. One end of the resistor R3 is connected to the source of the field-effect transistor Q1A, and the other end is grounded. The resistance of the resistor R3 is 1MΩ. The model of the diode D1 is IN4007, and the model of the field-effect transistor Q1A is NCE6005A. The electric lock connection circuit B includes a terminal P2, a resistor R4, a diode D2, and a field-effect transistor Q1B. The circuit structure and component parameters of the electric lock connection circuit B are consistent with those of the electric lock connection circuit A.

[0008] The electric lock detection device provided by the present invention may also have the following technical features: the number of electric locks is eight, the drive module includes a drive circuit, the drive circuit includes a resistor R200, a resistor 201, a fixed-value capacitor C201, a diode D200, and six cascaded displacement buffer chips, the displacement buffer chip having pins 1-15, the resistor R200 and the diode D200 are connected in parallel, one end of which is connected to a third power supply, and the other end is connected to both the fixed-value capacitor C201 and the pin 10 of the displacement buffer chip, and the cathode of the diode D200 is connected to the third power supply, one end of the resistor R201 is connected to the third power supply, and the other end is connected to the pin 13 of the displacement buffer chip, the pin 16 of the displacement buffer chip is connected to the third power supply, the pin 8 of the displacement buffer chip is grounded, and the pin 11 of the displacement buffer chip is connected to the control chip. Pin 26 and pin 12 of the shift register chip are connected to pin 25 of the control chip. Pin 9 of the shift register chip is connected to pin 14 of the next shift register chip in the cascade. Pin 14 of the first shift register chip is connected to pin 28 of the control chip. Pin 15 and pins 1-7 of the fifth shift register chip are connected to the first to fourth electric latch connection circuits, and further to the first to fourth electric latches, in sequence. Pin 15 and pins 1-7 of the sixth shift register chip are connected to the fifth to eighth electric latch connection circuits, and further to the fifth to eighth electric latches, in sequence. The model of the shift register chip is 74HC595D. The resistance values ​​of resistors R200 and R201 are both 4.7 kΩ. The capacitance of fixed capacitor C201 is 1 uF. The model of diode D200 is IN4148.

[0009] The electric lock detection device provided by the present invention may also have such a technical feature, wherein the detection module includes an electric lock detection circuit, the electric lock detection circuit includes a fixed value capacitor C200, a fixed value capacitor C201 and two cascaded shift register chips, one end of the fixed value capacitor C200 is connected to the third power supply, and the other end is connected to both pin 15 of the first shift register chip and ground, one end of the fixed value capacitor C201 is connected to the third power supply, and the other end is connected to both pin 15 of the second shift register chip and ground, pin 1 of the shift register chip is connected to pin 14 of the control chip, and pin 2 of the shift register chip is connected to pin 14 of the control chip. 2 is connected to pin 15 of the control chip, pin 16 of the shift register chip is connected to the third power supply, pin 8 of the shift register chip is grounded, pin 9 of the first shift register chip is connected to pin 10 of the cascaded second shift register chip, pin 9 of the second shift register chip is connected to pin 16 of the control chip, pins 3-6 and pins 11-14 of the shift register chip are connected to eight electric lock connection circuits in sequence, and are further connected to eight electric locks. The model of the shift register chip is 74HC165D, and the capacitance of the fixed capacitor C200 and the fixed capacitor C201 are both 100nF.

[0010] The electric lock detection device provided by the present invention may also have such a technical feature, wherein the display module includes at least one of an indicator light and a display terminal.

[0011] The electric lock detection device provided by the present invention may also have such technical features, wherein the display module includes an indicator light, the connection module further includes a plurality of indicator light connection circuits, the indicator light connection circuit includes an indicator light connection circuit A and an indicator light connection circuit B, the indicator light connection circuit A includes a terminal D3, a resistor R5, a resistor R6, a resistor R9, a resistor R10, a transistor Q2 and a transistor Q4, the terminal D3 has pins 1-3, pin 1 of the terminal D3 is connected to the first power supply, pin 2 of the terminal is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the collector of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R5, the base is connected to one end of the resistor R9, and the emitter is connected to the other end of the resistor R9. The end is also grounded, pin 3 of terminal D3 is connected to one end of resistor R6, the other end of resistor R6 is connected to the collector of transistor Q3, the collector of transistor Q3 is connected to one end of resistor R6, the base is connected to one end of resistor R10, and the emitter is connected to the other end of resistor R10 and grounded, the resistance of resistor R5 is 1KΩ, the resistance of resistor R6 is 0Ω, the resistance of resistor R9 and resistor R10 are both 1MΩ, the model of transistor Q2 and transistor Q3 are both SI2302, the indicator light connection circuit B includes terminal D4, resistor R7, resistor R8, resistor R11, resistor R12, transistor Q3 and transistor Q5, and the circuit structure and component parameters of indicator light connection circuit B are consistent with those of indicator light connection circuit A.

[0012] The electric lock detection device provided by the present invention may also have such a technical feature, wherein the number of indicator lights is eight, and the eight indicator lights correspond one-to-one to the eight electric locks. In the drive circuit, pins 15 and pins 1-7 of the first to fourth shift register chips are sequentially connected to the eight indicator light connection circuits, and further connected to the eight indicator lights.

[0013] The electric lock detection device provided by the present invention may also have the following technical features: the main control module further includes a full unlocking control circuit for causing all lock hooks on the placement rack to pop out in sequence; the full unlocking control circuit includes a switch KEY100 and a resistor R112; one end of the switch KEY100 is connected to the control chip and to the third power supply through the resistor R112; the other end is grounded; and the resistance of the resistor R112 is 10KΩ.

[0014] The electric lock detection device provided by the present invention may also have the following technical features: the display module includes a display terminal.

[0015] The electric lock detection device provided by the present invention may also have such technical features, wherein the detection board also includes a communication module for providing an RS485 interface, the communication module includes an RS485 communication circuit, the RS485 communication circuit includes a terminal P101 and a 485 communication chip, the terminal P101 is used to provide an RS485 interface, the 485 communication chip is respectively connected to the terminal P101, the control chip, the second power supply and the third power supply, and is used to convert between parallel data and RS485 serial data, the model of the 485 communication chip is MAX485ESA, and the display terminal is connected to the terminal P101 via a USB to serial port module.

[0016] The electric lock detection device provided by the present invention may also have such technical features, wherein the main control module further has an address coding circuit for setting the physical address of the detection board, the address coding circuit includes a dip switch P109 and two voltage regulator diodes U106, and the dip switch P109 is respectively connected to the third power supply, the control chip and the two voltage regulator diodes U106.

[0017] The electric lock detection device provided by the present invention may also have such a technical feature, wherein the power supply module further includes a first power conversion circuit and a second power conversion circuit, the first power conversion circuit includes a terminal P113 and a synchronous buck chip, the terminal P113 is connected to the external power supply, the synchronous buck chip is respectively connected to the terminal P113, the first power supply and the second power supply, and is used to convert the first power supply into the second power supply, the second power conversion circuit includes a buck regulator chip, the buck regulator chip is respectively connected to the second power supply and the third power supply, and is used to convert the second power supply into the third power supply, the model of the synchronous buck chip is SY8113B, the model of the buck regulator chip is ASM1117-3.3, the first power supply is 12V, the second power supply is 5V, and the third power supply is 3.3V.

[0018] Functions and effects of the invention

[0019] According to the electric lock detection device of the present invention, since it has a placement rack, and the placement rack has multiple fixing slots and multiple brackets corresponding to the fixing slots, the fixing slots are used to place the lock body of the electric lock to be detected, and the brackets are used to fix the lock hook of the electric lock and drive the lock hook to buckle into the lock body to achieve locking. Therefore, the lock bodies and lock hooks of multiple electric locks can be fixedly installed on the placement rack at the same time for testing, which is very convenient. In addition, since it has a detection board and a display module, and the detection board has a main control module, a drive module, and a detection module, the main control module can simultaneously control multiple electric locks to unlock through the drive module, and the main control module can simultaneously obtain the status of multiple electric locks through the electric lock detection module, and can intuitively display the detection results through the display module. At the same time, the electric lock detection device of the present invention also has the advantages of compact structure and beautiful appearance. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 1 is a schematic structural diagram of an electric lock detection device in Embodiment 1 of the present invention;

[0021] Figure 2 1 is a structural diagram of an electric bolt lock in a first embodiment of the present invention;

[0022] Figure 3 This is a structural diagram of a placement rack in Example 1 of the present invention;

[0023] Figure 4 1 is a structural diagram of the placement rack at different angles in the first embodiment of the present invention;

[0024] Figure 5 This is a structural diagram of the placement rack in use in Example 1 of the present invention;

[0025] Figure 6 This is a structural diagram of the placement rack in another usage state in the first embodiment of the present invention;

[0026] Figure 7 This is a structural block diagram of the detection board in Example 1 of the present invention;

[0027] Figure 8 is a circuit structure diagram of the first power conversion circuit in the first embodiment of the present invention;

[0028] Figure 9 is a circuit structure diagram of the second power conversion circuit in the first embodiment of the present invention;

[0029] Figure 10 1 is a circuit structure diagram of the main control circuit in the first embodiment of the present invention;

[0030] Figure 11 1 is a circuit diagram of the entire unlocking circuit in the first embodiment of the present invention;

[0031] Figure 12 is a circuit structure diagram of the status light circuit in the first embodiment of the present invention;

[0032] Figure 13 1 is a circuit diagram of an electric lock connection circuit in a first embodiment of the present invention;

[0033] Figure 14 1 is a circuit structure diagram of an indicator light connection circuit in Embodiment 1 of the present invention;

[0034] Figure 15 is a circuit structure diagram of a driving circuit in Embodiment 1 of the present invention;

[0035] Figure 16 1 is a circuit structure diagram of an electric lock detection circuit in Embodiment 1 of the present invention;

[0036] Figure 17 is a block diagram of an electric lock detection device in a second embodiment of the present invention;

[0037] Figure 18 is a circuit structure diagram of the address coding circuit in the second embodiment of the present invention;

[0038] Figure 19 It is a circuit structure diagram of the RS485 communication circuit in the second embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the technical means, creative features, objectives and effects of the present invention easier to understand, the electric lock detection device of the present invention is described in detail below with reference to the embodiments and drawings.

[0040] <Example 1>

[0041] Figure 1 2 is a schematic structural diagram of an electric lock detection device in an embodiment of the present invention.

[0042] like Figure 1 As shown, the electric lock detection device 10 includes a placement frame 20, a detection board 30, and a display module 50. In this embodiment, the display module 50 is an indicator light 51, which is two red and green light emitting diodes. The number of electric locks 60 is eight, and accordingly, the number of indicator lights 51 is also eight.

[0043] The placement rack 11 is used to fix the electric lock 60 to be tested. The eight lock control panels 40 correspond to the eight electric locks 60 and the eight indicator lights 51, and are used to control the electric locks 60 and the indicator lights 51. The detection board 30 is used to detect the electric locks 60.

[0044] Figure 2 1 is a structural diagram of an electric bolt lock in an embodiment of the present invention.

[0045] like Figure 2 As shown, the electric bolt lock 60 comprises a lock body 61 and a lock hook 62. The lock body 61 has a lock hook opening 611. The lock hook 62 engages the lock hook opening 611 to lock the lock, and pops out of the lock hook opening 611 to unlock the lock. The lock body 61 also has a notch 612 and a connecting end 613. The notch 612 is provided to facilitate removal of the lock body 61, and the connecting end 613 is used to securely install the lock body 61. The lock hook 62 also has a mounting end 621 with two mounting holes for screws.

[0046] In this embodiment, the electric lock 60 is a four-wire electric lock having four leads, namely a power line, a ground line, an unlock signal line, and a lock status signal line. All four leads are connected to the terminals of the electric lock.

[0047] Figure 3 1 is a structural diagram of a placement rack according to an embodiment of the present invention. Figure 3 The structure in is rotated to obtain Figure 4 , Figure 4 2 is a structural diagram of a placement rack at different angles according to an embodiment of the present invention.

[0048] like Figure 3 and Figure 4 As shown, the placement rack 20 includes a base 21, eight fixing slots 22, and eight brackets 23. The base 21 is used to support the fixing slots 22 and the brackets 23. The fixing slots 22 are used to fix the lock body 61 of the electric lock 60, and the brackets 23 are used to fix the lock hook 62 and drive the lock hook 62 to move.

[0049] The base 21 has two side support plates 211 , an upper cover plate 212 and a pad 213 .

[0050] The two side support plates 211 are arranged opposite to each other, the two ends of the upper cover plate 212 are respectively connected to the top of the two side support plates 211, and the two ends of the pad 213 are respectively connected to the bottom of the two side support plates 211. The upper cover plate 212 and the pad 213 are parallel to the horizontal plane.

[0051] Eight fixing slots 22 are disposed between the upper cover 212 and the backing plate 213. The upper cover 212 is provided with rectangular openings corresponding to the eight fixing slots 22. The shape and size of the fixing slots 22 match those of the lock body 61. A notch 221 is defined at the bottom of the fixing slot 22. This notch 221 matches the notch 612 of the electric bolt 60, allowing the lock body 61, once inserted into the fixing slot 22, to be easily ejected through the notch 221.

[0052] The eight brackets 23 are positioned to correspond to the eight fixed slots 22. The brackets 23 include a sub-bracket 231, a rotating bracket 232, and an end rotating plate 233. The sub-bracket 231 is fixed to the same side of the upper cover 212 and the backing plate 213 by screws. The sub-bracket 231 has a bracket opening 2311 for passing the leads of the electric lock 60. One end of the rotating bracket 232 is movably connected to the sub-bracket 231, and one end of the end rotating plate 233 is movably connected to the other end of the rotating bracket 233. Both the rotating bracket 232 and the end rotating plate 233 can rotate 90 degrees in the vertical direction. An indicator light 51 is provided on the upper portion of the sub-bracket 231 to indicate the status of the electric lock 60 in the corresponding fixed slot 22. The end rotating plate 233 is used to fix the locking hook 62. The shape of the lower surface of the end rotating plate 233 matches the mounting end 621 of the locking hook 62, and two mounting holes are provided on the end rotating plate 233, corresponding to the two mounting holes of the mounting end 621, so that the locking hook 62 can be installed on the lower surface of the end rotating plate 233 and fixed by screws.

[0053] Figure 5 1 is a structural diagram of the placement rack in use according to an embodiment of the present invention.

[0054] like Figure 5 As shown, the lock body 61 is vertically embedded in the installation groove 22 through the rectangular opening, and the portion of the lock body 61 with the lock hook opening 611 protrudes upward from the installation groove 22 to facilitate the buckling of the lock hook 62.

[0055] The locking hook 62 is fixedly mounted on the end rotating plate 233 .

[0056] When the rotating frame 232 and the end rotating plate 233 of the bracket 23 rotate vertically upward, driving the lock hook 62 to lift upward and leave the lock hook opening 611, the electric lock 60 is now in the unlocked state.

[0057] Figure 6 2 is a structural diagram of another usage state of the placement rack in an embodiment of the present invention.

[0058] like Figure 6 As shown in FIG, when the rotating frame 232 and the end rotating plate 233 of the bracket 23 rotate vertically downward, the lock hook 62 is driven downward to buckle into the lock hook opening 611. At this time, the electric latch 60 is in a locked state.

[0059] The detection board 30 includes a power supply module 31, a main control module 32, a connection module 33, a drive module 34 and a detection module 35. Figure 1 As shown in .

[0060] The power supply module 31 includes a first power supply, a second power supply, a third power supply, a first power conversion circuit 311 and a second power conversion circuit 312 .

[0061] Figure 7 is a circuit diagram of a first power conversion circuit in an embodiment of the present invention.

[0062] like Figure 7 As shown, the first power conversion circuit 311 includes a synchronous buck chip U102, a terminal P113, a TVS diode D103, an electrolytic capacitor C110, a fixed capacitor C111, a fixed capacitor C108, a fixed capacitor C112, a fixed capacitor C113, a fixed capacitor C114, a resistor R109, a resistor R111 and an inductor L100.

[0063] The synchronous buck chip U102 has pins 1-10.

[0064] After TVS diode D103, electrolytic capacitor C110, and fixed-value capacitor C111 are connected in parallel, one end is simultaneously connected to pin 2 of terminal P113, the first power supply, and pin 5 of synchronous buck chip U102, and the other end is simultaneously connected to pin 1 of terminal P113, pin 2 of synchronous buck chip U102, and ground. The positive electrode of electrolytic capacitor C110 is connected to the first power supply. Fixed-value capacitor C108 has one end connected to pin 1 of synchronous buck chip U102, and the other end connected to both pin 6 of synchronous buck chip U102 and one end of inductor L100. Resistor R109, after being connected in parallel with fixed-value capacitor C112, has one end connected to both the second power supply and the other end of inductor L100, and the other end connected to both pin 3 of synchronous buck chip U102 and one end of resistor R111. The other end of resistor R111 is grounded. The fixed value capacitor C113 and the fixed value capacitor C114 are connected in parallel, one end of which is connected to the other end of the inductor L100 and the second power supply, and the other end is grounded. Pin 4 of the synchronous buck chip U102 is connected to pin 5 of the synchronous buck chip U102.

[0065] The model of synchronous buck chip U102 is SY8113B, the model of TVS diode D103 is SMAJ15CA, the capacitance of electrolytic capacitor C110 is 220uF, the rated voltage of electrolytic capacitor C110 is 25V, the capacitance of fixed capacitor C111 and fixed capacitor C113 are both 22uF, the capacitance of fixed capacitor C108 is 100nF, the capacitance of fixed capacitor C112 is 100pF, the capacitance of fixed capacitor C114 is 10uF, and the inductance of inductor L100 is 4.7uH.

[0066] The first power conversion circuit 311 converts the first power into a second power. The first power is 12V and the second power is 5V.

[0067] Figure 9 is a circuit diagram of a second power conversion circuit in an embodiment of the present invention.

[0068] like Figure 9 As shown, the second power conversion circuit 312 includes a buck regulator chip U103, a fixed-value capacitor C122, a fixed-value capacitor C123, an electrolytic capacitor C124, a fixed-value capacitor C125, and a fixed-value capacitor C126.

[0069] Buck regulator chip U103 has pins 1-4.

[0070] Fixed-value capacitors C122 and C123 are connected in parallel, with one end connected to both the second power supply and pin 3 of buck regulator chip U103, and the other end connected to both pin 1 of buck regulator chip U103 and signal ground. Electrolytic capacitor C124, fixed-value capacitors C125, and fixed-value capacitor C126 are connected in parallel, with one end connected to both the third power supply and pins 4 and 5 of buck regulator chip U103, and the other end connected to signal ground. The positive electrode of electrolytic capacitor C124 is connected to the third power supply.

[0071] The model of the step-down regulator chip is ASM1117-3.3, the capacitance of the fixed capacitor C122 and the fixed capacitor C125 are both 22uF, the capacitance of the fixed capacitor C123 and the fixed capacitor C126 are both 100nF, the capacitance of the electrolytic capacitor C124 is 100uF, and the rated voltage is 16V.

[0072] The second power conversion circuit 312 converts the second power into a third power, and the third power is 3.3V.

[0073] The main control module 32 includes a main control circuit 321 , a full unlock control circuit 322 , and a status light circuit 323 .

[0074] Figure 10 4 is a circuit diagram of a main control circuit in an embodiment of the present invention.

[0075] like Figure 10 As shown, the main control circuit 321 includes a control chip U101A, a control chip U101B, a crystal oscillator Y100, a crystal oscillator Y101, a fixed-value capacitor C105, a fixed-value capacitor C106, a fixed-value capacitor C107, a fixed-value capacitor C109, a fixed-value capacitor C116, a fixed-value capacitor C117, a fixed-value capacitor C118, a fixed-value capacitor C119, a fixed-value capacitor C120, a fixed-value capacitor C121 and a resistor R107.

[0076] The control chips U101A and U101B have pins 1 to 48. The crystal oscillator Y100 has pins 1 and 2. The crystal oscillator Y101 has pins 1 to 4.

[0077] Pin 1 of crystal oscillator Y100 is connected to both pin 3 of control chip U101A and one end of fixed-value capacitor C105, the other end of which is grounded. Pin 2 of crystal oscillator Y100 is connected to both pin 4 of control chip U101A and fixed-value capacitor C107, the other end of which is grounded. Pin 1 of crystal oscillator Y101 is connected to both pin 5 of control chip U101A and one end of fixed-value capacitor C106, the other end of which is grounded. Pin 2 of crystal oscillator Y101 is connected to both pin 5 of control chip U101A and one end of fixed-value capacitor C106, the other end of which is grounded. Pin 3 of crystal oscillator Y101 is connected to both one end of fixed-value capacitor C109 and pin 6 of control chip U101A, the other end of which is grounded. Pins 2 and 4 of crystal oscillator Y101 are short-circuited. One end of resistor R107 is connected to pin 44 of control chip U101A, the other end of which is grounded. Pin 35 of the control chip U101A is grounded, and pin 36 of the control chip U101A is connected to a third power source.

[0078] The other pins of the control chip U101A are connected to other circuits, which will be described in detail below.

[0079] Fixed-value capacitors C116, C117, C118, and C119 are connected in parallel, with one end connected to both the third power supply and pins 1, 24, and 48 of the control chip U101B, and the other end connected to ground. Fixed-value capacitors C120 and C121 are connected in parallel, with one end connected to both the third power supply and pin 9 of the control chip U101B, and the other end connected to ground. Pins 8, 23, and 47 of the control chip U101B are grounded.

[0080] The models of control chips U101A and U101B are STM32F030CCT6, the frequency of crystal oscillator Y100 is 32.768KHz, the frequency of crystal oscillator Y101 is 8MHz, the capacitance of fixed capacitor C105 and fixed capacitor C107 are both 4.3pF, the capacitance of fixed capacitor C106 and fixed capacitor C109 are both 20pF, the capacitance of fixed capacitor C116 is 4.7nF, the capacitance of fixed capacitors C117, C118 and C119 are all 100nF, the capacitance of fixed capacitor C120 is 1uF, and the capacitance of fixed capacitor C121 is 10nF.

[0081] Figure 11 1 is a circuit diagram of all unlocking circuits in an embodiment of the present invention.

[0082] like Figure 11 As shown, the full unlock control circuit 322 includes a switch KEY100 and a resistor R112 .

[0083] One end of the switch KEY100 is connected to the pin 18 of the control chip and is also connected to the third power supply through the resistor R112 , and the other end of the switch KEY100 is grounded.

[0084] The resistance of resistor R112 is 10KΩ.

[0085] When the switch KEY100 is pressed, the control chip U101A controls the lock hooks 62 of all the electric locks 60 to pop out in sequence.

[0086] Figure 12 4 is a circuit diagram of a status light circuit in an embodiment of the present invention.

[0087] like Figure 12 As shown, the status light circuit 323 includes a status light D104 , a status light D105 , a resistor R113 , and a resistor R114 .

[0088] One end of status light D104 is connected to pin 20 of control chip U101A, and the other end of status light D104 is connected to one end of resistor R113, which is connected to the third power supply. One end of status light D105 is connected to pin 19 of control chip U101A, and the other end of status light D105 is connected to one end of resistor R114, which is connected to the third power supply.

[0089] The resistance values ​​of the resistor R113 and the resistor R114 are both 1KΩ, the status light D104 is a red chip light emitting diode, and the status light D105 is a green chip light emitting diode.

[0090] When the detection board 30 is powered on normally, the status light D104 flashes once per second.

[0091] The connection module 33 includes eight electric lock connection circuits 331 and eight indicator light connection circuits 332 .

[0092] The electric lock connection circuit 331 includes an electric lock connection circuit A 331 a and an electric lock connection circuit B 331 b , both of which have the same circuit structure and component parameters. The following description will take the electric lock connection circuit A 331 a as an example.

[0093] Figure 13 1 is a circuit diagram of an electric lock connection circuit in an embodiment of the present invention.

[0094] like Figure 13 As shown, electric lock connection circuit A 331a includes terminal P1, field effect transistor Q1A, resistor R3, and diode D1. Terminal P1 has pins 1-4. Field effect transistor Q1A has pins 3-6, with pin 4 being the source, pin 3 being the gate, and pins 5 and 6 being the drain.

[0095] Terminal P1 is connected to the electric lock 60. Pin 3 of FET Q1A is connected to both pin 3 of terminal P1 and ground. Pin 4 of FET Q1A is connected to one end of resistor R3. The other end of resistor R3 is connected to both pin 3 of FET Q1A and ground. Pins 5 and 6 of FET Q1A are short-circuited and connected to both pin 2 of terminal P1 and the anode of diode D1. The cathode of diode D1 is connected to both the first power source and pin 1 of terminal P1. Pin 4 of terminal P1 is connected to one end of resistor R1. The other end of resistor R1 is connected to the third power source.

[0096] The model of terminal P1 is XH2.54-4P, the model of field effect tube Q1A is NCE6005A, the model of diode D1 is IN4007, and the resistance value of resistor R1 is 10K.

[0097] The electric lock connection circuit B 331b includes a terminal P2, a field effect transistor Q1B, a resistor R4, and a diode D2. The field effect transistor Q1B has pins 3-6.

[0098] The indicator light connection circuit 332 includes an indicator light connection circuit A 332a and an indicator light connection circuit B 332b, both of which have the same circuit structure and component parameters. The following description will take the indicator light connection circuit A 332a as an example.

[0099] Figure 14 1 is a circuit diagram of an indicator light connection circuit in an embodiment of the present invention.

[0100] like Figure 14 As shown, the indicator light connection circuit A 332a includes a terminal D3, a transistor Q2, a transistor Q4, a resistor R5, a resistor R6, a resistor R9 and a resistor R10. The terminal D3 has pins 1-3.

[0101] Terminal D3 is connected to indicator light 51. Pin 1 of terminal D3 is connected to a first power source, pin 2 of terminal D3 is connected to one end of resistor R5, and pin 3 of terminal D3 is connected to one end of resistor R6. The collector of transistor Q2 is connected to the other end of resistor R5, the base of transistor Q2 is connected to one end of resistor R9, and the emitter of transistor Q2 is connected to both the other end of resistor R9 and ground. The collector of transistor Q4 is connected to the other end of resistor R6, the base of transistor Q2 is connected to one end of resistor R10, and the emitter of transistor Q4 is connected to both the other end of resistor R10 and ground.

[0102] The model of terminal D3 is XH2.54-3P, the models of transistor Q2 and transistor Q4 are both SI2302, the resistance value of resistor R5 is 1KΩ, the resistance value of resistor R6 is 0Ω, and the resistance values ​​of resistor R9 and resistor R10 are both 1MΩ.

[0103] Terminal D3 can be connected to two light-emitting diodes. In this embodiment, indicator light 51 includes a red LED and a green LED. When terminal D3 is connected to the red and green LEDs, the anode of the red LED corresponds to pin 1 of terminal D3, and the cathode of the red LED corresponds to pin 2 of terminal D3. The anode of the green LED corresponds to pin 1 of terminal D3, and the cathode of the green LED corresponds to pin 3 of terminal D3.

[0104] The indicator light connection circuit B 332 b includes a terminal D4 , a transistor Q2 , and a transistor Q5 .

[0105] The driving module 34 includes a driving circuit 341 .

[0106] Figure 15 4 is a circuit diagram of a driving circuit in an embodiment of the present invention.

[0107] like Figure 15 As shown, the driving circuit 341 includes a resistor R200, a resistor 201, a fixed capacitor C201, a diode D200, and six cascaded shift register chips U200, U202, U204, U205, U206, and U207. The shift register chip has pins 1-15.

[0108] After resistor R200 and diode D200 are connected in parallel, one end is connected to the third power supply, and the other end is connected to both fixed capacitor C201 and pin 10 of the six shift register chips. The cathode of diode D200 is connected to the third power supply. One end of resistor R201 is connected to the third power supply, and the other end is connected to pin 13 of the six shift register chips. Pin 16 of the six shift register chips is all connected to the third power supply. Pin 8 of the six shift register chips is all grounded. Pin 11 of the six shift register chips is all connected to pin 26 of the control chip U101A. Pin 9 of the six shift register chips is respectively connected to pin 14 of the next shift register chip connected in series. Pin 14 of the first shift register chip U200 is connected to pin 28 of the control chip U101A.

[0109] Pins 15 and pins 1-7 of the first to fourth shift register chips U200 , U202 , U204 , and U205 are sequentially connected to eight indicator light connection circuits 332 , and further connected to eight indicator lights 51 .

[0110] Specifically, pin 7 of the shift buffer chip U200 is connected to the base of the transistor Q2 in the first indicator light connection circuit A 332a, pin 6 of the shift buffer chip U200 is connected to the base of the transistor Q4 in the first indicator light connection circuit A 332a, pin 5 of the shift buffer chip U200 is connected to the base of the transistor Q3 in the first indicator light connection circuit B 332b, and pin 4 of the shift buffer chip U200 is connected to the base of the transistor Q5 in the first indicator light connection circuit B 332b, that is, pin 7-4 of the shift buffer chip U200 is connected to the first indicator light 51. Similarly, pin 3 of the shift register chip U200 is connected to the base of transistor Q2 in the second indicator light connection circuit A 332a, pin 2 of the shift register chip U200 is connected to the base of transistor Q4 in the second indicator light connection circuit A 332a, pin 1 of the shift register chip U200 is connected to the base of transistor Q3 in the second indicator light connection circuit B 332b, and pin 15 of the shift register chip U200 is connected to the base of transistor Q5 in the second indicator light connection circuit B 332b. That is, pins 3-1 and 15 of the shift register chip U200 are connected to the second indicator light 51.

[0111] Pins 7 - 1 and 15 of the shift register chips U202 , U204 , and U205 are connected to the remaining six indicator light connection circuits 332 in the same manner, and further connected to the remaining six indicator lights 51 .

[0112] Pin 15 and pins 1-7 of the fifth shift register chip U206 and the sixth shift register chip U207 are sequentially connected to eight electric lock connection circuits 331 and further connected to eight electric plugs 60 .

[0113] Specifically, pin 15 of the shift register chip U206 is connected to pin 4 of the field effect transistor Q1A in the first electric lock connection circuit A 331a, and pin 1 of the shift register chip U206 is connected to pin 4 of the field effect transistor Q1B in the first electric lock connection circuit B 331b. In other words, pins 15 and 1 of the shift register chip U206 are connected to the first electric lock 60. Similarly, pin 2 of the shift register chip U206 is connected to pin 4 of the field effect transistor Q1A in the second electric lock connection circuit A 331a, and pin 3 of the shift register chip U206 is connected to pin 4 of the field effect transistor Q1B in the second electric lock connection circuit B 331b. In other words, pins 2-3 of the shift register chip U206 are connected to the second electric lock 60. Similarly, pins 4-5 of the shift register chip U206 are connected to the third electric lock 60, and pins 6-7 of the shift register chip U206 are connected to the fourth electric lock 60.

[0114] Pin 15 and pins 1-7 of the shift register chip U207 are connected to the remaining four electric latch connection circuits 331 in the same manner, and further connected to the remaining four electric latches 60 .

[0115] The displacement register chips U200, U202, U204, U205, U206, and U207 are all of model 74HC595D, the resistance values ​​of resistors R200 and R201 are both 4.7KΩ, the capacitance of fixed capacitor C201 is 1uF, and the model of diode D200 is IN4148.

[0116] The shift register chips all have serial input and eight-bit parallel output. Therefore, the control signals of the eight electric locks 61 and the eight indicator lights 51 of the control chip U101A are input into the shift register chip as serial data. Then the shift register chip can simultaneously output the control signals to the eight electric locks 60 and the eight indicator lights 51.

[0117] The detection module 35 includes an electric lock detection circuit 351 .

[0118] Figure 16 1 is a circuit diagram of an electric lock detection circuit in an embodiment of the present invention.

[0119] like Figure 16 As shown, the electric lock detection circuit 351 includes a fixed-value capacitor C200, a fixed-value capacitor C202 and two cascaded shift register chips U201 and U203.

[0120] One end of the fixed capacitor C200 is connected to the third power supply, and the other end of the fixed capacitor C200 is connected to pin 15 of the shift register chip U201 and grounded. One end of the fixed capacitor C202 is connected to the third power supply, and the other end is connected to pin 15 of the shift register chip U202 and grounded. Pin 1 of the two shift register chips is connected to pin 14 of the control chip U101A, pin 2 of the two shift register chips is connected to pin 15 of the control chip, pin 16 of the two shift register chips is connected to the third power supply, pin 8 of the two shift register chips is grounded, pin 9 of the shift register chip U201 is connected to pin 10 of the cascaded shift register chip U203, and pin 9 of the shift register chip U203 is connected to pin 16 of the control chip.

[0121] Pins 3-6 and pins 11-14 of the two shift register chips U201 and U203 are sequentially connected to eight electric lock connection circuits 331 and further connected to eight electric locks 60 .

[0122] Specifically, pin 11 of the shift register chip U203 is connected to pin 4 of terminal P1 in the first electric lock connection circuit A 331a, and pin 12 of the shift register chip U203 is connected to pin 4 of terminal P2 in the first electric lock connection circuit B 331b. In other words, pins 11 and 12 of the shift register chip U203 are connected to the first electric lock 60. Similarly, pin 13 of the shift register chip U203 is connected to pin 4 of terminal P1 in the second electric lock connection circuit A 331a, and pin 14 of the shift register chip U203 is connected to pin 4 of terminal P2 in the second electric lock connection circuit B 331b. In other words, pins 13 and 14 of the shift register chip U203 are connected to the second electric lock 60. Similarly, pins 3 and 4 of the shift register chip U203 are connected to the third electric lock 60, and pins 5 and 6 of the shift register chip U203 are connected to the fourth electric lock 60.

[0123] Pins 11 - 14 and pins 3 - 6 of the shift register chip U201 are connected to the remaining four electric latch connection circuits 331 in the same manner, and further connected to the remaining four electric latches 60 .

[0124] The models of the shift register chips U201 and U203 are both 74HC165D, and the capacitances of the fixed-value capacitors C200 and C202 are both 100nF.

[0125] The shift register chip has eight-bit parallel input and serial output, so it can read the status of eight electric locks 60 at the same time and convert the read status information into serial data and output it to the control chip U101A.

[0126] In this embodiment, multiple electric locks are detected according to the following steps:

[0127] Step S1: The lock bodies 61 of the eight electric locks 60 are sequentially placed in the eight fixing slots 22 of the placement rack 20, and the lock hooks 62 of the eight electric locks 60 are sequentially fixed to the hooks 234 of the eight brackets 23. At this time, the eight electric locks 60 are all in the unlocked state;

[0128] Step S2, inserting the terminals of the eight electric locks 60 into the terminals of the eight electric lock connection circuits 331 in sequence, and inserting the terminals of the eight indicator lights 51 into the terminals of the eight indicator light connection circuits 332 in sequence;

[0129] Step S3: Connect the detection board 30 to a 12V external power supply and check whether the detection board 30 is powered on normally by the status light;

[0130] Step S4: Check that the detection board 30 is powered on normally. Press the rotating plate 233 at the end of the bracket 23 by hand to drive the lock hook 62 into the lock body 61, so that one or more electric locks 60 are locked. Observe whether the corresponding indicator light 51 is always on.

[0131] Step S5 , pressing the switch KEY100 , so that all the lock hooks 62 buckled into the lock body 61 pop out in sequence, so that all the electric locks 60 are unlocked, and observing whether the corresponding indicator lights 51 are off.

[0132] <Example 2>

[0133] For the sake of convenience, the same symbols are given to the same structures in this embodiment as in the first embodiment, and the same descriptions are omitted.

[0134] In the first embodiment, the display module 50 is an indicator light 51, specifically eight LED indicators. When the lock hook 62 is engaged with the lock body 61, i.e., the electric bolt 60 is locked, the corresponding indicator light 51 turns off. When the lock hook 62 is released from the lock body 61, i.e., the electric bolt 60 is unlocked, the corresponding indicator light 51 turns on continuously, thereby indicating the status of the electric bolt 60.

[0135] Figure 17 is a block diagram of the electric lock detection device in this embodiment.

[0136] like Figure 17 As shown, compared with the first embodiment, in this embodiment, the display module 50 further includes a display terminal 52 and an operation terminal 53 adapted to the display terminal 52 .

[0137] The display terminal 52 is used to display the status of the electric lock 60, and the operation terminal 53 is used to send control commands to the electric lock 60. In this embodiment, the operation terminal 53 is a computer, and the display terminal 52 is a display screen connected to the computer, which is connected to the main control module 31 of the detection board 30 via a USB to serial port module.

[0138] Accordingly, the main control module 32 further includes an address encoding circuit 324 for providing the control command with the physical address of the detection board 30. The detection board 20 further includes a communication module 36, which includes an RS485 communication circuit 361 for providing a standard serial interface for the display terminal 52 and the operation terminal 53.

[0139] Figure 18 4 is a circuit diagram of an address coding circuit in an embodiment of the present invention.

[0140] like Figure 18 As shown, the address coding circuit 324 includes a dip switch P109, a resistor R115, a resistor R117, a resistor R118, a resistor R122, and two voltage stabilizing diodes U106. The address coding circuit 361 has pins 1-8.

[0141] Pin 1 of the dip switch P109 is connected to pin 41 of the control chip U101A, pin 2 of the dip switch P109 is connected to pin 42 of the control chip U101A, pin 3 of the dip switch P109 is connected to pin 43 of the control chip U101A, pin 4 of the dip switch P109 is connected to pin 45 of the control chip U101A, and pins 5-8 of the dip switch P109 are all grounded.

[0142] One end of resistor R115 is connected to the third power supply, and the other end of resistor R115 is connected to pin 1 of DIP switch P109. One end of resistor R117 is connected to the third power supply, and the other end of resistor R117 is connected to pin 2 of DIP switch P109. One end of resistor R118 is connected to the third power supply, and the other end of resistor R118 is connected to pin 3 of DIP switch P109. One end of resistor R122 is connected to the third power supply, and the other end of resistor R122 is connected to pin 4 of DIP switch P109. Pin 1 of the first Zener diode U106 is connected to pin 2 of DIP switch P109, and pin 2 of the first Zener diode U106 is connected to pin 1 of DIP switch P109. Pin 1 of the second Zener diode U106 is connected to pin 4 of DIP switch P109, and pin 2 of the second Zener diode U106 is connected to pin 3 of DIP switch P109.

[0143] The model of the dip switch P109 is DSWB04LHGET, the resistance values ​​of the resistors R115, R117, R118 and R122 are all 10KΩ, and the model of the Zener diode U106 is MMBZ6V2A.

[0144] Pins 1-4 of the DIP switch P109 output bits 0-3 of the physical address of the detection board 30 respectively.

[0145] The communication module 36 includes an RS485 communication circuit 361 .

[0146] Figure 19 4 is a circuit diagram of an RS485 communication circuit in an embodiment of the present invention.

[0147] like Figure 19 As shown, the RS485 communication circuit 361 includes a terminal P101, a 485 communication chip U100, a diode D100, a resistor R100, a resistor R101, a resistor R102, a resistor R103, a resistor R104, a resistor R124, a fixed-value capacitor C100, a fixed-value capacitor C134, and a fixed-value capacitor C135.

[0148] Terminal P101 is used to provide an external RS485 interface and has pins 1 and 2. The 485 communication chip U100 has pins 1-8.

[0149] Pin 1 of the 485 communication chip U100 is connected to one end of resistor R124. The other end of resistor R124 is connected to both the anode of diode D1 and pin 31 of control chip U101A. The cathode of diode D2 is connected to both the third power supply and one end of resistor R100. The other end of resistor R100 is connected to both pin 2 and pin 3 of the 485 communication chip U100. Pin 4 of the 485 communication chip U100 is connected to one end of resistor R104. The other end of resistor R104 is connected to pin 30 of control chip U101A. Pin 5 of the 485 communication chip U100 is grounded. Pin 6 of the 485 communication chip U100 is connected to one end of resistor R101. The other end of resistor R101 is connected to both one end of fixed-value capacitor C134 and one end of resistor R102. The other end of fixed-value capacitor C134 is grounded. The other end of resistor R102 is connected to pin 1 of terminal P101. Pin 7 of the 485 communication chip U100 is connected to one end of resistor R103. The other end of resistor R103 is connected to both pin 2 of terminal P101 and one end of fixed-value capacitor C135. The other end of fixed-value capacitor C135 is grounded. Pin 8 of the 485 communication chip U100 is connected to both one end of fixed-value capacitor C100 and the second power supply. The other end of fixed-value capacitor C100 is grounded.

[0150] The model of 485 communication chip U100 is MAX485ESA, the model of diode D100 is IN60B, the resistance of resistor R100 is 10KΩ, the resistance of resistor R101 and resistor R103 are both 22Ω, the resistance of resistor R102 is both 120Ω, the resistance of resistor R104 is both 100Ω, the resistance of resistor R124 is both 1KΩ, the capacitance of fixed capacitor C100 is 100nF, and the capacitance of fixed capacitor C134 and fixed capacitor C135 are both 470nF.

[0151] RS485 uses a bus topology, enabling multi-point bidirectional communication. One end of resistor R101 connects to pin 6 of the RS485 communication chip U100. The other end of resistor R101 serves as the RS485 A line. One end of resistor R103 connects to pin 7 of the RS485 communication chip U100. The other end of resistor R103 serves as the RS485 B line.

[0152] In this embodiment, the USB-to-serial port module is connected to the USB port of the operation terminal 53 and to the terminal P101 in the RS485 communication circuit of the detection board 30 , thereby realizing communication between the operation terminal 53 and the detection board 30 .

[0153] The physical address of the detection board 30 is set to 1. The formats of the control command and the response command are consistent, and their formats are shown in Table 1.

[0154] Table 1 Format of control commands and response commands

[0155] Field Word length describe SOP 1 Device identification code DestAddr 1 Target address code SrcAddr 1 Source address code Length 1 Data length Cmd 1 Main command code SubCmd 1 Subcommand code FrameData N Data content SN 1 Frame number CRC 2 CRC checksum

[0156] In this embodiment, the control command includes an unlock command and a lock status query command. Correspondingly, the response command includes an unlock response command and a lock status query response command.

[0157] The first electric lock 60 is unlocked by sending the following unlock command via the operating terminal 53:

[0158] AA 01 00 07 16 02 01 0E 4A D0

[0159] The fifth main command code 16 and the sixth sub-command code 02 represent an unlocking command, and the seventh data 01 represents the first electric bolt lock 60 .

[0160] After the unlock command is sent, the lock hook 62 of the first electric lock 60 pops out, and the operation terminal 53 receives the following unlock response command and displays it on the display terminal 52:

[0161] AA 00 01 07 16 02 00 03 9B 94

[0162] The fifth main command code 16 and the sixth sub-command code 02 represent the unlock command, and the seventh data 00 represents the successful execution of the unlock command. At the same time, when the unlock response command is received, the status lights D104 and D105 on the detection board 30 flash simultaneously and quickly, indicating that the correct response command has been received.

[0163] Afterwards, the following lock status query command is sent through the operation terminal 53 to query the status of the first electric lock 60:

[0164] AA 01 00 07 03 01 01 0E 4A D0

[0165] The fifth main command code 07 and the sixth sub-command code 01 represent a lock status query command, and the seventh data 01 represents the first electric bolt lock 60 .

[0166] After sending the lock status query command, the operation terminal 53 receives the following unlock response command and displays it on the display terminal 52:

[0167] AA 00 01 07 03 01 01 0E 4A D0

[0168] The fifth main command code 07 and the sixth sub-command code 01 represent a lock status query command, and the seventh data bit 01 indicates that the state of the first electric lock 60 is unlocked. At the same time, when the lock status query response command is received, the status lights D104 and D105 on the detection board 30 flash simultaneously and quickly, indicating that a correct response command has been received.

[0169] At the same time, the status of the electric lock 60 can also be obtained through the indicator light 51, and the status of the electric lock 60 obtained by the two display modes can be compared to obtain a more accurate detection result.

[0170] Example Function and Effect

[0171] According to the electric lock detection device 10 of the present invention, since it has a placement rack 20, and the placement rack 20 has a plurality of fixing slots 22 and a plurality of brackets 23 corresponding to the fixing slots 22, the fixing slots 22 are used to place the lock bodies 61 of the electric locks 60 to be detected, and the brackets 23 are used to fix the lock hooks 62 of the electric locks 60 and drive the lock hooks 62 to buckle into the lock bodies 61 to achieve locking. Therefore, the lock bodies 61 and lock hooks 62 of multiple electric locks 60 can be fixedly installed on the placement rack 20 at the same time for testing, which is very convenient; in addition, since it has a detection board 30 and a display module 50, the detection board 30 has a main control module 32, a connection module 33, a drive module 34 and a detection module 35, so the main control module 32 can simultaneously control the multiple electric locks 60 to unlock through the drive module 33, and the main control module 32 can also simultaneously obtain the status of the multiple electric locks 60 through the detection module 34, and can display the detection results through the display module 50.

[0172] Specifically, the bracket 23 has a sub-bracket 231, a rotating frame 232, an end rotating plate 233 and a hook 234. The two connecting ends of the rotating frame 232 and the end rotating plate 233 can be rotated in the vertical direction. Therefore, the lock hook 62 fixed on the hook 234 can be driven by the bracket 23 and buckled downward into the lock body 61 to achieve locking.

[0173] Furthermore, since the drive module 34 has a drive circuit 341, the drive circuit 341 is composed of six cascaded displacement buffer chips, and the displacement buffer chip has serial input and eight-bit parallel output. The serial input is connected to the main control module 32, and the eight-bit parallel output is respectively connected to the eight electric locks 60. Therefore, the main control module 32 can control the eight electric locks 60 simultaneously through the drive module 34.

[0174] Furthermore, since the detection module 35 has an electric lock detection circuit 351, the electric lock detection circuit 351 is composed of two cascaded shift register chips. The shift register chip has eight-bit parallel input and serial output. The eight-bit parallel input is connected to the eight electric locks 60 respectively, and the serial input is connected to the main control module 32. Therefore, the main control module 32 can read the status of the eight electric locks 60 simultaneously through the detection module 35, that is, detect the eight electric locks 60 at the same time.

[0175] In the first embodiment, the display module 50 is composed of eight indicator lights 51 , which respectively correspond to eight electric locks 60 . Therefore, the detection results of the corresponding electric locks 60 can be intuitively obtained through the eight indicator lights 51 .

[0176] In the second embodiment, the display module 50 also includes a display terminal 52, which is also connected to a corresponding operation terminal 53. The detection board 30 also includes corresponding circuits. Therefore, control commands can be sent to the electric lock 60 through the operation terminal 53, and corresponding response commands are obtained and displayed on the display terminal 52, thereby enabling more accurate control and detection of the electric lock 60. At the same time, the test results displayed on the display terminal 52 and the test results displayed by the indicator light 51 can be compared with each other, thereby obtaining more accurate test results.

[0177] The above embodiments are only used to illustrate specific implementations of the present invention, and the present invention is not limited to the description scope of the above embodiments.

Claims

1. An electric lock detection device for detecting the electric lock of an unmanned vending machine door, wherein the electric lock comprises a lock body and a lock hook, and is characterized in that: include: A placement rack, used for placing a plurality of the electric locks; A detection board, used for detecting the electric lock; as well as Display module, used to display the test results, The placement rack has a plurality of fixing slots and a plurality of brackets corresponding to the plurality of fixing slots. The fixing groove is used to fix the lock body. The bracket is used to fix the lock hook and drive the lock hook to lock. The detection board has a main control module, a power supply module, a drive module and a detection module. The power supply module has a first power supply, a second power supply and a third power supply, The driving module and the detection module are respectively connected to the electric lock, The main control module is connected to the driving module, the detection module and the display module respectively. The main control module controls the electric lock to unlock through the driving module, detects the state of the electric lock through the detection module, and displays the state through the display module.

2. The electric lock detection device according to claim 1, characterized in that: in, The main control module includes a control circuit, The control circuit includes a control chip, a crystal oscillator Y100 and a crystal oscillator Y101. The control chip has pins 1-48, The control chip is connected to the third power supply, the crystal oscillator Y100 and the crystal oscillator Y101 respectively. The model of the control chip is STM32F030CCT6, The frequency of the crystal oscillator Y100 is 32.768KHZ, and the frequency of the crystal oscillator Y101 is 8MHZ.

3. The electric lock detection device according to claim 2, characterized in that: in, The detection board further includes a connection module, which is connected to the electric lock, the driving module and the detection module respectively. The connection module includes a plurality of electric lock connection circuits, The electric lock connection circuit includes an electric lock connection circuit A and an electric lock connection circuit B. The electric lock connection circuit A includes a terminal P1, a resistor R3, a diode D1 and a field effect transistor Q1A. The terminal P1 is connected to the electric lock. The source of the field effect transistor Q1A is connected to the control chip, the gate is grounded, the drain is connected to the first power supply through the diode D1, and the anode of the diode D1 is connected to the drain. One end of the resistor R3 is connected to the source of the field effect transistor Q1A, and the other end is grounded. The resistance of the resistor R3 is 1MΩ, the model of the diode D1 is IN4007, and the model of the field effect transistor Q1A is NCE6005A. The electric lock connection circuit B includes a terminal P2, a resistor R4, a diode D2 and a field effect transistor Q1B. The circuit structure and component parameters of the electric lock connection circuit B are consistent with those of the electric lock connection circuit A.

4. The electric lock detection device according to claim 3, characterized in that: in, The number of the electric locks is eight. The driving module includes a driving circuit, The driving circuit includes a resistor R200, a resistor 201, a fixed-value capacitor C201, a diode D200, and six cascaded shift register chips. The shift register chip has pins 1-15, The resistor R200 and the diode D200 are connected in parallel, and one end thereof is connected to the third power supply, and the other end thereof is connected to both the fixed capacitor C201 and the pin 10 of the shift register chip, and the cathode of the diode D200 is connected to the third power supply. One end of the resistor R201 is connected to the third power supply, and the other end is connected to the pin 13 of the shift register chip. Pin 16 of the shift register chip is connected to the third power supply. Pin 8 of the shift register chip is grounded. Pin 11 of the shift register chip is connected to pin 26 of the control chip. Pin 12 of the shift register chip is connected to pin 25 of the control chip. Pin 9 of the shift register chip is connected to pin 14 of the next shift register chip in the cascade. The first pin 14 of the shift register chip is connected to the pin 28 of the control chip. Pin 15 and pins 1-7 of the fifth displacement register chip are sequentially connected to the first to fourth electric lock connection circuits, and further connected to the first to fourth electric locks. Pin 15 and pins 1-7 of the sixth shift register chip are sequentially connected to the fifth to eighth electric lock connection circuits, and further connected to the fifth to eighth electric locks. The displacement register chip is 74HC595D. The resistance values ​​of the resistor R200 and the resistor R201 are both 4.7KΩ, the capacitance of the fixed capacitor C201 is 1uF, and the model of the diode D200 is IN4148.

5. The electric lock detection device according to claim 4, characterized in that: in, The detection module includes an electric lock detection circuit, The electric lock detection circuit includes a fixed value capacitor C200, a fixed value capacitor C201 and two cascaded shift register chips. One end of the fixed value capacitor C200 is connected to the third power supply, and the other end is connected to the pin 15 of the first shift register chip and grounded. One end of the fixed value capacitor C201 is connected to the third power supply, and the other end is connected to the pin 15 of the second shift register chip and grounded. Pin 1 of the shift register chip is connected to pin 14 of the control chip, Pin 2 of the shift register chip is connected to pin 15 of the control chip, Pin 16 of the shift register chip is connected to the third power supply, Pin 8 of the shift register chip is grounded. Pin 9 of the first shift register chip is connected to pin 10 of the second shift register chip in cascade. The pin 9 of the second shift register chip is connected to the pin 16 of the control chip. Pins 3-6 and pins 11-14 of the shift register chip are sequentially connected to the eight electric lock connection circuits, and further connected to the eight electric locks. The model of the shift register chip is 74HC165D. The capacitance of the fixed-value capacitor C200 and the fixed-value capacitor C201 are both 100 nF.

6. The electric lock detection device according to claim 5, characterized in that: in, The display module includes at least one of an indicator light and a display terminal.

7. The electric lock detection device according to claim 6, characterized in that: in, The display module includes the indicator light, The connection module also includes a plurality of indicator light connection circuits, The indicator light connection circuit includes an indicator light connection circuit A and an indicator light connection circuit B. The indicator light connection circuit A includes a terminal D3, a resistor R5, a resistor R6, a resistor R9, a resistor R10, a transistor Q2 and a transistor Q4. Terminal D3 has pins 1-3, Pin 1 of the terminal D3 is connected to the first power supply, Pin 2 of the terminal is connected to one end of the resistor R5, The other end of the resistor R5 is connected to the collector of the transistor Q2. The collector of the transistor Q2 is connected to one end of the resistor R5, the base is connected to one end of the resistor R9, and the emitter is connected to the other end of the resistor R9 and is grounded. Pin 3 of the terminal D3 is connected to one end of the resistor R6, The other end of the resistor R6 is connected to the collector of the transistor Q3. The collector of the transistor Q3 is connected to one end of the resistor R6, the base is connected to one end of the resistor R10, and the emitter is connected to the other end of the resistor R10 and grounded. The resistance of the resistor R5 is 1KΩ, the resistance of the resistor R6 is 0Ω, the resistance of the resistor R9 and the resistance of the resistor R10 are both 1MΩ, the model of the transistor Q2 and the transistor Q3 are both SI2302, The indicator light connection circuit B includes a terminal D4, a resistor R7, a resistor R8, a resistor R11, a resistor R12, a transistor Q3 and a transistor Q5. The circuit structure and component parameters of the indicator light connection circuit B are consistent with those of the indicator light connection circuit A.

8. The electric lock detection device according to claim 7, characterized in that: in, There are eight indicator lights. The eight indicator lights correspond to the eight electric locks one by one. In the driving circuit, pins 15 and pins 1-7 of the first to fourth shift register chips are sequentially connected to the eight indicator light connection circuits, and further connected to the eight indicator lights.

9. The electric lock detection device according to claim 7, characterized in that: in, The main control module also includes a full unlocking control circuit for causing all the lock hooks on the placement rack to pop out in sequence. The entire unlocking control circuit includes a switch KEY100 and a resistor R112. One end of the switch KEY100 is connected to the control chip and to the third power supply through the resistor R112, and the other end is grounded. The resistance of the resistor R112 is 10KΩ.

10. The electric lock detection device according to claim 6, characterized in that: in, The display module includes the display terminal.

11. The electric lock detection device according to claim 10, characterized in that: in, The detection board also includes a communication module for providing an RS485 interface. The communication module includes an RS485 communication circuit, The RS485 communication circuit includes a terminal P101 and a 485 communication chip. The terminal P101 is used to provide the RS485 interface. The 485 communication chip is connected to the terminal P101, the control chip, the second power supply and the third power supply respectively, and is used to convert between parallel data and RS485 serial data. The model of the 485 communication chip is MAX485ESA. The display terminal is connected to the terminal P101 via a USB to serial port module.

12. The electric lock detection device according to claim 10, characterized in that: in, The main control module also has an address coding circuit for setting the physical address of the detection board. The address coding circuit includes a dial switch P109 and two voltage-stabilizing diodes U106. The DIP switch P109 is connected to the third power supply, the control chip, and the two voltage regulator diodes U106 respectively.

13. The electric lock detection device according to claim 1, characterized in that: in, The power supply module includes a first power conversion circuit and a second power conversion circuit. The first power conversion circuit includes a terminal P113 and a synchronous buck chip. The terminal P113 is connected to an external power source. The synchronous buck chip is connected to the terminal P113, the first power supply and the second power supply respectively, and is used to convert the first power supply into the second power supply. The second power conversion circuit includes a buck regulator chip, The step-down regulator chip is connected to the second power supply and the third power supply respectively, and is used to convert the second power supply into the third power supply. The model of the synchronous buck chip is SY8113B. The model of the buck regulator chip is ASM1117-3.

3. The first power supply is 12V, the second power supply is 5V, and the third power supply is 3.3V.

Citation Information

Patent Citations

  • Electric mortise lock detection device

    CN216209512U