Control circuit and control method of smart cabinet and smart cabinet

Through the combined design of power supply terminal, switch power supply circuit, electric lock circuit and switching circuit, the problem of excessive interfaces and cables of smart cabinet controller is solved, efficient lock control and item detection is achieved, and production and maintenance costs are reduced.

CN115079598BActive Publication Date: 2025-08-22HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210635787.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-06
Publication Date
2025-08-22
Estimated Expiration
2042-06-06

AI Technical Summary

Technical Problem

The number of controller input/output interfaces and cables in existing smart cabinets is too large, which leads to difficulties in production, manufacturing, assembly and maintenance, and is relatively high in costs, making it difficult to achieve locking, locking inspection, item inspection and light control functions of more than 24 grids.

Method used

The combined design of power supply terminal, switch power supply circuit, electric lock circuit, switching circuit and controller is adopted. The power supply control port and detection port are used to control the power on and off of the electric lock switch and the functional circuit in the cabinet, reducing the number of controller interfaces and cables, and using the switching circuit to detect the cabinet door status.

Benefits of technology

It reduces the number of interfaces and cables of the controller, simplifies production, manufacturing and maintenance, reduces costs, and realizes efficient lock control, lock inspection and item inspection functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115079598B_ABST
    Figure CN115079598B_ABST
Patent Text Reader

Abstract

The present application provides a control circuit of a smart cabinet, a control method thereof, and a smart cabinet. The control circuit includes a power supply end, a switch power supply circuit, an electric lock circuit, and a controller. The electric lock circuit includes an electric lock switch, an in-cabinet functional circuit, and a switching circuit. The controller includes a detection port and a power supply control port. The controller is used to detect the electrical signal of the electric lock circuit through the detection port, and is used to respond to the opening instruction indicating the opening of the cabinet door, and control the power supply switch to be turned on through the power supply control port, so that the electric lock switch is connected to the power supply end to open the cabinet door of the cabinet; when the electrical signal of the detection port is detected to indicate that the cabinet door is closed, the power supply switch is controlled to be disconnected, so that the electric lock circuit is disconnected from the power supply end. By utilizing the power supply control port and the detection port of the controller, the cabinet door of the cabinet can be opened and functions such as object detection after opening can be realized. The number of interfaces and cables connected to the interfaces is small, which is conducive to production, assembly and maintenance, and reduces costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a control circuit and a control method of an intelligent cabinet, and an intelligent cabinet. Background Art

[0002] Smart cabinets are high-performance, high-reliability cabinets with self-diagnosis and automatic control capabilities and network communication capabilities. Smart cabinets consist of multiple compartments. In related smart cabinets, the controller controls each compartment's lock control, lock detection, object detection, and lighting control functions. However, the controllers often require numerous input / output interfaces and cables, making manufacturing, assembly, and maintenance difficult and costly. Summary of the Invention

[0003] The present application provides a control circuit and a control method of a smart cabinet and a smart cabinet with reduced costs.

[0004] The present application provides a control circuit for a smart cabinet, wherein the smart cabinet includes multiple compartments, and the control circuit includes:

[0005] The power supply end includes a first power supply end and a second power supply end;

[0006] a switch power supply circuit, electrically connected to the power supply end, and comprising a power supply output end and a power supply switch connected in series between the power supply end and the power supply output end;

[0007] An electric lock circuit is electrically connected to the power supply output terminal, is connected in series with the power supply switch between the first power supply terminal and the second power supply terminal, and includes:

[0008] An electric lock switch is provided in the cabinet and electrically connected to the power supply output terminal;

[0009] The functional circuit inside the cabinet is arranged in the cabinet compartment;

[0010] a switching circuit electrically connected to the electric lock switch and the functional circuit in the cabinet, the switching circuit including a first switching state and a second switching state, the switching circuit being switchable between the first switching state and the second switching state; when the cabinet door of the cabinet compartment is in a closed state, the switching circuit is in the first switching state, disconnecting the functional circuit in the cabinet from the power output end or the power supply end, thereby powering off the functional circuit in the cabinet; when the cabinet door of the cabinet compartment is in an open state, the switching circuit is in the second switching state, connecting the functional circuit in the cabinet with the power output end and the power supply end, thereby powering on the functional circuit in the cabinet; and

[0011] The controller includes a detection port and a power supply control port. The detection port is electrically connected to the electric lock circuit. The controller is used to detect the electrical signal of the electric lock circuit through the detection port; the power supply control port is electrically connected to the switch power supply circuit. The controller is used to respond to an opening instruction indicating to open the cabinet door of the cabinet compartment, and control the power supply switch to be turned on through the power supply control port, so that the electric lock switch is connected to the power supply end to open the cabinet door of the cabinet compartment; when the electrical signal of the detection port is detected to indicate that the cabinet door is closed, the power supply switch is controlled to be turned off, so that the electric lock circuit is disconnected from the power supply end.

[0012] Optionally, the first power supply end includes a first power supply end and a second power supply end, the first power supply end is used to receive a first power supply voltage, the second power supply end is used to receive a second power supply voltage, and the second power supply end is a ground end;

[0013] The control circuit further includes a power switch, the power switch being electrically connected between the first power supply terminal and the switch power supply circuit, and electrically connected between the second power supply terminal and the switch power supply circuit; the power switch including a first switching state and a second switching state, in the first switching state, the power switch connects the first power supply terminal and the switch power supply circuit, and disconnects the second power supply terminal and the switch power supply circuit; in the second switching state, the power switch connects the second power supply terminal and the switch power supply circuit, and disconnects the first power supply terminal and the switch power supply circuit;

[0014] The controller includes a switch control port electrically connected to the power switch, and the controller is used to control the power switch to be in the first switch state through the switch control port, and in response to the open designation, control the switch power supply circuit to be turned on when the power switch is in the first switch state, so that the electric lock switch is connected to the first power supply terminal; when the electrical signal of the detection port is detected to indicate that the cabinet door is open, the power switch is controlled to be in the second switch state through the switch control port.

[0015] Optionally, the control circuit also includes a signal detection circuit, which is electrically connected between the electric lock circuit and the detection port. The signal detection circuit is used to process the electrical signal output by the electric lock circuit, and the controller is used to detect the processed electrical signal output by the signal detection circuit through the detection port.

[0016] Optionally, the first power supply voltage is greater than the second power supply voltage; the signal detection circuit includes a lock detection switch and a voltage-dividing resistor connected to the lock detection switch, the voltage-dividing resistor includes a first voltage-dividing resistor and a second voltage-dividing resistor connected in series between the electric lock circuit and the ground terminal, the first voltage-dividing resistor is electrically connected between the second voltage-dividing resistor and the electric lock circuit, and the detection port is electrically connected between the first voltage-dividing resistor and the second voltage-dividing resistor;

[0017] The lock detection switch is connected in parallel with the first voltage-dividing resistor and is electrically connected to the controller; the controller is used to control the lock detection switch to be closed when it detects that the electrical signal from the detection port indicates that the cabinet door is open, and to control the lock detection switch to be opened when it detects that the electrical signal from the detection port indicates that the cabinet door is closed.

[0018] Optionally, the signal detection circuit also includes a clamping circuit electrically connected to the voltage-dividing resistor, the clamping circuit includes a first clamping diode and a second clamping diode, the voltage-dividing resistor includes a voltage-dividing node between the first voltage-dividing resistor and the second voltage-dividing resistor, the first clamping diode is electrically connected between the second power supply terminal and the voltage-dividing node, and the second clamping diode is electrically connected between the voltage-dividing node and the ground terminal.

[0019] Optionally, the signal detection circuit further includes an amplifying circuit, and the amplifying circuit is electrically connected between the voltage-dividing resistor and the detection port.

[0020] Optionally, the signal detection circuit further includes a filter circuit, and the filter circuit is electrically connected between the output end of the amplifying circuit and the detection port.

[0021] Optionally, the electric lock circuit and the detection circuit corresponding to each cabinet are connected to the power supply end through a common wire.

[0022] Optionally, the switch power supply circuit includes an electrically controlled switch connected to the power supply switch; the power supply switch is electrically connected between the power supply end and the electric lock circuit, and the electrically controlled switch is electrically connected to the power supply control port; the controller is used to control the electrically controlled switch through the power supply control port to control the on and off of the power supply switch.

