Rail driver of vending machine
Through the combination of motor drive circuit, micro switch detection circuit, overcurrent detection circuit and main control MCU chip, the problem of burning of unmanned vending machine motors caused by abnormal current is solved, and precise control of the motor and efficient and stable operation of the system are achieved.
Patent Information
- Application Number
- CN202422609758.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2034-10-28
AI Technical Summary
The motors of unmanned vending machines are prone to burning or overheating due to excessive load, mechanical jamming or internal motor failure, which cannot be effectively solved by existing technologies.
The system adopts a combination of motor drive circuit, micro switch detection circuit, overcurrent detection circuit, motor switch control circuit and main control MCU chip. The main control MCU chip coordinates with various circuits to achieve precise control of the motor and timely detection of abnormal current, thus preventing the motor from overheating or burning.
It realizes precise starting, stopping and speed control of the motor, improves the safety and stability of the system, extends the service life of the motor and reduces the failure rate.
Smart Images

Figure CN223391281U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of drivers, and in particular to a track driver for an unmanned vending machine. Background Art
[0002] The track drive of an unmanned vending machine is a crucial mechanical system within the machine, responsible for driving and controlling the movement of merchandise along a specific track from the shelf to the pickup port. Its primary components include a motor, track, sensors, and transmission mechanism. As a key component, the motor drive system achieves product transport through precise mechanical motion.
[0003] The motor drive system provides the motor with sufficient voltage and current to ensure that the motor can operate normally. Different voltages and currents will affect the motor's speed and power output. It can also control the start and stop of the motor by turning the power on and off, ensuring that the motor can accurately perform the delivery task at the right time.
[0004] Motors can easily draw excessive current due to factors such as excessive load, mechanical jamming, or internal motor faults, which can cause the motor to burn out or overheat. If overcurrent detection is not performed on the motor, the motor may continue to operate in an overloaded state. For example, if the machine jams or the load suddenly increases, the current will increase rapidly, causing the motor coil to overheat and damage the motor, thereby reducing the motor's service life.
[0005] Currently, no effective solutions have been proposed for the problems in related technologies. Utility Model Content
[0006] In response to the problems in the related art, the present invention proposes an unmanned vending machine track driver to overcome the above technical problems existing in the existing related art.
[0007] To this end, the specific technical solutions adopted in this utility model are as follows:
[0008] An unmanned vending machine track driver includes a motor drive circuit, a microswitch detection circuit, an overcurrent detection circuit, a motor switch control circuit and a main control MCU chip; the motor drive circuit is electrically connected to the microswitch detection circuit, the microswitch detection circuit is electrically connected to the overcurrent detection circuit, the overcurrent detection circuit is electrically connected to the motor switch control circuit, and the motor switch control circuit is electrically connected to the main control MCU chip.
[0009] Furthermore, the motor drive circuit includes a motor M, a connector JP1, a diode D1, a diode D2, a diode D3, a capacitor C1, a resistor R1 and a switch S1;
[0010] The positive electrode of the motor M is respectively connected to the negative electrode of the diode D1, the negative electrode of the diode D2, and one end of the capacitor C1. The positive electrode of the diode D1 is respectively connected to the first pin of the connector JP1 and the positive electrode of the diode D3. The negative electrode of the diode D3 is connected to the third pin of the connector JP1 through the switch S1. The negative electrode of the motor M is respectively connected to the positive electrode of the diode D2, one end of the capacitor C1, and the second pin of the connector JP1.
[0011] Furthermore, the micro switch detection circuit includes a transistor Q1, a capacitor C2, a capacitor C3 and a resistor R1;
[0012] The base of the transistor Q2 is respectively connected to one end of the capacitor C3 and one end of the resistor R1, the other end of the capacitor C3 is grounded, the other end of the resistor R1 is connected to the third pin of the connector JP1, the collector of the transistor Q1 is respectively connected to one end of the capacitor C2 and the main control MCU chip 5, and the other end of the capacitor C2 is connected to the emitter of the transistor Q2 and grounded.
[0013] Furthermore, the overcurrent detection circuit includes a resistor R2, a resistor R3, a resistor R4, a resistor R5 and an operational amplifier U1;
[0014] The second pin of the operational amplifier U1 is connected to one end of the resistor R2 and one end of the resistor R3 respectively, the other end of the resistor R2 is connected to the main control MCU chip 5, the fourth pin of the operational amplifier U1 is grounded, the fifth pin of the operational amplifier U1 is connected to one end of the resistor R5 and one end of the resistor R4 respectively, and the other end of the resistor R5 is grounded.
[0015] Furthermore, the motor switch control circuit includes a resistor R6, a resistor R7, a resistor R8, a capacitor C3, a capacitor C4 and a field effect transistor Q2;
[0016] The gate of the field effect transistor Q2 is connected to one end of the resistor R6 and one end of the capacitor C3. The other end of the capacitor C3 is grounded. The source of the field effect transistor Q2 is grounded. The drain of the field effect transistor Q2 is respectively connected to one end of the resistor R8, the other end of the resistor R3, and one end of the resistor R7. The other end of the resistor R7 is respectively connected to the other end of the resistor R4 and the second pin of the connector JP1. The other end of the resistor R8 is connected to the capacitor C4.
[0017] Furthermore, the field effect transistor Q2 is an N-channel field effect transistor.
[0018] Furthermore, the thirty-third pin of the main control MCU chip is connected to the sixth pin of the operational amplifier U1, the thirty-fifth pin of the main control MCU chip is connected to the capacitor C2, and the thirty-sixth pin of the main control MCU chip is connected to the resistor R6.
[0019] The beneficial effects of the utility model are:
[0020] 1. This utility model uses the cooperation of the main control MCU chip and the motor drive circuit to precisely control the start, stop and speed of the motor. The micro switch detection circuit is responsible for real-time monitoring of the motor status to ensure that the motor can complete the delivery work according to the preset task. The current detection circuit can monitor whether there is abnormal current in the motor during operation, and send a signal to the main control MCU chip in time when the current exceeds the safety threshold. The main control MCU chip can immediately stop the motor operation through the motor switch control circuit to prevent overheating or burning, thereby improving the safety of the system.
[0021] 2. The utility model utilizes the efficient driving characteristics of the field-effect transistor through the motor switch control circuit, so that the motor can achieve efficient operation under low power loss and extend the service life of the motor through reasonable switch control. In addition, the coordinated work of each circuit improves the power efficiency of the overall motor drive system; the micro switch detection circuit ensures that the track driver can detect problems in time under abnormal circumstances, such as mechanical jamming, overcurrent, etc., and then make corresponding adjustments or stop operations through the main control MCU chip, which makes the system show higher stability and reliability in long-term operation and reduces the failure rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 This is a principle block diagram of the track driver for an unmanned vending machine according to an embodiment of the present utility model;
[0024] Figure 2 This is a circuit connection diagram of a motor drive circuit and a micro switch detection circuit in a track driver for an unmanned vending machine according to an embodiment of the present utility model;
[0025] Figure 3 This is a circuit connection diagram of an overcurrent detection circuit and a motor switch control circuit in a track driver for an unmanned vending machine according to an embodiment of the present utility model;
[0026] Figure 4 The figure is a circuit diagram of the main control MCU chip in the unmanned vending machine track driver according to an embodiment of the present utility model.
[0027] In the picture:
[0028] 1. Motor drive circuit; 2. Micro switch detection circuit; 3. Overcurrent detection circuit; 4. Motor switch control circuit; 5. Main control MCU chip. DETAILED DESCRIPTION
[0029] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments. They can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. By referring to these contents, ordinary technicians in this field should be able to understand other possible implementation methods and the advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0030] According to an embodiment of the present utility model, a track driver for an unmanned vending machine is provided.
[0031] The present invention will now be further described with reference to the accompanying drawings and specific embodiments. Figure 1-Figure 4 As shown, according to the configuration method of an embodiment of the utility model, the unmanned vending machine track driver includes a motor drive circuit 1, a microswitch detection circuit 2, an overcurrent detection circuit 3, a motor switch control circuit 4 and a main control MCU chip 5; the motor drive circuit 1 is electrically connected to the microswitch detection circuit 2, the microswitch detection circuit 2 is electrically connected to the overcurrent detection circuit 3, the overcurrent detection circuit 3 is electrically connected to the motor switch control circuit 4, and the motor switch control circuit 4 is electrically connected to the main control MCU (Microcontroller Unit) chip 5.
[0032] In one embodiment, the motor drive circuit 1 includes a motor M, a connector JP1, a diode D1, a diode D2, a diode D3, a capacitor C1, a resistor R1, and a switch S1;
[0033] The positive electrode of the motor M is respectively connected to the negative electrode of the diode D1, the negative electrode of the diode D2, and one end of the capacitor C1. The positive electrode of the diode D1 is respectively connected to the first pin of the connector JP1 and the positive electrode of the diode D3. The negative electrode of the diode D3 is connected to the third pin of the connector JP1 through the switch S1. The negative electrode of the motor M is respectively connected to the positive electrode of the diode D2, one end of the capacitor C1, and the second pin of the connector JP1.
[0034] Specifically, the positive electrode of motor M is connected to the negative electrodes of diode D1 and diode D2 and capacitor C1, forming the positive electrode part of the circuit; the negative electrode is connected to the positive electrode of diode D2 and other related components to form a loop; diode D1, diode D2 and diode D3 are respectively used to prevent damage to the motor caused by reverse current, while capacitor C1 is used to smooth power supply fluctuations, and switch S1 (equivalent to a micro switch) controls the on / off state of the motor through connector JP1.
[0035] Motor drive circuit 1, through the rational design of diodes and capacitors, can protect the motor from reverse current while ensuring voltage stability, thus improving the motor's service life and operational stability. In addition, switch S1, through a simple control circuit, enables flexible on-off operation of the motor.
[0036] In one embodiment, the micro switch detection circuit 2 includes a transistor Q1, a capacitor C2, a capacitor C3 and a resistor R1;
[0037] The base of the transistor Q2 is respectively connected to one end of the capacitor C3 and one end of the resistor R1, the other end of the capacitor C3 is grounded, the other end of the resistor R1 is connected to the third pin of the connector JP1, the collector of the transistor Q1 is respectively connected to one end of the capacitor C2 and the main control MCU chip 5, and the other end of the capacitor C2 is connected to the emitter of the transistor Q2 and grounded.
[0038] Specifically, the collector of transistor Q2 is connected to capacitor C2 and the signal input end of the main control MCU chip 5, and the base is grounded through capacitor C3 and resistor R1. Transistor Q2 serves as a detection switch. When current flows through the base, transistor Q2 is turned on and transmits the signal to the main control MCU chip 5, thereby detecting the status of the micro switch in real time.
[0039] The micro switch detection circuit 2 can detect the state of the micro switch sensitively and accurately, and promptly feed back the information to the main control MCU chip 5, thereby preventing the motor from malfunctioning when the micro switch position is not detected, thereby improving the safety and stability of the system.
[0040] In one embodiment, the overcurrent detection circuit 3 includes a resistor R2, a resistor R3, a resistor R4, a resistor R5 and an operational amplifier U1;
[0041] The second pin of the operational amplifier U1 is connected to one end of the resistor R2 and one end of the resistor R3 respectively, the other end of the resistor R2 is connected to the main control MCU chip 5, the fourth pin of the operational amplifier U1 is grounded, the fifth pin of the operational amplifier U1 is connected to one end of the resistor R5 and one end of the resistor R4 respectively, and the other end of the resistor R5 is grounded.
[0042] Specifically, the second and fifth pins of the operational amplifier U1 in the overcurrent detection circuit 3 are used to receive the resistor voltage divider signal and perform current measurement; the operational amplifier U1 determines whether the motor current is too large by comparing the input voltage and the reference voltage; when the current is too large, the output of the operational amplifier transmits a high-level signal to the main control MCU chip 5 to prompt the system of an overcurrent condition.
[0043] The overcurrent detection circuit 3 can accurately detect current anomalies. When the motor is overloaded due to excessive load or mechanical jamming, the system can respond in time to prevent the motor from overheating or burning, thereby protecting the motor and the entire circuit system and extending the service life of the equipment.
[0044] In one embodiment, the motor switch control circuit 4 includes a resistor R6, a resistor R7, a resistor R8, a capacitor C3, a capacitor C4 and a field effect transistor Q2;
[0045] The gate of field effect transistor Q2 is connected to one end of resistor R6 and one end of capacitor C3, the other end of capacitor C3 is grounded, the source of field effect transistor Q2, which is an N-channel field effect transistor, is grounded, the drain of field effect transistor Q2 is respectively connected to one end of resistor R8, the other end of resistor R3, and one end of resistor R7, the other end of resistor R7 is respectively connected to the other end of resistor R4 and the second pin of connector JP1, and the other end of resistor R8 is connected to capacitor C4.
[0046] Specifically, the gate of the field effect transistor Q2 in the motor switch control circuit 4 is filtered by the capacitor C3 to control the switching state of the circuit. When the gate voltage reaches the turn-on voltage, the field effect transistor Q2 is turned on, and the motor switch circuit completes the closing or opening control, and the resistors R7 and R8 are used to divide the circuit voltage to stabilize the voltage.
[0047] The motor switch control circuit 4 can effectively control the motor switch through the low on-resistance characteristics of the field-effect transistor Q2, and has low power consumption, thereby improving the efficiency and stability of the system. At the same time, due to the high reliability of the field-effect transistor Q2, the switching operation of the motor is more precise, avoiding damage to the motor due to misoperation.
[0048] In one embodiment, the thirty-third pin of the main control MCU chip 5 is connected to the sixth pin of the operational amplifier U1, the thirty-fifth pin of the main control MCU chip 5 is connected to the capacitor C2, and the thirty-sixth pin of the main control MCU chip 5 is connected to the resistor R6.
[0049] Specifically, the main control MCU chip 5 not only plays a core role in signal processing and control, but also enables the entire system to have certain automation and intelligent functions through monitoring and feedback mechanisms. Combined with the precise design of each circuit module, the system can perform well in the automated operation of the vending machine and improve work efficiency.
[0050] In order to facilitate understanding of the above technical solutions of the present invention, the working principle or operation method of the present invention in actual process is described in detail below.
[0051] In actual application, the main control MCU chip 5 sends a start signal to the motor drive circuit 1 according to the control logic of the vending machine. The motor drive circuit 1 provides sufficient current and voltage for the motor to start driving the goods along the track; during the operation of the motor, the microswitch detection circuit 2 continuously monitors the movement of the goods. For example, when the goods move to a certain specific position, the microswitch is triggered and notifies the main control MCU chip 5 to control the motor to stop or change its direction; when the goods encounter obstacles during movement, resulting in an increase in the motor load, the current will increase accordingly. The overcurrent detection circuit 3 monitors the current in real time. When it exceeds the set value, the overcurrent detection circuit 3 transmits a signal to the motor switch control circuit 4 to stop the motor from running to avoid damage; when the goods successfully arrive at the pickup port or the task is completed, the microswitch detection circuit 2 sends a feedback signal to the main control MCU chip 5. The main control MCU chip 5 will stop the motor through the motor switch control circuit 4, and then reset and prepare for the next delivery operation after completing a delivery cycle.
[0052] Specifically, in the motor drive circuit 1, power and control signals are sent to the circuit through connector JP1, the motor starts to rotate, the microswitch S1 is not triggered, and the motor continues to rotate; during the motor rotation process, the microswitch S1 remains in the normally closed state, the circuit remains energized, and the motor continues to run; when the microswitch S1 is triggered, the motor stops; when a certain mechanical position of the motor reaches the set point, the microswitch S1 is triggered, the microswitch S1 is disconnected, the motor is powered off, and the motor stops running.
[0053] When the micro switch S1 is disconnected, the motor coil will generate reverse electromotive force. This reverse current may damage the components in the circuit. At this time, the role of diodes D1, D2, and D3 is to provide a release path for the reverse current, thereby protecting the circuit and motor from the impact of the reverse current.
[0054] In summary, with the help of the above technical solutions of the present invention, the present invention can accurately control the start, stop and speed of the motor through the cooperation of the main control MCU chip 5 and the motor drive circuit 1. The micro switch detection circuit 2 is responsible for real-time monitoring of the status of the motor to ensure that the motor can complete the delivery work according to the preset task, and the current detection circuit 3 can monitor whether there is abnormal current in the motor during operation, and send a signal to the main control MCU chip 5 in time when the current exceeds the safety threshold. The main control MCU chip can immediately stop the motor operation through the motor switch control circuit 4 to prevent overheating or burning, thereby improving the safety of the system. The present invention utilizes the efficient driving characteristics of the field effect transistor through the motor switch control circuit 4, so that the motor can achieve efficient operation with low power loss, and prolong the service life of the motor through reasonable switch control. In addition, the coordinated work of each circuit improves the power efficiency of the overall motor drive system; the micro switch detection circuit 2 ensures that the track drive can detect problems in time under abnormal conditions, such as mechanical jamming, overcurrent, etc., and then make corresponding adjustments or stop operations through the main control MCU chip 5, which makes the system show high stability and reliability in long-term operation and reduces the failure rate.
[0055] In the present invention, unless otherwise clearly stipulated and limited, the terms "install", "set", "connect", "fix", "screw" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.
[0056] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. Unmanned vending machine track drive, characterized in that, The unmanned vending machine track driver comprises a motor drive circuit (1), a micro switch detection circuit (2), an overcurrent detection circuit (3), a motor switch control circuit (4) and a main control MCU chip (5); The motor drive circuit (1) is electrically connected to the micro switch detection circuit (2), the micro switch detection circuit (2) is electrically connected to the overcurrent detection circuit (3), the overcurrent detection circuit (3) is electrically connected to the motor switch control circuit (4), and the motor switch control circuit (4) is electrically connected to the main control MCU chip (5).
2. The unmanned vending machine track driver according to claim 1, characterized in that: The motor drive circuit (1) comprises a motor M, a connector JP1, a diode D1, a diode D2, a diode D3, a capacitor C1, a resistor R1 and a switch S1; The positive electrode of the motor M is respectively connected to the negative electrode of the diode D1, the negative electrode of the diode D2, and one end of the capacitor C1. The positive electrode of the diode D1 is respectively connected to the first pin of the connector JP1 and the positive electrode of the diode D3. The negative electrode of the diode D3 is connected to the third pin of the connector JP1 through the switch S1. The negative electrode of the motor M is respectively connected to the positive electrode of the diode D2, one end of the capacitor C1, and the second pin of the connector JP1.
3. The unmanned vending machine track driver according to claim 2, characterized in that: The micro switch detection circuit (2) comprises a transistor Q1, a capacitor C2, a capacitor C3 and a resistor R1; The base of the transistor Q2 is connected to one end of the capacitor C3 and one end of the resistor R1 respectively, the other end of the capacitor C3 is grounded, the other end of the resistor R1 is connected to the third pin of the connector JP1, the collector of the transistor Q1 is connected to one end of the capacitor C2 and the main control MCU chip (5) respectively, and the other end of the capacitor C2 is connected to the emitter of the transistor Q2 and grounded.
4. The unmanned vending machine track driver according to claim 3, characterized in that: The overcurrent detection circuit (3) comprises a resistor R2, a resistor R3, a resistor R4, a resistor R5 and an operational amplifier U1; The second pin of the operational amplifier U1 is connected to one end of the resistor R2 and one end of the resistor R3 respectively, the other end of the resistor R2 is connected to the main control MCU chip (5), the fourth pin of the operational amplifier U1 is grounded, the fifth pin of the operational amplifier U1 is connected to one end of the resistor R5 and one end of the resistor R4 respectively, and the other end of the resistor R5 is grounded.
5. The unmanned vending machine track driver according to claim 4, characterized in that: The motor switch control circuit (4) comprises a resistor R6, a resistor R7, a resistor R8, a capacitor C3, a capacitor C4 and a field effect transistor Q2; The gate of the field effect transistor Q2 is connected to one end of the resistor R6 and one end of the capacitor C3, the other end of the capacitor C3 is grounded, the source of the field effect transistor Q2 is grounded, the drain of the field effect transistor Q2 is respectively connected to one end of the resistor R8, the other end of the resistor R3, and one end of the resistor R7, the other end of the resistor R7 is respectively connected to the other end of the resistor R4 and the second pin of the connector JP1, and the other end of the resistor R8 is connected to the capacitor C4.
6. The unmanned vending machine track driver according to claim 5, characterized in that: The field effect transistor Q2 is an N-channel field effect transistor.
7. The unmanned vending machine track driver according to claim 6, characterized in that: The thirty-third pin of the main control MCU chip (5) is connected to the sixth pin of the operational amplifier U1, the thirty-fifth pin of the main control MCU chip (5) is connected to the capacitor C2, and the thirty-sixth pin of the main control MCU chip (5) is connected to the resistor R6.