Working state detection circuit and selling equipment
By designing a working status detection circuit with sampling resistors, voltage amplification, and voltage comparison modules, the problem of incompatibility between existing technologies and track and grid vending equipment was solved. This enabled accurate status detection of dispensing components such as motors and electronic locks, making it compatible with different types of vending equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2026-03-31
AI Technical Summary
The existing working status detection circuit cannot be adapted to both track vending machines and grid vending machines because the operating current of the motor and the electronic lock are significantly different, making the detection circuit incompatible.
A working status detection circuit was designed, including a sampling resistor module, a voltage amplification module, and a voltage comparison module. The sampling resistor module converts the working current into a detection voltage, which is amplified by the voltage amplification module, and the voltage comparison module determines the working status, adapting to different types of shipped components.
It enables accurate detection of the working status of the delivery components of track vending machines and grid vending machines, reduces the impact on the working voltage of the detected objects, and is compatible with different types of delivery components.
Smart Images

Figure CN224066907U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of automated vending equipment technology, and in particular to a working status detection circuit and a vending device. Background Technology
[0002] Vending machines are automated retail devices that automate the sales process. They typically consist of multiple independent dispensing components. Based on the different dispensing components, vending machines can be categorized into track-based vending machines and grid-based vending machines. Track-based vending machines use a motor to drive a spring-loaded rotating conveyor belt, pushing goods out of the conveyor. Grid-based vending machines use electronic locks to control the opening and closing of each grid door, allowing users to easily retrieve goods from the grid.
[0003] Both types of equipment require a working status detection circuit to monitor the operating status of the shipping components. However, due to the significant difference in operating current between the motor in the track-based vending machine and the electronic lock in the grid-based vending machine, the existing working status detection circuit is incompatible with both types of vending machines.
[0004] Therefore, how to provide a working status detection circuit that can be adapted to both track vending machines and grid vending machines has become a technical problem that the industry urgently needs to solve. Utility Model Content
[0005] This invention provides a working status detection circuit and a vending device, which are adapted to detect the working status of the dispensing components in both track vending devices and grid vending devices.
[0006] This utility model provides a working state detection circuit, including a sampling resistor module, a voltage amplification module, and a voltage comparison module;
[0007] The first end of the sampling resistor module is connected to the power circuit of the object being detected, and the second end is grounded. It is used to collect the working current of the object being detected and convert the working current into a detection voltage.
[0008] The voltage input terminal of the voltage amplification module is connected to the first terminal of the sampling resistor module, and the voltage output terminal is connected to the voltage comparison module, which is used to amplify the detection voltage and output the amplified detection voltage to the voltage comparison module;
[0009] The voltage comparison module is used to determine the working state of the object being detected based on the detected voltage.
[0010] In some embodiments, the sampling resistor module includes a plurality of resistors; a first end of the resistor is connected to a first end of the sampling resistor module, and a second end is connected to a second end of the sampling resistor module.
[0011] In some embodiments, the voltage amplification module and the voltage comparison module are implemented based on the same amplifier chip.
[0012] In some embodiments, the amplifier chip includes a first operational amplifier and a second operational amplifier;
[0013] The first operational amplifier is used to implement the voltage amplification module;
[0014] The second operational amplifier is used to implement the voltage comparison module.
[0015] In some embodiments, the voltage amplification module includes the first operational amplifier, a first resistor, and a second resistor;
[0016] The first operational amplifier includes a first non-inverting input terminal, a first inverting input terminal, and a first output terminal;
[0017] The first non-inverting input terminal is connected to the first terminal of the sampling resistor module;
[0018] The first inverting input terminal is connected to the first terminal of the second resistor; the second terminal of the second resistor is grounded.
[0019] The first output terminal is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the second resistor.
[0020] In some embodiments, the voltage comparison module includes a second operational amplifier, a third resistor, a fourth resistor, a fifth resistor, and a capacitor;
[0021] The second operational amplifier includes a second non-inverting input terminal, a second inverting input terminal, and a second output terminal;
[0022] The second non-inverting input terminal is connected to the first output terminal;
[0023] The second inverting input terminal is connected to the first terminal of the fourth resistor; the second terminal of the fourth resistor is grounded.
[0024] The second output terminal is connected to the first terminal of the fifth resistor; the second terminal of the fifth resistor serves as the voltage output terminal of the voltage amplification module.
[0025] The first end of the third resistor is connected to the power supply terminal and the first end of the capacitor, and the second end is connected to the first end of the fourth resistor.
[0026] The second terminal of the capacitor is grounded.
[0027] This utility model provides a vending machine, including a controller, a switch module, the aforementioned working status detection circuit, and at least one storage space; the storage space is equipped with a dispensing component;
[0028] The first control terminal of the shipping component is connected to the operating power supply of the shipping component, and the second control terminal is connected to the first terminal of the switch module.
[0029] The second terminal of the switch module is connected to the first terminal of the sampling resistor module in the working state detection circuit.
[0030] The controller is connected to the switch module and is used to control the switch module to close based on the storage space selection signal.
[0031] In some embodiments, the switch module includes a row switch module and a column switch module; the at least one storage space is arranged in an array;
[0032] The row switch module includes multiple row switches; each row switch corresponds one-to-one with a row in the storage space.
[0033] The column switch module includes multiple column switches; each column switch corresponds one-to-one with a column in the storage space.
[0034] The first control terminal of the shipping component is connected to the first terminal of the row switch of the row where the shipping component is located, and the second control terminal is connected to the first terminal of the column switch of the column where the shipping component is located.
[0035] The second terminal of the line switch is connected to the power supply of the shipping component;
[0036] The second terminal of the column switch is connected to the first terminal of the sampling resistor module in the working state detection circuit;
[0037] The controller is connected to the row switch module and the column switch module, and is used to determine the target storage space based on the storage space selection signal, control the closing of the row switch corresponding to the target storage space and control the closing of the column switch corresponding to the target storage space.
[0038] In some embodiments, where the storage space is a rotating track, the delivery component is a motor.
[0039] In some embodiments, where the storage space is a compartment, the shipping component is an electronic lock.
[0040] This utility model provides a working status detection circuit and vending equipment, including a sampling resistor module, a voltage amplification module, and a voltage comparison module. The first end of the sampling resistor module is connected to the power supply circuit of the object being detected, and the second end is grounded. It is used to collect the working current of the object being detected and convert it into a detection voltage. The voltage input end of the voltage amplification module is connected to the first end of the sampling resistor module, and the voltage output end is connected to the voltage comparison module. It is used to amplify the detection voltage and output the amplified detection voltage to the voltage comparison module. The voltage comparison module is used to determine the working status of the object being detected based on the detection voltage. By connecting to the power supply circuit of the object being detected, the working current is converted into a detection voltage. After amplification and comparison, the working status of the object being detected can be determined. The object being detected may include dispensing components such as motors or electronic locks in the vending equipment, and it can be adapted to both track vending equipment and grid vending equipment. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the present invention.
[0042] To more clearly illustrate the technical solutions in this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is one of the structural schematic diagrams of the working status detection circuit provided by this utility model.
[0044] Figure 2 This is the second schematic diagram of the working status detection circuit provided by this utility model.
[0045] Figure 3 This is one of the structural schematic diagrams of the vending equipment provided by this utility model.
[0046] Figure 4 This is the second structural schematic diagram of the vending equipment provided by this utility model. Detailed Implementation
[0047] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0048] It should be noted that the terms "first," "second," etc., used in this utility model are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the utility model described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps, units, or modules is not necessarily limited to those explicitly listed, but may include other steps, units, or modules not explicitly listed or inherent to such processes, methods, products, or devices.
[0049] Vending machines, also known as vending machines, include track-based vending machines and grid-based vending machines. Track-based vending machines use a motor to drive a spring-loaded, rotating conveyor belt, pushing goods out of the conveyor belt. Grid-based vending machines consist of multiple electrically controllable grids. In both types of machines, the motor typically uses a wide voltage input range, with an operating current generally around 100mA (milliamperes) (unloaded). The presence of this operating current indicates whether the motor is working. Generally, a current below this indicates that the motor is not working. Grid-based vending machines, however, generate a current of around 600-800mA when the electronic lock is operating, and some require over 1A. A cost-effective sampling scheme typically uses a resistor-based approach. However, if a large sampling resistor is used, it can pull down the voltage under high current conditions, causing malfunctions in the grid-based vending machine's electronic lock. Using a small resistor is not conducive to voltage comparison. Existing operating status detection circuits are not compatible with either type of vending machine.
[0050] In order to address the shortcomings of existing technologies, Figure 1 This is one of the structural schematic diagrams of the working status detection circuit provided by this utility model, such as... Figure 1 As shown, the working state detection circuit 100 includes a sampling resistor module 110, a voltage amplification module 120, and a voltage comparison module 130.
[0051] The first terminal of the sampling resistor module is connected to the power supply circuit of the object being tested, and the second terminal is grounded. It is used to collect the working current of the object being tested and convert the working current into a detection voltage.
[0052] The voltage input terminal of the voltage amplification module is connected to the first terminal of the sampling resistor module, and the voltage output terminal is connected to the voltage comparison module. This module amplifies the detected voltage and outputs the amplified detected voltage to the voltage comparison module.
[0053] The voltage comparison module is used to determine the operating status of the object being detected based on the detected voltage.
[0054] Specifically, the working status detection circuit provided by this utility model can be used to collect the working current of different types of detection objects and determine the working status of the detection object based on the working current. The detection object here can be a dispensing component in a vending machine. The dispensing component can be a motor or an electronic lock.
[0055] Structurally, the operating status detection circuit includes a sampling resistor module, a voltage amplification module, and a voltage comparison module.
[0056] The sampling resistor module can be connected in series to the power circuit of the object being tested. Specifically, the first terminal is connected to the power circuit of the object being tested, and the second terminal is grounded. In this way, the operating current in the power circuit of the object being tested will also pass through the sampling resistor module, making the voltage difference across the sampling resistor module the detection voltage.
[0057] Since the detected voltage is relatively low, a voltage amplification module can be used to amplify it for easier comparison and to determine the operating state of the object being tested. The voltage input terminal of the voltage amplification module is connected to the first terminal of the sampling resistor module, and the voltage output terminal is connected to the voltage comparison module, outputting the amplified detected voltage to the voltage comparison module.
[0058] The voltage comparison module compares the detected voltage with a reference voltage to determine the operating state of the object being detected. For example, if the detected voltage is greater than the reference voltage, it indicates that the operating current of the object is relatively large, and the object is in an active state; if the detected voltage is less than the reference voltage, it indicates that the operating current of the object is relatively small, and the object is in an idle state.
[0059] The working status detection circuit provided in this embodiment includes a sampling resistor module, a voltage amplification module, and a voltage comparison module. The first end of the sampling resistor module is connected to the power supply circuit of the object being detected, and the second end is grounded. It is used to collect the working current of the object being detected and convert the working current into a detection voltage. The voltage input end of the voltage amplification module is connected to the first end of the sampling resistor module, and the voltage output end is connected to the voltage comparison module. It is used to amplify the detection voltage and output the amplified detection voltage to the voltage comparison module. The voltage comparison module is used to determine the working status of the object being detected based on the detection voltage. By connecting to the power supply circuit of the object being detected, the working current is converted into a detection voltage. After amplification and comparison, the working status of the object being detected can be determined. The object being detected may include dispensing components such as motors or electronic locks in vending machines, and can be adapted to both track vending machines and grid vending machines.
[0060] In some embodiments, the sampling resistor module includes a plurality of resistors; a first end of the resistor is connected to a first end of the sampling resistor module, and a second end is connected to a second end of the sampling resistor module.
[0061] Specifically, the sampling resistor module can be constructed by connecting multiple resistors in parallel. The first terminal of these resistors is connected to the first terminal of the sampling resistor module, and the second terminal is connected to the second terminal of the sampling resistor module.
[0062] The resistance value of the resistor can be 1 ohm. Taking a sample resistor module with 4 resistors as an example, the total resistance value is 0.25 ohms.
[0063] For a current of 1A, the sampling resistor module generates a voltage of approximately 0.25V. This fluctuation is relatively small compared to the relay's operating voltage of 12V and will not cause the transformer to malfunction due to voltage drop.
[0064] The working status detection circuit provided in this embodiment of the utility model has a sampling resistor module composed of multiple resistors connected in parallel, so that the sampling resistor module has a reasonable total resistance value, and the generated voltage will not have a significant impact on the working voltage of the detected object, and will not affect the normal operation of the detected object.
[0065] In some embodiments, the voltage amplification module and the voltage comparison module are implemented based on the same amplifier chip.
[0066] Specifically, in order to reduce the size and cost of the operating status detection circuit, the voltage amplification module and the voltage comparison module can be implemented using a single amplifier chip.
[0067] In some embodiments, the amplifier chip includes a first operational amplifier and a second operational amplifier; the first operational amplifier is used to implement a voltage amplification module; and the second operational amplifier is used to implement a voltage comparison module.
[0068] Specifically, the amplifier chip can be an amplifier chip configured with dual operational amplifiers. The first operational amplifier can be used to implement a voltage amplification module to amplify the detected voltage; the second operational amplifier can be used to implement a voltage comparison module to compare the amplified detected voltage.
[0069] The working status detection circuit provided in this embodiment of the utility model realizes a voltage amplification module and a voltage comparison module by using an amplifier chip configured with dual operational amplifiers, thereby reducing the size and cost of the working status detection circuit.
[0070] In some embodiments, Figure 2 This is the second schematic diagram of the working status detection circuit provided by this utility model, as shown below. Figure 2 As shown, the first operational amplifier and the second operational amplifier are implemented using a single amplifier chip.
[0071] The sampling resistor module may include multiple resistors connected in parallel, namely the sixth resistor (R6), the seventh resistor (R7), the eighth resistor (R8), and the ninth resistor (R9).
[0072] The voltage amplification module is specifically implemented through a first operational amplifier, a first resistor (R1), and a second resistor (R2).
[0073] The first operational amplifier includes a first non-inverting input (1IN+), a first inverting input (1IN-), and a first output (1out).
[0074] The first non-inverting input terminal is connected to the first terminal of the sampling resistor module.
[0075] The first inverting input terminal is connected to the first terminal of the second resistor; the second terminal of the second resistor is grounded (GND).
[0076] The first output terminal is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the second resistor.
[0077] Specifically, the amplifier chip can be a dual operational amplifier integrated circuit chip, such as the LM358.
[0078] The first operational amplifier, the first resistor (R1), and the second resistor (R2) together constitute the voltage amplification module. By properly configuring the resistance values of the first and second resistors, a reasonable amplification factor can be determined, such as 101 times, which can amplify the detection voltage input to the first terminal of the sampling resistor module (the connection position shown in P2). VDD represents the operating power supply voltage of the object being detected.
[0079] In some embodiments, such as Figure 2As shown, the voltage comparison module includes a second operational amplifier, a third resistor (R3), a fourth resistor (R4), a fifth resistor (R5), and a capacitor (C).
[0080] The second operational amplifier includes a second non-inverting input terminal (2IN+), a second inverting input terminal (2IN-), and a second output terminal (2out).
[0081] The second non-inverting input is connected to the first output; this connection position can be represented as P1.
[0082] The second inverting input terminal is connected to the first terminal of the fourth resistor; the second terminal of the fourth resistor is grounded.
[0083] The second output terminal is connected to the first terminal of the fifth resistor; the second terminal of the fifth resistor serves as the voltage output terminal (OUT) of the voltage amplification module.
[0084] The first end of the third resistor is connected to the power supply terminal (the operating power supply voltage VCC of the amplifier chip) and the first end of the capacitor, and the second end is connected to the first end of the fourth resistor.
[0085] The second terminal of the capacitor is grounded.
[0086] Specifically, the second operational amplifier, the third resistor (R3), the fourth resistor (R4), the fifth resistor (R5), and the capacitor (C) together constitute the voltage comparator module. The capacitor (C) is used to filter the power supply voltage.
[0087] By properly configuring the resistance values of the third, fourth, and fifth resistors, the amplified detection voltage can be compared. For example, the second non-inverting input terminal is the amplified detection voltage, and the second inverting input terminal is the reference voltage determined by the fourth resistor. According to the principle of operational amplifiers, if the voltage at the non-inverting input (the amplified detection voltage) is greater than the voltage at the inverting input (the reference voltage), the output is high; if the voltage at the non-inverting input (the amplified detection voltage) is less than the voltage at the inverting input (the reference voltage), the output is low. The voltage output terminal of the voltage amplification module determines whether the detected object is in a working state by outputting high or low levels.
[0088] In the circuit described above:
[0089] For a current of 100mA, the voltage across the resistor is approximately 0.025V, which is relatively low. Therefore, in this embodiment, a high-power amplifier (voltage amplification module) is used to amplify the voltage. Amplifying the 0.025V voltage by 101 times results in approximately 2.5V, while the comparator (voltage comparison module) typically uses 3.3V. After amplification, the output is compared using another comparator.
[0090] For a current of 1A, the resistor voltage is approximately 0.25V. After amplification by 101 times, the output value is close to 3.3V. Therefore, the result can be determined after passing through a comparator (voltage comparison module). This setting makes the voltage reference setup relatively simple.
[0091] Figure 3 This is one of the structural schematic diagrams of the vending equipment provided by this utility model, such as... Figure 3 As shown, the vending machine 300 includes a controller 310, a switch module 320, a working status detection circuit 100, and at least one storage space 330; the storage space is equipped with a dispensing component 331.
[0092] The first control terminal of the shipping component is connected to the operating power supply of the shipping component, and the second control terminal is connected to the first terminal of the switch module.
[0093] The second terminal of the switch module is connected to the first terminal of the sampling resistor module in the working status detection circuit;
[0094] The controller is connected to the switch module and is used to control the switch module to close based on the storage space selection signal.
[0095] Specifically, the vending machine may include multiple storage spaces. Each storage space is equipped with a dispensing component. The storage space is used to store goods. The dispensing component is used to push the goods out of the storage space, or to open the storage space so that the user can retrieve the goods.
[0096] The first control terminal of the shipping component is connected to its operating power supply, and the second control terminal is connected to the first terminal of the switch module. The second terminal of the switch module is connected to the first terminal of the sampling resistor module in the operating status detection circuit. Through this connection method, the switch module is connected in series to the control loop of the shipping component, enabling control of the operating status of the shipping component.
[0097] The controller is connected to the switch module. Based on the storage space selection signal input by the user, it controls the switch module to close, putting the shipping component into operation. The sampling resistor module in the operation status detection circuit converts the operating current of the shipping component into a detection voltage. After amplification and comparison by the operation status detection circuit, the output is used to determine the operating status of the shipping component.
[0098] The vending equipment provided in this embodiment of the utility model can accurately detect the working status of the dispensing components set in the storage space through a working status detection circuit.
[0099] In some embodiments, when the storage space is a rotating track, the dispatching component is a motor. When the storage space is a compartment, the dispatching component is an electronic lock.
[0100] Specifically, this utility model applies to track-based vending machines and grid-based vending machines. For track-based vending machines, the storage space is a rotating track, and the dispensing component can be a motor. For grid-based vending machines, the storage space is a grid, and the dispensing component is an electronic lock.
[0101] In some embodiments, the switch module includes a row switch module and a column switch module; at least one storage space is arranged in an array;
[0102] The row switch module includes multiple row switches; each row switch corresponds one-to-one with a row in the storage space.
[0103] The column switch module includes multiple column switches; each column switch corresponds one-to-one with a column in the storage space.
[0104] The first control terminal of the shipping component is connected to the first terminal of the row switch of the row where the shipping component is located, and the second control terminal is connected to the first terminal of the column switch of the column where the shipping component is located.
[0105] The second terminal of the travel switch is connected to the power supply of the shipping component.
[0106] The second terminal of the column switch is connected to the first terminal of the sampling resistor module in the working status detection circuit;
[0107] The controller is connected to the row switch module and the column switch module. It is used to determine the target storage space based on the storage space selection signal, control the closing of the row switch corresponding to the target storage space, and control the closing of the column switch corresponding to the target storage space.
[0108] Specifically, Figure 4 This is the second structural schematic diagram of the vending equipment provided by this utility model, as shown below. Figure 4 As shown, taking a 6x6 track vending machine as an example, it has a total of 36 cargo channels (storage spaces) and requires a total of 36 motors (dispensing components). The operation of these motors is usually controlled by controlling whether they are powered on, which requires 12 control I / O commands (storage space selection signals) to control them.
[0109] Motors are typically mapped as a 6x6 matrix. The switch module includes row switch modules and column switch modules. The switch modules can be implemented using switching transistors. The row switch module includes multiple row switches; a motor in the same row is connected to a row switch; each row switch corresponds one-to-one with a row in the storage space. The column switch module includes multiple column switches; a motor in the same column is connected to a column switch; each column switch corresponds one-to-one with a column in the storage space.
[0110] The first control terminal of the motor (shipping component) is connected to the first terminal of the row switch of the row where the motor is located, and the second control terminal is connected to the first terminal of the column switch of the column where the motor is located. The second terminal of the row switch is connected to the motor's operating power supply (VDD). The second terminal of the column switch is connected to the first terminal (point P2) of the sampling resistor module in the operating status detection circuit.
[0111] The controller is connected to the row switch module and the column switch module. When a storage space selection signal is input to determine the target storage space, the controller can control the corresponding row switch and column switch to close. The motor corresponding to the target storage space is connected to the positive terminal of the power supply and then connected to the negative terminal through a sampling resistor to form a power supply circuit, thus entering the working state. In this embodiment, closing the switch means turning on the power, and opening the switch means turning off the power.
[0112] At this point, the circuit can collect the corresponding motor's operating status through the sampling resistor module and feed it back to the processor.
[0113] If the aforementioned vending machine is a grid vending machine, and the component being shipped is an electronic lock, the locks currently used in grid vending machines are generally electromagnetically driven electronic locks. During unlocking, an electromagnet drives the bolt to move, causing the latch on the locked cabinet door to pop out. Therefore, for electronic locks, the operating voltage is generally 12V and the operating current is relatively high. Furthermore, the operating voltage requirement for electronic locks cannot be too low.
[0114] Therefore, it can be determined that the present invention configures the above-mentioned circuit on the main board of the vending equipment to determine the working state of the components, so that the main board can be compatible with the sampling requirements of small current (corresponding to the motor) and large current (corresponding to the electronic lock).
[0115] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0116] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.
Claims
1. A working status detection circuit, characterized in that, The working state detection circuit comprises a sampling resistance module, a voltage amplification module and a voltage comparison module. The first end of the sampling resistance module is connected with a power loop of a detection object, and the second end is grounded, so as to collect working current of the detection object and convert the working current into detection voltage. The voltage input end of the voltage amplification module is connected with the first end of the sampling resistance module, and the voltage output end is connected with the voltage comparison module, so as to amplify the detection voltage and output the amplified detection voltage to the voltage comparison module. The voltage comparison module is used for determining the working state of the detection object based on the detection voltage.
2. The operating state detection circuit according to claim 1, characterized by The sampling resistance module comprises a plurality of resistors, the first end of each resistor is connected with the first end of the sampling resistance module, and the second end is connected with the second end of the sampling resistance module.
3. The operating state detection circuit according to claim 1, characterized by The voltage amplification module and the voltage comparison module are realized based on the same amplifier chip.
4. The operating state detection circuit according to claim 3, characterized by The amplifier chip comprises a first operational amplifier and a second operational amplifier. The first operational amplifier is used for realizing the voltage amplification module. The second operational amplifier is used for realizing the voltage comparison module.
5. The operating state detection circuit according to claim 4, characterized by The voltage amplification module comprises the first operational amplifier, a first resistor and a second resistor. The first operational amplifier comprises a first non-inverting input end, a first inverting input end and a first output end. The first non-inverting input end is connected with the first end of the sampling resistance module. The first inverting input end is connected with the first end of the second resistor, and the second end of the second resistor is grounded. The first output end is connected with the first end of the first resistor, and the second end of the first resistor is connected with the first end of the second resistor.
6. The operating state detection circuit according to claim 5, characterized by The voltage comparison module comprises a second operational amplifier, a third resistor, a fourth resistor, a fifth resistor and a capacitor. The second operational amplifier comprises a second non-inverting input end, a second inverting input end and a second output end. The second non-inverting input end is connected with the first output end. The second inverting input end is connected with the first end of the fourth resistor, and the second end of the fourth resistor is grounded. The second output end is connected with the first end of the fifth resistor, and the second end of the fifth resistor is used as the voltage output end of the voltage amplification module. The first end of the third resistor is connected with a power supply end and the first end of the capacitor, and the second end is connected with the first end of the fourth resistor. The second end of the capacitor is grounded.
7. A vending apparatus characterized by comprising: The working state detection circuit comprises a controller, a switch module, the working state detection circuit according to any one of claims 1 to 6 and at least one storage space. The first control end of the delivery component is connected with the working power supply of the delivery component, and the second control end is connected with the first end of the switch module. The second end of the switch module is connected with the first end of the sampling resistance module in the working state detection circuit. The controller is connected with the switch module and is used for controlling the switch module to be closed based on a storage space selection signal.
8. The vending apparatus of claim 7, wherein, The switch module comprises a row switch module and a column switch module, and the at least one storage space is arranged in an array. The row switch module comprises a plurality of row switches; the row switches correspond to rows in the storage space one by one; The column switch module comprises a plurality of column switches; the column switches correspond to columns in the storage space one by one; The first control end of the delivery component is connected with the first end of the row switch of the row where the delivery component is located, and the second control end is connected with the first end of the column switch of the column where the delivery component is located; The second end of the row switch is connected with the working power supply of the delivery component; The second end of the column switch is connected with the first end of the sampling resistance module in the working state detection circuit; The controller is connected with the row switch module and the column switch module, and is used for determining a target storage space based on a storage space selection signal, controlling the row switch corresponding to the target storage space to be closed, and controlling the column switch corresponding to the target storage space to be closed.
9. The vending apparatus of claim 8, wherein, In the case that the storage space is a rotating track, the delivery component is a motor.
10. The vending apparatus of claim 8, wherein, In the case that the storage space is a grid, the delivery component is an electronic lock.