[0023] Optionally, the in-cabinet functional circuit includes an article detection circuit, and the article detection circuit is electrically connected to the switching circuit.

[0024] Optionally, the functional circuit in the cabinet includes a lighting circuit, and the lighting circuit is electrically connected to the switching circuit.

[0025] Optionally, the control circuit further includes a freewheeling diode, which is connected in parallel with the electric lock switch.

[0026] Optionally, the controller includes a controller grounding terminal, and the electric lock switch includes an electric lock grounding terminal; the electric lock grounding terminal is electrically connected to the controller grounding terminal or to the metal cabinet body of the smart cabinet.

[0027] Optionally, the controller includes multiple power supply control ports, the control circuit includes multiple switch power supply circuits, the multiple power supply control ports are connected one-to-one with the multiple switch power supply circuits, and the multiple switch power supply circuits are connected one-to-one with the electric lock circuits of the multiple cabinets.

[0028] Optionally, the multiple cabinets include m rows and n columns, the control circuit includes multiple switch power supply circuits, the multiple switch power supply circuits include m row switch power supply circuits and n column switch power supply circuits, each row switch power supply circuit is electrically connected to the electric lock circuit of each cabinet in the corresponding row, and each column switch power supply circuit is electrically connected to the electric lock circuit of each cabinet in the corresponding column, wherein m and n are both positive integers greater than 2.

[0029] Optionally, the electric lock circuit includes a first connection end and a second connection end, and the first connection end, the second connection end and the power switch are connected in series between the first power supply end and the second power supply end; the switching circuit includes a common end, a first switching end and a second switching end;

[0030] The common terminal is electrically connected to the first connection terminal, the electric lock switch is electrically connected between the first switching terminal and the second connection terminal, and the functional circuit in the cabinet is electrically connected between the second switching terminal and the second connection terminal; in the first switching state, the common terminal and the first switching terminal are electrically connected, and in the second switching state, the common terminal and the second switching terminal are electrically connected; or

[0031] The first switching end is electrically connected to the second connection end, and the functional circuit in the cabinet is electrically connected between the second switching end and the second connection end, the electric lock switch is electrically connected between the first connection end and the common end, or the electric lock switch is electrically connected between the second connection end and the functional circuit in the cabinet and electrically connected between the second connection end and the first switching end.

[0032] An embodiment of the present application further provides a method for controlling a smart cabinet, including: a control circuit for implementing the smart cabinet as described in any one of the above embodiments.

[0033] An embodiment of the present application further provides a smart cabinet, comprising: a control circuit of the smart cabinet as described in any one of the above embodiments.

[0034] The control circuit of the smart cabinet of the embodiment of the present application, when responding to the opening instruction indicating to open the cabinet door of the cabinet compartment, the controller of the control circuit controls the switch power supply circuit to be turned on through the power supply control port, so that the electric lock switch is connected to the power supply end to open the cabinet door of the cabinet compartment. When the cabinet door of the cabinet compartment is opened, the switching circuit is in the second switching state, and the functional circuit in the cabinet is connected to the power supply output end and the ground end, so that the functional circuit in the cabinet is powered on to start detection. In this process, the controller detects the electrical signal of the electric lock circuit through the detection port to detect whether the electric lock switch is actuated. When the cabinet door of the cabinet compartment is closed, the switching circuit switches from the second switching state to the first switching state, so that the functional circuit in the cabinet is disconnected from the power supply output end or the ground end, thereby powering off the functional circuit in the cabinet to end the detection. Afterwards, the controller controls the switch power supply circuit to be disconnected through the power supply control port, so that the electric lock circuit is disconnected from the power supply end. By setting a switch power supply circuit to connect the power supply end and the electric lock circuit, the electric lock circuit is set with a switching circuit, the switching circuit is electrically connected to the functional circuit in the cabinet, and the controller is set with a power supply control port and a detection port. The switch power supply circuit is controlled by the power supply control port to control the on and off of the electric lock switch and the functional circuit in the cabinet. The electrical signal of the electric lock circuit is detected by the detection port to detect the state of the switching circuit to control the switch power supply circuit. In this way, the power supply control port and the detection port of the controller are used to realize the opening of the cabinet door and the realization of functions such as object detection after opening. Therefore, the number of interfaces of the controller and the cables connected to the interfaces is small, which is conducive to production, assembly and maintenance, reduces the size of the circuit board and reduces the cost.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] Figure 1 Shown is a principle block diagram of an embodiment of the control circuit of the smart cabinet of the present application.

[0038] Figure 2 Shown Figure 1 The circuit diagram of the control circuit of the smart cabinet is shown.

[0039] Figure 3 Shown is a circuit diagram of another embodiment of the control circuit of the smart cabinet of the present application.

[0040] Figure 4 Shown is a principle block diagram of another embodiment of the control circuit of the smart cabinet of the present application.

[0041] Figure 5 Shown Figure 4 Partial circuit diagram of the control circuit shown. DETAILED DESCRIPTION

[0042] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0043] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. Unless otherwise defined, technical or scientific terms used in this application should have the ordinary meaning understood by a person of ordinary skill in the art to which this application belongs. The terms "first," "second," and similar words used in this specification and claims do not denote any order, quantity, or importance, but are simply used to distinguish different components. Similarly, the terms "a" or "an" and similar words do not denote a limitation of quantity, but rather denote the presence of at least one. The terms "plurality" or "several" mean two or more. Unless otherwise indicated, the terms "front," "rear," "lower," and / or "upper" and similar words are for convenience only and are not intended to limit to a single position or spatial orientation. The terms "include" or "comprising" and similar words mean that the elements or objects listed before "include" or "comprising" include the elements or objects listed after "include" or "comprising" and their equivalents, and do not exclude other elements or objects. The terms "connected" or "connected" and similar words are not limited to physical or mechanical connections and can include electrical connections, whether direct or indirect.

[0044] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0045] Smart cabinets are high-performance, high-reliability cabinets with certain self-diagnosis and automatic control capabilities and network communication capabilities. Smart cabinets consist of multiple compartments. In related technologies, multiple compartments of a smart cabinet use multiple input / output interfaces of a controller to control each lock control, lock detection, object detection, and lighting control function separately, thereby achieving lock control, lock detection, object detection, and lighting control functions for each compartment. This approach has the following disadvantages:

[0046] (1) The controller requires a large number of input / output interfaces, making it difficult to implement functions such as lock control, lock detection, object detection, and light control for more than 24 compartments. For example, taking a cabinet with 100 compartments as an example, the controller requires 100 input / output interfaces for lock control, 100 input / output interfaces for lock detection, 100 input / output interfaces for object detection transmission control, 100 input / output interfaces for object detection reception detection, and 100 input / output interfaces for LED light control. This results in the controller requiring too many input / output interfaces, high controller cost requirements, and difficulty in selection.

[0047] (2) The controller has too many cables and interfaces, making production and maintenance difficult. It is difficult to realize functions such as lock control, lock detection, item detection, and light control for more than 24 grids. Each lock control requires two wires for 12V and ground, each lock detection also requires two wires for power supply and signal, each item detection requires four wires (two wires for transmission and two wires for reception), and each LED light control requires two wires. For example, taking a cabinet with 100 grids as an example, lock control requires 200 wires, lock detection requires 200 wires, item detection requires 400 wires, and light control requires 200 wires. As a result, the number of cables required for the controller reaches 1,000, making production, manufacturing, and maintenance difficult.

[0048] (3) The area of ​​the printed circuit board is large. For example, if a cabinet with 100 compartments is to meet the functions of lock control, lock inspection, object detection, and light control, the corresponding printed circuit board will have many circuits and interfaces for each functional module, resulting in a large area of ​​the printed circuit board, high cost, and unfavorable structural assembly and production.

[0049] Due to the above-mentioned defects, there are almost no control panels for smart cabinets with more than 24 compartments in the related art that can simultaneously realize functions such as lock control, lock detection, object detection, and light control.

[0050] The control circuit and control method of the smart cabinet and the smart cabinet of the present application are described in detail below with reference to the accompanying drawings. In the absence of conflict, the features of the following embodiments and implementations can be combined with each other.

[0051] Figure 1The figure shows a principle block diagram of an embodiment of the control circuit 10 of the smart cabinet of the present application. The control circuit 10 is used to control the opening or closing of multiple cabinet compartments (not shown) to realize the functions of lock control, lock detection, and article detection for each circuit of each cabinet compartment. Figure 1 As shown, the control circuit 10 includes a power supply terminal 19, a switch power supply circuit 11, an electric lock circuit 12, and a controller 13. The power supply terminal 19 includes a first power supply terminal 191 and a second power supply terminal 192. One of the first power supply terminal 191 and the second power supply terminal 192 is a power supply terminal VCC, and the other is a ground terminal GND. Figure 1 In the embodiment shown, the first power supply terminal 191 is a power supply terminal VCC, and the second power supply terminal 192 is a ground terminal GND. In another embodiment, the first power supply terminal 191 is a ground terminal GND, and the second power supply terminal 192 is a power supply terminal VCC.

[0052] The switch power supply circuit 11 is electrically connected to the power supply terminal 19 and includes a power supply output terminal 111 and a power switch 112 connected in series between the power supply terminal 19 and the power supply output terminal 111. The switch power supply circuit 11 can be electrically connected to the first power supply terminal 191 and / or the second power supply terminal 192. Figure 1 In the illustrated embodiment, the switch power supply circuit 11 is electrically connected to the power supply terminal VCC. In other embodiments, the switch power supply circuit 11 is electrically connected to the ground terminal GND. In other embodiments, the power supply terminal VCC and the ground terminal GND are each connected to the switch power supply circuit 11.

[0053] The electric lock circuit 12 is electrically connected to the power supply output terminal 111 and is connected in series with the power supply switch 112 between the first power supply terminal 191 and the second power supply terminal 192. Figure 1 In the embodiment shown, the electric lock circuit 12 is electrically connected between the power supply output terminal 111 and the ground terminal GND. The power supply terminal VCC is used to receive an input voltage, for example, it can receive an input voltage of 12V or 3.3V. The switch power supply circuit 11 is used to control the on-off between the power supply terminal VCC and the electric lock circuit 12. In other embodiments, the switch power supply circuit 11 is electrically connected between the ground terminal GND and the electric lock circuit 12. In other embodiments, a switch power supply circuit 11 is connected between the electric lock circuit 12 and the power supply terminal VCC, and another switch power supply circuit 11 is connected between the electric lock circuit 12 and the ground terminal GND. The electric lock circuit 12 is used to realize lock control, lock detection, and functions such as object detection and lighting of each cabinet.

[0054] In some embodiments, the electric lock circuit 12 includes an electric lock switch 121, an in-cabinet functional circuit 122, and a switching circuit 123. The electric lock switch 121 is provided in the cabinet compartment and is electrically connected to the power supply output terminal 111. The electric lock switch 121 is used to lock the cabinet door. The in-cabinet functional circuit 122 is provided in the cabinet compartment and can realize functions such as object detection, lighting, and disinfection. The switching circuit 123 is electrically connected to the electric lock switch 121 and the in-cabinet functional circuit 122, and is electrically connected to the power supply output terminal 111 and the power supply terminal 19. The switching circuit 123 includes a first switching state and a second switching state, and the switching circuit 123 can switch between the first switching state and the second switching state. When the cabinet door of the cabinet compartment is in a closed state, the switching circuit 123 is in a first switching state, so that the in-cabinet functional circuit 122 is disconnected from the power supply output terminal 111 or the power supply terminal 19, so that the in-cabinet functional circuit 122 is powered off. When the cabinet door is in the open state, the switching circuit 123 is in the second switching state, so that the cabinet functional circuit 122 is connected to the power output terminal 111 and the power supply terminal 19, so that the cabinet functional circuit 122 is energized.

[0055] The electric lock circuit 12 includes a first connection terminal 128 and a second connection terminal 129. The first connection terminal 128, the second connection terminal 129, and the power switch 112 are connected in series between the first power supply terminal 191 and the second power supply terminal 192. The electric lock switch 121, the cabinet functional circuit 122, and the switching circuit 123 are connected between the first connection terminal 129 and the second connection terminal 129. The electric lock circuit 12 is connected in series with the power switch 112 via the first connection terminal 128 and the second connection terminal 129. In some embodiments, the first connection terminal 128 is connected to the first power supply terminal 191 through the power switch 112, and the second connection terminal 129 is connected to the second power supply terminal 192. The first connection terminal 128 is connected to the power supply terminal VCC through the power switch 112, and the second connection terminal 129 is connected to the ground terminal GND; or the first connection terminal 128 and the second connection terminal 129 are interchanged. In other embodiments, the first connection terminal 128 is connected to the ground terminal GND through the power switch 112, and the second connection terminal 129 is connected to the power terminal VCC; or the first connection terminal 128 and the second connection terminal 129 are interchanged. In other embodiments, the first connection terminal 128 is connected to the first power supply terminal 191 through the power switch 112, and the second connection terminal 129 is connected to the second power supply terminal 192 through another power switch 112.

[0056] The controller 13 includes a detection port 131 and a power control port 132. The detection port 131 is electrically connected to the electric lock circuit 12. The controller 13 is used to detect the electrical signal of the electric lock circuit 12 through the detection port 131. The power control port 132 is electrically connected to the switch power supply circuit 11. In response to an opening instruction indicating the opening of the cabinet door, the controller 13 controls the power switch 112 to conduct through the power control port 132, thereby connecting the electric lock switch 121 to the power supply terminal 19 to open the cabinet door. When the electrical signal from the detection port 131 indicates that the cabinet door is closed, the controller 13 controls the power switch 112 to disconnect, disconnecting the electric lock circuit 12 from the power supply terminal 19. The controller 13 is used to control the switch power supply circuit 11 and the electric lock circuit 12 to achieve power input control and electric lock control, etc.

[0057] In the above solution, the electric lock switch 121 can be an electromagnetic switch, which is installed on the cabinet door of the cabinet. The switching circuit 123 can include a switching switch, which can be a micro switch or a relay, a single-pole double-throw switch, or two single-pole single-throw switches. In some other embodiments, the switching circuit 123 includes a data selector. During the actual control process, when the controller 13 responds to the opening instruction indicating the opening of the cabinet door, it controls the switch power supply circuit 11 to be turned on through the power supply control port 132, so that the electric lock switch 121 is connected to the power supply terminal 19. At this time, the electric lock switch 121 is energized and operates to open the cabinet door of the cabinet. When the cabinet door is opened, the switching circuit 123 switches from the first switching state to the second switching state, and the cabinet functional circuit 122 is connected to the power output terminal 111 and the power supply terminal 19. The cabinet functional circuit 122 is connected to the first connection terminal 128 and the second connection terminal 129 through the switching circuit 123, so that the cabinet functional circuit 122 is energized to operate to achieve the corresponding function. When the cabinet door is closed, the electric lock switch 121 is activated again to lock the cabinet door, and the switching circuit 123 is switched from the second switching state to the first switching state, so that the cabinet functional circuit 122 is disconnected from the power output terminal 111 or the power supply terminal 19, and the cabinet functional circuit 122 is disconnected from the first connection terminal 128 or the second connection terminal 129. As a result, the cabinet functional circuit 122 is powered off, and the cabinet functional circuit 122 does not work after the cabinet door is closed. In an embodiment where the switching switch is a microswitch, the cabinet door can trigger the microswitch, and the opening and closing of the cabinet door causes the state of the microswitch to change. In an embodiment where the switching switch is a relay, the controller 13 can determine the switch state of the cabinet door based on the electrical signal of the electric lock circuit 12 detected by the detection port 131 to control the relay. In an embodiment where the switching circuit 123 includes a data selector, the controller 13 determines the switch state of the cabinet door based on the electrical signal of the electric lock circuit 12 detected by the detection port 131 to control the data selector.

[0058] When the power switch 112 is turned on, the state of the switching circuit 12 is different, the connection path of the electric lock circuit 12 is different, and the electrical signal of the electric lock circuit 12 detected by the detection port 131 is different. The cabinet door is in different open and closed states, and the state of the switching circuit 12 is different. Therefore, the controller 13 continuously detects the electrical signal of the electric lock circuit 12 through the detection port 131 to detect the switch state of the cabinet door. The controller 13 receives an opening instruction, indicating that the cabinet door is to be opened. The opening instruction can be generated by the user by operating the operation panel. The controller 13 controls the power switch 112 to be turned on. At this time, the electric lock switch 121 is energized, the electric lock switch 121 will be activated, and the cabinet door of the cabinet compartment will be opened. After the cabinet door is opened, the switching circuit 12 is connected to the functional circuit 122 in the cabinet, and the detection port 131 is connected between the functional circuit 122 in the cabinet and the power switch 112. Figure 1 At this time, a high level is detected, so the controller 13 detects that the detection port 131 is high, indicating that the cabinet door is open. When the cabinet door is closed, the switching circuit 12 disconnects the functional circuit 122 in the cabinet. Figure 1 In the illustrated embodiment, a low level is detected at this point. Therefore, the controller 13 detects that the detection port 131 is at a low level, indicating that the cabinet door is closed, and can then control the power switch 112 to turn off. In this way, the controller 13 can use the detection port 131 to detect the electrical signal from the electric lock circuit 12 and accurately determine the open state of the cabinet door.

[0059] The present application sets a switch power supply circuit to connect the power supply end and the electric lock circuit, sets a switching circuit in the electric lock circuit, and the switching circuit is electrically connected to the functional circuit in the cabinet. The controller sets a power supply control port and a detection port. The switch power supply circuit is controlled by the power supply control port to control the on and off of the electric lock switch and the functional circuit in the cabinet. The electrical signal of the electric lock circuit is detected by the detection port to detect the state of the switching circuit to control the switch power supply circuit. In this way, the power supply control port and the detection port of the controller are used to realize the opening of the cabinet door and the realization of functions such as object detection after opening. Therefore, the number of interfaces of the controller and the cables connected to the interfaces is small, and the circuit board can be designed to be relatively small, which is conducive to production, assembly and maintenance, and reduces costs.

[0060] exist Figure 1In the illustrated embodiment, the cabinet function circuit 122 includes an item detection circuit 1221, which is electrically connected to the switching circuit 123 and can be used to detect whether an item is present in the cabinet. The item detection circuit 1221 includes an infrared emitting diode D1, which is electrically connected to the switching circuit 123. When the cabinet door is closed, the switching circuit 123 is in a first switching state, and the infrared emitting diode D1 is powered off and does not operate. When the cabinet door is open, the switching circuit 123 is in a second switching state, and the infrared emitting diode D1 is powered on and operates. In this embodiment, the infrared emitting diode D1 is a unidirectional emitting type. When the cabinet door is open, the infrared emitting diode D1 can detect whether an item has been placed in the cabinet. When an item is placed in the cabinet, it blocks the infrared light emitted by the infrared emitting diode D1. At this time, the controller 13 receives a signal with a voltage level that can be either low or high, indicating that an item has been placed in the cabinet. When no items are placed in the compartment, the infrared light emitted by the infrared emitting tube D1 is not blocked. At this time, the controller 13 receives the other of the low and high levels, indicating that no items are placed in the compartment. This implements the object detection function. In other embodiments, the infrared emitting tube D1 can be a transmitter-receiver type, having a transmitter end and a receiver end. The implementation principle is similar to that of the unidirectional transmission type and will not be repeated here.

[0061] exist Figure 1 In the illustrated embodiment, the cabinet functional circuit 122 includes a lighting circuit 1222, which is electrically connected to a switching circuit 123. The lighting circuit 1222 includes a lamp D2. The lamp D2 can be an LED (Light Emitting Diode). The lamp D2 is electrically connected to the switching circuit 123. The lamp D2 is connected in parallel with the infrared emitting diode D1. The lamp D2 and the infrared emitting diode D1 are powered on and off synchronously. When the cabinet door is closed, the switching circuit 123 is in a first switching state, and the lamp D2 is powered off and does not illuminate. When the cabinet door is open, the switching circuit 123 is in a second switching state, and the lamp D2 is powered on and illuminated. This provides spatial illumination within the cabinet, making it easier to confirm the placement of items within the cabinet. The lamp D2 cooperates with the infrared emitting diode D1 to accurately determine the placement of items within the cabinet. In other embodiments, the lamp D2 is not limited to lighting and can also be a UV disinfection lamp to disinfect items within the cabinet. In some other embodiments, the cabinet function circuit 122 also includes other detection components, such as sensors, etc. The cabinet function circuit 122 can be designed according to the requirements of different cabinets, which is not limited in this application. Figure 1 In the illustrated embodiment, the cabinet functional circuit 122 further includes a resistor R0 connected in series with the infrared emitting tube D1 and the lighting lamp D2.

[0062] exist Figure 1In the illustrated embodiment, the control circuit 10 further includes a freewheeling diode D3 connected in parallel with the electric lock switch 121. The anode of the freewheeling diode D3 is electrically connected to the ground terminal GND. The cathode of the freewheeling diode D3 is connected to the switching circuit 123. The freewheeling diode D3 is used to protect the electric lock switch 121 by absorbing the reverse induced electromotive force energy generated by the electric lock switch 121 at the moment of power failure, thereby preventing the reverse induced electromotive force energy from damaging other components in the electric lock circuit 12.

[0063] exist Figure 1 In the embodiment shown, the switching circuit 123 includes a common terminal COM, a first switching terminal NC, and a second switching terminal NO. The common terminal COM is electrically connected to the first connection terminal 128, the electric lock switch 121 is electrically connected between the first switching terminal NC and the second connection terminal 129, and the cabinet functional circuit 122 is electrically connected between the second switching terminal NO and the second connection terminal 129. In the first switching state, the common terminal COM is electrically connected to the first switching terminal NC, and in the second switching state, the common terminal COM is electrically connected to the second switching terminal NO. Figure 1 In the illustrated embodiment, the common terminal COM is electrically connected to the power supply output terminal 111, the first switching terminal NC is electrically connected to the electric lock switch 121, and the second switching terminal NO is electrically connected to the cabinet functional circuit 122. The electric lock switch 121 and the cabinet functional circuit 122 are further connected to the ground terminal GND. In the first switching state of the switching circuit 123, the common terminal COM and the first switching terminal NC are electrically connected. At this time, the electric lock switch 121 is connected to the switch power supply circuit 11, and the electric lock switch 121 is energized and actuated, causing the cabinet door of the cabinet compartment to open. In the second switching state of the switching circuit 123, the common terminal COM and the second switching terminal NO are electrically connected. At this time, the cabinet functional circuit 122 is connected to the switch power supply circuit 11, and the switch power supply circuit 11 supplies power to the cabinet functional circuit 122.

[0064] exist Figure 1 In the illustrated embodiment, the first power supply terminal 191 includes a first power supply terminal VCC1 and a second power supply terminal VCC2. The first power supply terminal VCC1 is configured to receive a first power supply voltage, and the second power supply terminal VCC2 is configured to receive a second power supply voltage. The second power supply terminal 192 is a ground terminal GND. In this embodiment, the first power supply voltage is greater than the second power supply voltage. For example, the first power supply voltage may be 12V, and the second power supply voltage may be 3.3V. In other embodiments, the second power supply voltage is greater than the first power supply voltage.

[0065] The control circuit 10 also includes a power switch 14, which is electrically connected between the first power supply terminal VCC1 and the switch power supply circuit 11, and between the second power supply terminal VCC2 and the switch power supply circuit 11. In some embodiments, one end of a power switch 112 is connected to the power switch 14, and the other end is connected to the in-cabinet functional circuit 12. In other embodiments, the power switch 14 is connected to the in-cabinet functional circuit 12, and the in-cabinet functional circuit 12 is then connected to the power switch 112.

[0066] The power switch 14 has a first switching state and a second switching state. In the first switching state, the power switch 14 connects the first power supply terminal VCC1 to the switch power supply circuit 11 and disconnects the second power supply terminal VCC2 from the switch power supply circuit 11. In this state, a first power supply voltage, for example, 12V, can be provided to the control circuit 10 via the first power supply terminal VCC1. In the second switching state, the power switch 14 connects the second power supply terminal VCC2 to the switch power supply circuit 11 and disconnects the first power supply terminal VCC1 from the switch power supply circuit 11. In this state, a second power supply voltage, for example, 3.3V, can be provided to the control circuit 10 via the second power supply terminal VCC2. The power switch 14 also has a third switching state. In the third switching state, the power switch 14 disconnects the second power supply terminal VCC2 from the switch power supply circuit 11 and the first power supply terminal VCC1 from the switch power supply circuit 11. This disconnects the switch power supply circuit 11 and the in-cabinet functional circuits 12 from the power supply terminal 19.

[0067] The controller 13 includes a switch control port 133 electrically connected to the power switch 14. The controller 13 is configured to control the power switch 14 to switch between a first switching state, a second switching state, and a third switching state via the switch control port 133. The controller 13 controls the power switch 14 to the first switching state via the switch control port 133. When the power switch 14 is in the first switching state, the controller 13 controls the switch power supply circuit 11 in response to an on command to conduct, thereby connecting the electric lock switch 121 to the first power supply terminal VCC1. The first power supply terminal VCC1 provides a first power supply voltage to the electric lock switch 121, thereby driving the electric lock switch 121 to open the cabinet door. When an electrical signal from the detection port 131 indicates that the cabinet door is open, the power switch 14 is controlled to the second switching state via the switch control port 133. At this point, the second power supply terminal VCC2 provides a second power supply voltage to the internal cabinet functional circuit 122, thereby powering the internal cabinet functional circuit 12. The electric lock switch 121 and the internal cabinet functional circuit 12 require different voltages, with the first power supply voltage and the second power supply voltage being different. The first power supply voltage meets the voltage requirements of the electric lock switch 121, and the second power supply voltage meets the voltage requirements of the cabinet functional circuit 12. With this configuration, the controller 13 controls the power switch 14 via the switch control port 133. At different stages, different power supply voltages are selected to power different components of the electric lock circuit 12, ensuring that the required voltages for the electric lock switch 121 and the cabinet functional circuit 12 are provided. In some embodiments, the voltage required by the cabinet functional circuit 12 is relatively low, such as the voltage required by the lighting LED and infrared emitting diode. Therefore, the second power supply voltage is relatively low, thereby reducing energy consumption and extending service life while ensuring normal unlocking.

[0068] exist Figure 1In the illustrated embodiment, the power switch 14 includes a first power switch 141 and a second power switch 142. The first power switch 141 is electrically connected between the first power supply terminal VCC1 and the switch power supply circuit 11, and the second power switch 142 is electrically connected between the second power supply terminal VCC2 and the switch power supply circuit 11. Both the first power switch 141 and the second power switch 142 are electrically connected to a switch control port 133 of the controller 13. The controller 13 controls the first power switch 141 to close and the second power switch 142 to open, placing the power switch 14 in a first switching state. The controller 13 controls the second power switch 142 to close and the first power switch 141 to open, placing the power switch 14 in a second switching state. The controller 13 can also control both the first power switch 141 and the second power switch 142 to open, placing the power switch 14 in a third switching state. The controller 13 may include two switch control ports 133, each electrically connected to the first power switch 141 and the second power switch 142, for independent control. The controller 13 controls the on and off of the first power switch 141 and the second power switch 142 through the switch control port 133, thereby switching between different switch states. In some other embodiments, the power switch 14 can also be a single-pole triple-throw switch, one of which is left floating, which is the third switch state.

[0069] In this embodiment, only when the electric lock switch 121 is turned on does the controller 13 control the first power switch 141 to close via the switch control port 133, allowing the first power supply terminal VCC1 to supply power to the electric lock switch 121. After the electric lock switch 121 is turned on, the controller 13 controls the second power switch 142 to close via the switch control port 133, allowing the second power supply terminal VCC2 to supply power to the functional circuits 122 within the cabinet. This reduces system power consumption while the electric lock switch 121 is turned on. If the controller 13 detects that the cabinet door is closed, it can also control the second power switch 142 to open via the switch control port 133. This reduces system power consumption while the cabinet door is closed.

[0070] In some embodiments, the control circuit 10 further includes a signal detection circuit 15, which is electrically connected between the electric lock circuit 12 and the detection port 131. The signal detection circuit 15 is configured to process the electrical signal output by the electric lock circuit 12. The controller 13 is configured to detect the processed electrical signal output by the signal detection circuit 15 via the detection port 131 to detect the open or closed state of the cabinet door. In other embodiments, the electric lock switch 121 and the internal cabinet functional circuit 122 require the same voltage, and a single power supply terminal may be provided. The signal detection circuit 15 may be omitted.

[0071] Figure 2 Shown Figure 1The circuit diagram of the control circuit 10 of the smart cabinet is shown. Figure 1 and Figure 2 As shown, the signal detection circuit 15 includes a lock detection switch 151 and a voltage divider resistor 152 connected to the lock detection switch 151. The voltage divider resistor 152 includes a first voltage divider resistor R1 and a second voltage divider resistor R2 connected in series between the electric lock circuit 12 and the ground terminal GND. The first voltage divider resistor R1 is electrically connected between the second voltage divider resistor R2 and the electric lock circuit 12, and the detection port 131 is electrically connected between the first voltage divider resistor R1 and the second voltage divider resistor R2. The lock detection switch 151 is connected in parallel with the first voltage divider resistor R1 and is electrically connected to the controller 13. The controller 13 is configured to control the lock detection switch 151 to close when an electrical signal from the detection port 131 is detected indicating that the cabinet door is open, and to control the lock detection switch 151 to open when an electrical signal from the detection port 131 is detected indicating that the cabinet door is closed. The lock detection switch 151 is opened when the power switch 14 is in the first connection state and closed when the power switch 14 is in the second connection state. The first power supply voltage is greater than the second power supply voltage.

[0072] When the cabinet door is closed, the lock detection switch 151 is disconnected, and the controller 13 controls the first power switch 141 to close through the switch control port 133. The controller 13 controls the switch power supply circuit 11 to conduct, so that the first power supply terminal VCC1 is connected to the electric lock switch 121. The electric lock switch 121 is energized and actuated, causing the cabinet door to open. The cabinet door opens, causing the switching circuit 123 to switch to the second switching state, and the cabinet functional circuit 122 is connected to the first power supply terminal VCC1. At this time, the detection port 131 of the controller 13 detects a high level. Because the first power supply terminal VCC1 provides a larger first power supply voltage, such as 12V, the first voltage divider resistor R1 and the second voltage divider resistor R2 divide the voltage on the cabinet functional circuit 122. The detection port 131 detects the voltage on the second voltage divider resistor R2 after the voltage division. The first voltage divider resistor R1 and the second voltage divider resistor R2 divide the voltage so that the voltage on the second voltage divider resistor R2 is within the high-level voltage range that the detection port 131 can detect, such as 3.3V.

[0073] When the detection port 131 detects a high level, the controller 13 controls the second power switch 142 to close through the switch control port 133, and the first power switch 141 to open, connecting the second power supply terminal VCC2 to the functional circuit 122 in the cabinet. The controller 13 also controls the lock detection switch 151 to close, and the lock detection switch 151 short-circuits the first voltage divider resistor R1. At this time, the second power supply terminal VCC2 is powered by the second power supply voltage (e.g., 3.3V), which is relatively low. The lock detection switch 151 short-circuits the first voltage divider resistor R1, and the first voltage divider resistor R1 does not participate in the voltage division, so that the voltage on the second voltage divider resistor R2 is within the voltage range of the high level that the detection port 131 can detect. In this way, when the detection port 131 detects a high level, the controller 13 determines that the cabinet door is in the open state. After the cabinet door is closed, the switching circuit 123 switches to the first switching state, the detection port 131 detects a low level, and the controller 13 controls the lock detection switch 151 to open. In this way, the high-level voltage on the second voltage divider resistor R2 is within the high-level range that the detection port can detect under different power supply voltages, so that the high level can be accurately detected, and the switch state of the cabinet door can be accurately judged, making the circuit control accurate.

[0074] exist Figure 2 In the illustrated embodiment, the control circuit 10 further includes a resistor R8 electrically connected between the second power supply terminal VCC2 and the second power switch 142. After the controller 13 detects that the cabinet door is open, it controls the second power switch 142 to close via the switch control terminal 133. Resistor R8, the second switching terminal NO of the switching circuit 123, resistor R0, the infrared emitting diode D1, or the lighting lamp D2, form a voltage divider. The voltage at the common terminal COM of the switching circuit 123 approaches 3.3V. At this point, the voltage level of the signal detection circuit 15 detected by the controller 13 via the detection terminal 131 is high. When the controller 13 detects that the cabinet door is closed, resistor R8, the first switching terminal NC of the switching circuit 123, and the electric lock switch 121 form a voltage divider. The voltage at the common terminal COM of the switching circuit 123 approaches 0V. The voltage level of the signal detection circuit 15 detected by the controller 13 via the detection terminal 131 is low. In this embodiment, the resistance of resistor R8 can be 100 ohms, and the resistance of resistor R0 can be 1 k ohms.

[0075] exist Figure 2In the illustrated embodiment, the signal detection circuit 15 further includes a clamping circuit 153 electrically connected to the voltage-dividing resistor 152. The clamping circuit 153 includes a first clamping diode D4 and a second clamping diode D5. The voltage-dividing resistor 152 includes a voltage-dividing node M between the first and second voltage-dividing resistors R1 and R2. The first clamping diode D4 is electrically connected between the second power supply terminal VCC2 and the voltage-dividing node M, and the second clamping diode D5 is connected between the voltage-dividing node M and the ground terminal GND. With this arrangement, the first and second clamping diodes D4 and D5 can implement a voltage clamping function, preventing damage to other components in the signal detection circuit 15 due to excessive input voltage, thereby improving safety.

[0076] In some embodiments, the signal detection circuit 15 further includes an amplifier circuit 154, which is electrically connected between the voltage divider resistor 152 and the detection port 131. The amplifier circuit 154 includes an operational amplifier. The non-inverting input of the operational amplifier is electrically connected to the voltage divider node M, the inverting input of the operational amplifier is electrically connected to the output of the operational amplifier, and the output of the operational amplifier is electrically connected to the detection port 131. The operational amplifier can act as a voltage follower, for example, to output the output voltage in a 1:1 ratio, while the high input impedance prevents the electric lock switch 121 from being shunted. In some embodiments, the signal detection circuit 15 further includes a filter circuit 155, which is electrically connected between the output of the amplifier circuit 154 and the detection port 131 for filtering. In some embodiments, the filter circuit 155 includes a resistor R3 and a capacitor C1. The resistor R3 and the capacitor C1 form a low-pass filter circuit. The signal detection circuit 15 further includes a resistor R4 connected in parallel with the capacitor C1.

[0077] The signal detection circuit 15 is connected to the common terminal COM of the switching circuit 123. The electric lock circuit 12 and the signal detection circuit 15 corresponding to each cabinet are connected to the power supply terminal VCC through a common wire. The signal detection circuit 15 can be connected to one end of the electric lock circuit 12 connected to the power supply terminal VCC. Figure 2In the illustrated embodiment, the signal detection circuit 15 is connected to the end of the electric lock circuit 12 that is connected to the power output terminal 111. The electric lock circuit 12 and the signal detection circuit 15 are connected to the power output terminal 111 of the switch power supply circuit 11 via a shared wire, and are connected to the power supply terminal VCC via the switch power supply circuit 11. In other embodiments, the switch power supply circuit 11 is connected between the ground terminal GND and the electric lock circuit 12, and the electric lock circuit 12 and the signal detection circuit 15 are connected to the power supply terminal VCC via a shared wire. Each of the multiple cabinet compartments corresponds to a detection port 131 of the controller 13, and is provided with an electric lock circuit 12 and a signal detection circuit 15. The electric lock circuit 12 and the signal detection circuit 15 are arranged in the corresponding cabinet compartment and connected to the circuit outside the cabinet compartment via a common wire. Thus, the electric lock circuit 12 and the signal detection circuit 15 are connected to the outside of the cabinet compartment via a common wire, reducing the number of wires. In some embodiments, multiple cabinet compartments can share the power supply terminal 19, the power switch 14, and the switch power supply circuit 11.

[0078] exist Figure 2In the illustrated embodiment, the controller 13 controls the switch power supply circuit 11 via the power control port 132 to control the connection between the power supply terminal 19 and the electric lock circuit 12. The switch power supply circuit 11 includes an electrically controlled switch Q2 electrically connected to the power switch 112. The power switch 112 is electrically connected between the power supply terminal 19 and the electric lock switch 121, and the electrically controlled switch Q2 is electrically connected to the power control port 132. The controller 13 is configured to control the electrically controlled switch Q2 via the power control port 132 to control the connection of the power switch 112. When the controller 13 outputs a high level via the power control port 132, the controller 13 controls the electrically controlled switch Q2 to conduct, thereby controlling the power switch 112 to conduct, connecting the switch power supply circuit 11 to the power supply terminal 19 and providing voltage to the electric lock circuit 12. When the controller outputs a low level via the power control port 132, the controller controls the electrically controlled switch Q2 to turn off, thereby controlling the power switch 112 to turn off, de-energizing the electric lock circuit 12. In some embodiments, the power switch 112 may include a switch transistor Q1 or a relay. The switch tube Q1 may include a MOS tube, a transistor, a thyristor, or an IGBT. The electronically controlled switch Q2 may be controlled using a switching device such as a MOS tube, a transistor, a thyristor, an IGBT, or a relay. In this embodiment, the switch power supply circuit 11 is implemented using a MOS tube and a transistor, but is not limited thereto. In the illustrated embodiment, the switch power supply circuit 11 includes a resistor R4 and a capacitor C3 connected in parallel between the controlled terminal of the electronically controlled switch Q2 and the ground terminal GND. The switch power supply circuit 11 also includes a current-limiting resistor R5 connected in series between the power supply control port 132 and the controlled terminal of the electronically controlled switch Q2. The switch power supply circuit 11 also includes a resistor R6 and a capacitor C4 connected in parallel, connected in parallel to the controlled terminal of the power switch 112 and the terminal of the power switch 112 connected to the power supply terminal 19. The switch power supply circuit 11 also includes a resistor R7 connected in series between the electronically controlled switch Q2 and the power switch 112.

[0079] In some embodiments, the smart cabinet includes a metal shell, the controller 13 includes a controller grounding terminal 135, and the electric lock switch 121 includes an electric lock grounding terminal 1211. In some embodiments, the electric lock grounding terminal 1211 is electrically connected to the controller grounding terminal 135. In other embodiments, the electric lock grounding terminal 1211 is electrically connected to the metal shell. The electric lock grounding terminal 1211 can be directly connected to the metal shell through a metal bolt, and the bolts in the electric lock switch 121 can be conductively connected to the electric lock grounding terminal 1211 and the metal shell. With this arrangement, a ground wire can be saved, thereby reducing the number of ground wires. Compared with the related art, the number of external wiring and interfaces is reduced, which is beneficial to production, assembly and maintenance, and reduces costs.

[0080] The control process for storing items in a smart locker involves first passing security authentication and entering the smart locker's access interface. The controller 13 uses access history information and item detection to determine which lockers are empty and displays this information on the smart locker screen for the user to select. Assuming locker 1 is empty, the user opens locker 1 to deposit an item. This process involves both the locker door opening and closing processes.

[0081] The door opening process of cabinet compartment 1 includes: when the controller 13 responds to the opening instruction indicating the opening of the cabinet compartment door, it controls the electric control switch Q2 to be turned on through the power supply control port 132 to control the switch tube Q1 to be turned on. At the same time, it controls the first power switch 141 to be turned on, and controls the second power switch 142 and the lock detection switch 151 to be turned off. At this time, the electric lock switch 121 is connected to the first power supply terminal VCC1, and is powered on to activate, opening the cabinet door of cabinet compartment 1. The switching circuit 123 switches from the first switching state to the second switching state, and the cabinet functional circuit 122 is connected to the first power supply terminal VCC1, and the cabinet functional circuit 122 is in operation. The controller 13 detects through the detection port 131 that the signal processed by the signal detection circuit 15 is a high level, indicating that the cabinet door has been opened. After determining that the cabinet door has been opened, the controller 13 controls the second power switch 142 and the lock detection switch 151 to be closed, and controls the first power switch 141 to be turned off. The in-cabinet functional circuit 122 is connected to the second power output terminal VCC2 , and the second power output terminal VCC2 provides the second power supply voltage to the in-cabinet functional circuit 122 , so that the in-cabinet functional circuit 122 continues to work.

[0082] The process of closing the door of compartment 1 involves: after a user's item has been placed in compartment 1 and the door of compartment 1 is closed, the switching circuit 123 switches from the second switching state to the first switching state, the cabinet functional circuit 122 is powered off and stops operating, the lighting D2 is extinguished, and the infrared emitting diode D1 stops operating. When the detection port 131 detects a low level, the controller 13 determines that the door is closed, controls the second power switch 142 and the lock detection switch 151 to be turned off, and controls the electric control switch Q2 to be turned off, thereby disconnecting the switch tube Q1 and de-energizing the electric lock switch 121, locking the door.

[0083] Executing the above-mentioned cabinet door opening process and cabinet door closing process can complete the item storage process of one of the cabinet compartments. Similarly, the above-mentioned process can also be independently executed in the process of taking out or storing two or more cabinet compartments, which will not be repeated here. Compared with the related art, this method realizes functions such as electric lock control (lock control), signal detection of electric lock switch (lock detection), item status detection (item detection), LED lighting control (light control), etc. The number of controller interfaces and cables connected to the interfaces is small, which makes the area of ​​the manufactured circuit board small, which is conducive to production, assembly and maintenance, and reduces costs.

[0084] Figure 3Shown is a principle block diagram of another embodiment of the control circuit 20 of the smart cabinet of the present application. Figure 3 The embodiment shown is Figure 1 and Figure 2 The embodiment shown is similar, with the main difference being the connection relationship of the electric lock switch 221. The first switching terminal NC of the switching circuit 223 is electrically connected to the second connection terminal 229, and the cabinet functional circuit 222 is electrically connected between the second switching terminal NO and the second connection terminal 229. The electric lock switch 221 is electrically connected between the first connection terminal 228 and the common terminal COM. The first switching terminal NC of the switching circuit 223 is connected to one end of the cabinet functional circuit 222, and the other end of the cabinet functional circuit 222 is connected to the second switching terminal NO. When the switching circuit 223 is in the first switching state, the first connection terminal 228 is connected to the common terminal COM through the electric lock switch 221, and the common terminal COM is connected to the first switching terminal NC and then to the second connection terminal 229. The first connection terminal 228 is connected to the second connection terminal 229 through the electric lock switch 221, forming an electrical conduction path. When the switching circuit 223 is in the second switching state, the first connection terminal 228 is connected to the common terminal COM through the electric lock switch 221. The common terminal COM is connected to the second switching terminal NO, and then connected to the second connection terminal 229 through the cabinet functional circuit 222. The first connection terminal 228 is connected to the second connection terminal 229 through the electric lock switch 221 and the cabinet functional circuit 222, forming another electrical conduction path. The detection port 231 is electrically connected between the electric lock switch 221 and the switching circuit 223. The signal detection circuit 25 is electrically connected between the electric lock switch 221 and the switching circuit 223. The detected electrical signal is not affected by the electric lock switch 221, which is more accurate.

[0085] exist Figure 3 In the embodiment shown, the first connection terminal 228 is electrically connected to the power output terminal 211, and the second connection terminal 229 is connected to the ground terminal GND. The electric lock switch 221 is electrically connected between the power output terminal 211 and the common terminal COM, the first switching terminal NC is electrically connected to the ground terminal GND, the second switching terminal NO is electrically connected to the cabinet function circuit 222, and the cabinet function circuit 222 is electrically connected to the ground terminal GND. Its implementation principle and control process are similar to Figure 1 and Figure 2 The embodiment shown is similar, see above Figure 1 and Figure 2 The embodiments shown are not described in detail here.

[0086] In other embodiments, the electric lock switch 221 is electrically connected between the second connection terminal 229 and the cabinet functional circuit 222, and between the second connection terminal 229 and the first switching terminal NC. One end of the cabinet functional circuit 222 is connected to the second switching terminal NO, and the other end is connected to the first switching terminal NC, which is in turn connected to the electric lock switch 221. In the first switching state, the first connection terminal 228, the common terminal COM, the first switching terminal NC, the electric lock switch 221, and the second connection terminal 229 are connected in sequence to form a first conductive path. In the second switching state, the first connection terminal 228, the common terminal COM, the second switching terminal NO, the cabinet functional circuit 222, the electric lock switch 221, and the second connection terminal 229 are connected in sequence to form a second conductive path.

[0087] Figure 4 FIG. 1 is a schematic block diagram of another embodiment of the control circuit 30 of the smart cabinet of the present application. Figure 4 As shown, the controller 33 includes a plurality of power supply control ports 332 , the control circuit 30 includes a plurality of switch power supply circuits 31 , and the plurality of power supply control ports 332 are connected to the plurality of switch power supply circuits 31 in a one-to-one correspondence.

[0088] In some embodiments, the plurality of cabinets include m rows and n columns, and the plurality of switch power supply circuits 31 include m row switch power supply circuits 312 and n column switch power supply circuits 313. Each row switch power supply circuit 312 is electrically connected to the electric lock circuit 32 of each cabinet in the corresponding row, and each column switch power supply circuit is electrically connected to the electric lock circuit 32 of each cabinet in the corresponding column, where m and n are both positive integers greater than 2. The m row switch power supply circuits 312 correspond to the m rows of the plurality of cabinets, and the n column switch power supply circuits correspond to the n columns of the plurality of cabinets. A row of cabinets shares one row switch power supply circuit 312, and a column of cabinets shares one column switch power supply circuit 313. Using the m row switch power supply circuits 312 and n column switch power supply circuits 313, array-style control of various functions in the electric lock circuit 32 can be achieved. For example, to open or close the cabinet in the first row and first column, the first row switch power supply circuit 312 and the first column switch power supply circuit 313 are controlled to conduct, thereby energizing the electric lock circuit 32 of the cabinet in the first row and first column. The row switch power supply circuit 312 and the column switch power supply circuit 313 are connected to the Figures 1 to 2 The operating principle and circuit structure of the switching power supply circuit shown can be found in the switching power supply circuit section above and will not be further described here. With this arrangement, fewer switching power supply circuits can be installed in multiple cabinets, significantly reducing the number of cables and the resulting circuit board footprint, facilitating manufacturing, assembly, and maintenance, and reducing costs.

[0089] For example, if there are 100 grids, the traditional method requires 1000 cables. The solution of this application requires 100 cables (for example, one cable is required for the electric lock circuit 32 of each grid). If array control is used, 20 cables are required to control the signal lines (for example, 10 rows of control lines and 10 columns of control lines). The control circuit of the array control is the same as Figure 1 and Figure 2 The control circuit 10 of the embodiment shown is similar, mainly in that the function of each electric lock switch is realized through row control signals and column control signals. The number of row and column control signals of the control signal does not have to be the same. For example, to realize a 12-grid smart cabinet in array control, 3 rows and 4 columns can be used. The number of grids of the smart cabinet is not limited to 100 grids, and there is no upper limit on the values ​​of m and n. Compared with related technologies, it can control the opening or closing of multiple grids, and the functions are more comprehensive. In addition, the number of interfaces and cables is small, and production and maintenance are convenient. The above-mentioned lock control, lock detection, lighting, object detection and other functions can be placed on a circuit board, improving production efficiency and reliability.

[0090] Figure 5 Shown Figure 4 The partial circuit diagram of the control circuit 30 shown in FIG. shows only one row switch power supply circuit 312 and one column switch power supply circuit 313. The row switch power supply circuit 312 can be connected between the power supply terminal VCC and the electric lock circuit 32, while the column switch power supply circuit 313 can be connected between the ground terminal GND and the electric lock circuit 32. The row switch power supply circuit 312 and the column switch power supply circuit 313 can be interchangeable. In other embodiments, both the row switch power supply circuit 312 and the column switch power supply circuit 313 can be connected between the power supply terminal VCC and the electric lock circuit 32, or both can be connected between the ground terminal GND and the electric lock circuit 32. Figure 5 The row switch power supply circuit 312 is similar to the switch power supply circuit described above and will not be described in detail here. The column switch power supply circuit 313 includes a power switch 3131, which, similar to the power switch described above, may be a transistor, etc. The controller 33 is connected to the power switch 3131 to control the power switch 3131. The column switch power supply circuit 313 also includes a resistor R11 connected in series between the controller 33 and the power switch 3131. The column switch power supply circuit 313 also includes a resistor R12 and a capacitor C12 connected in parallel between the power switch 3131 and the ground terminal GND.

[0091] In other embodiments, multiple switch power supply circuits 31 are connected to the electric lock switches 323 of multiple cabinets in a one-to-one correspondence, with each cabinet corresponding to a switch power supply circuit 31. In the case of a small number of cabinets, or only one row or column of cabinets, each cabinet can be connected to a switch power supply circuit 31 in a one-to-one correspondence.

[0092] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0093] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A control circuit for a smart cabinet, comprising a plurality of compartments, characterized in that: The control circuit comprises: The power supply end includes a first power supply end and a second power supply end; a switch power supply circuit, electrically connected to the power supply end, and comprising a power supply output end and a power supply switch connected in series between the power supply end and the power supply output end; An electric lock circuit is electrically connected to the power supply output terminal, is connected in series with the power supply switch between the first power supply terminal and the second power supply terminal, and includes: An electric lock switch is provided in the cabinet and electrically connected to the power supply output terminal; The functional circuit inside the cabinet is arranged in the cabinet compartment; The switching circuit is electrically connected to the electric lock switch and the functional circuit in the cabinet, and the switching circuit includes a first switching state and a second switching state, and the switching circuit can switch between the first switching state and the second switching state; when the cabinet door of the cabinet is in the closed state, the switching circuit is in the first switching state, so that the functional circuit in the cabinet is disconnected from the power supply output end or the power supply end, so that the functional circuit in the cabinet is powered off; when the cabinet door of the cabinet is in the open state, the switching circuit is in the second switching state, so that the functional circuit in the cabinet is connected to the power supply output end and the power supply end, so that the functional circuit in the cabinet is powered off The electric circuit is energized; and a controller, comprising a detection port and a power supply control port, the detection port being electrically connected to the electric lock circuit, the controller being configured to detect an electrical signal of the electric lock circuit through the detection port; the power supply control port being electrically connected to the switch power supply circuit, the controller being configured to respond to an opening instruction instructing to open the cabinet door of the cabinet compartment, control the power switch to be turned on through the power supply control port, so that the electric lock switch is connected to the power supply end, so as to open the cabinet door of the cabinet compartment; and when the electrical signal of the detection port is detected to indicate that the cabinet door is closed, control the power switch to be turned off, so that the electric lock circuit is disconnected from the power supply end; The electric lock circuit includes a first connection end and a second connection end, wherein the first connection end, the second connection end and the power switch are connected in series between the first power supply end and the second power supply end; the switching circuit includes a common end, a first switching end and a second switching end; Wherein, the common terminal is electrically connected to the first connection terminal, the electric lock switch is electrically connected between the first switching terminal and the second connection terminal, and the functional circuit in the cabinet is electrically connected between the second switching terminal and the second connection terminal; in the first switching state, the common terminal and the first switching terminal are electrically connected, and in the second switching state, the common terminal and the second switching terminal are electrically connected; or The first switching end is electrically connected to the second connection end, and the functional circuit in the cabinet is electrically connected between the second switching end and the second connection end, the electric lock switch is electrically connected between the first connection end and the common end, or the electric lock switch is electrically connected between the second connection end and the functional circuit in the cabinet and electrically connected between the second connection end and the first switching end.

2. The control circuit according to claim 1, wherein: The first power supply end includes a first power supply end and a second power supply end, the first power supply end is used to receive a first power supply voltage, the second power supply end is used to receive a second power supply voltage, and the second power supply end is a ground end; The control circuit further includes a power switch, the power switch being electrically connected between the first power supply terminal and the switch power supply circuit, and electrically connected between the second power supply terminal and the switch power supply circuit; the power switch including a first switching state and a second switching state, in the first switching state, the power switch connects the first power supply terminal and the switch power supply circuit, and disconnects the second power supply terminal and the switch power supply circuit; in the second switching state, the power switch connects the second power supply terminal and the switch power supply circuit, and disconnects the first power supply terminal and the switch power supply circuit; The controller includes a switch control port electrically connected to the power switch, and the controller is used to control the power switch to be in the first switch state through the switch control port, and control the switch power supply circuit to be turned on in response to the opening instruction when the power switch is in the first switch state, so that the electric lock switch is connected to the first power supply end; when the electrical signal of the detection port is detected to indicate that the cabinet door is open, the power switch is controlled to be in the second switch state through the switch control port.

3. The control circuit according to claim 2, characterized in that: The control circuit also includes a signal detection circuit, which is electrically connected between the electric lock circuit and the detection port. The signal detection circuit is used to process the electrical signal output by the electric lock circuit, and the controller is used to detect the processed electrical signal output by the signal detection circuit through the detection port.

4. The control circuit according to claim 3, characterized in that: The first power supply voltage is greater than the second power supply voltage; the signal detection circuit includes a lock detection switch and a voltage dividing resistor connected to the lock detection switch, the voltage dividing resistor includes a first voltage dividing resistor and a second voltage dividing resistor connected in series between the electric lock circuit and the ground terminal, the first voltage dividing resistor is electrically connected between the second voltage dividing resistor and the electric lock circuit, and the detection port is electrically connected between the first voltage dividing resistor and the second voltage dividing resistor; The lock detection switch is connected in parallel with the first voltage-dividing resistor and is electrically connected to the controller; The controller is used to control the lock detection switch to be closed when detecting that the electrical signal of the detection port indicates that the cabinet door is open, and to control the lock detection switch to be opened when detecting that the electrical signal of the detection port indicates that the cabinet door is closed.

5. The control circuit according to claim 4, characterized in that: The signal detection circuit also includes a clamping circuit electrically connected to the voltage-dividing resistor, the clamping circuit includes a first clamping diode and a second clamping diode, the voltage-dividing resistor includes a voltage-dividing node between the first voltage-dividing resistor and the second voltage-dividing resistor, the first clamping diode is electrically connected between the second power supply terminal and the voltage-dividing node, and the second clamping diode is electrically connected between the voltage-dividing node and the ground terminal.

6. The control circuit according to claim 4, characterized in that: The signal detection circuit further includes an amplifier circuit electrically connected between the voltage-dividing resistor and the detection port.

7. The control circuit according to claim 6, characterized in that: The signal detection circuit further includes a filter circuit electrically connected between the output end of the amplifying circuit and the detection port.

8. The control circuit according to claim 3, characterized in that: The electric lock circuit and the detection circuit corresponding to each cabinet are connected to the power supply end through a common wire.

9. The control circuit according to claim 1, wherein: The switch power supply circuit includes an electrically controlled switch connected to the power supply switch; the power supply switch is electrically connected between the power supply end and the electric lock circuit, and the electrically controlled switch is electrically connected to the power supply control port; the controller is used to control the electrically controlled switch through the power supply control port to control the on and off of the power supply switch.

10. The control circuit according to claim 1, wherein: The functional circuit in the cabinet includes an article detection circuit, and the article detection circuit is electrically connected to the switching circuit; and / or The functional circuit in the cabinet includes a lighting circuit, and the lighting circuit is electrically connected to the switching circuit; and / or The control circuit further includes a freewheeling diode, which is connected in parallel with the electric lock switch; and / or The controller includes a controller grounding terminal, and the electric lock switch includes an electric lock grounding terminal; the electric lock grounding terminal is electrically connected to the controller grounding terminal or to the metal cabinet body of the smart cabinet.

11. The control circuit according to claim 1, wherein: The controller includes multiple power supply control ports, the control circuit includes multiple switch power supply circuits, the multiple power supply control ports are connected one-to-one with the multiple switch power supply circuits, and the multiple switch power supply circuits are connected one-to-one with the electric lock circuits of the multiple cabinets.

12. The control circuit according to claim 1, wherein: The multiple cabinets include m rows and n columns, the control circuit includes multiple switch power supply circuits, the multiple switch power supply circuits include m row switch power supply circuits and n column switch power supply circuits, each row switch power supply circuit is electrically connected to the electric lock circuit of each cabinet in the corresponding row, and each column switch power supply circuit is electrically connected to the electric lock circuit of each cabinet in the corresponding column, wherein m and n are both positive integers greater than 2.

13. A method for controlling a smart cabinet, characterized in that: include: Used to implement the control circuit of the smart cabinet as described in any one of claims 1 to 12.

14. A smart cabinet, characterized in that: include: The control circuit of the smart cabinet according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Storage cabinet

    CN208821986U