CN109556896B - Drive detection device for vending machine - Google Patents
Drive detection device for vending machine Download PDFInfo
- Publication number
- CN109556896B CN109556896B CN201811340183.6A CN201811340183A CN109556896B CN 109556896 B CN109556896 B CN 109556896B CN 201811340183 A CN201811340183 A CN 201811340183A CN 109556896 B CN109556896 B CN 109556896B
- Authority
- CN
- China
- Prior art keywords
- controller
- load
- switching value
- data
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M99/00—Subject matter not provided for in other groups of this subclass
- G01M99/005—Testing of complete machines, e.g. washing-machines or mobile phones
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The application discloses a drive detection device for an unmanned vending machine. The device includes: a load; the switching value output circuit is used for controlling the operation of the load; the driving circuit is connected with the switching value output circuit and is used for controlling the switching value output circuit to be opened and closed; the switching value feedback circuits are respectively connected with the loads and used for receiving feedback signals of the loads; the controller is respectively connected with the driving circuit and the switching value feedback circuit, is used for controlling the driving circuit and receives the feedback signal sent by the switching value feedback circuit; and the data transceiver module is connected with the controller and used for receiving the remote detection instruction, sending the remote detection instruction to the controller and sending a feedback signal. The device can test in real time and feed back the behavior of unmanned vending machine, can go out state data through data transceiver module with data transmission through the controller to inform maintenance personal in time to maintain, increase long time of unmanned vending machine normal operating, thereby promote user experience.
Description
Technical Field
The application relates to the field of automatic detection, in particular to a driving detection device for an unmanned vending machine.
Background
With the advance of network technology, the new retail industry is in a rapid development stage, the unmanned vending machine is used as a main human-computer interaction medium, and machines of various types such as spring bamboo shoot edition appear in domestic and foreign markets. The vending machine is a common commercial automation device, is not limited by time and place, can save manpower and facilitate transactions, and therefore, the use of the vending machine becomes an indispensable part of people's daily life. Many kinds of commodities can be sold by the self-service vending machine, and a user inputs commodity numbers and purchase quantity through operating on a display screen of the unmanned vending machine, and after coins are put in or cards are punched, the commodities can come out from a goods taking port. However, in the process of purchasing goods by a user, the motor of the unmanned vending machine may not rotate, rotate in place, or run short, which results in that the user cannot successfully purchase goods and the user experience is deteriorated, thereby affecting the popularization of the unmanned vending machine and the sale of goods.
Disclosure of Invention
It is an object of the present application to overcome the above problems or to at least partially solve or mitigate the above problems.
According to an aspect of the present application, there is provided a driving detecting apparatus for an unmanned aerial vehicle, including:
a load;
the switching value output circuit is used for controlling the operation of the load;
the driving circuit is connected with the switching value output circuit and is used for controlling the switching value output circuit to be opened and closed;
the switching value feedback circuits are respectively connected with the loads and used for receiving feedback signals of the loads;
the controller is respectively connected with the driving circuit and the switching value feedback circuit, is used for controlling the driving circuit and receives the feedback signal sent by the switching value feedback circuit;
and the data transceiver module is connected with the controller and used for receiving a remote detection instruction, sending the remote detection instruction to the controller and sending the feedback signal.
The device that this application provided can the rotation condition of the load of real-time test unmanned vending machine, if the circumstances such as do not appear rotating, rotate not in place or appear the undercurrent, the operational aspect of load can be fed back in real time, if there is any problem controller can go out data transmission through data transceiver module to inform maintenance personal in time to maintain, increase long time of unmanned vending machine normal operating, thereby promote user experience.
Optionally, in the switching value output circuit: the output end of the voltage comparator is connected with the controller and is connected with a power supply VCC through a first resistor; the reverse input end of the voltage comparator is connected with a power supply VCC through a fourth resistor and is grounded through a fifth resistor; one end of the relay is connected with a power supply VCC and is connected with the other end of the relay through a second resistor and a first diode, and the other end of the relay is also connected with a positive input end of the voltage comparator, a drain electrode of the field effect tube and one end of a third resistor respectively; the other end of the third resistor is grounded; the grid electrode of the field effect transistor is connected with the controller, and the source electrode is grounded.
The device can be through controller control relay, through relay control field effect transistor and voltage comparator, and then the running state of control load, and this circuit design is exquisite, can effectively protect field effect transistor and voltage comparator, and is more accurate to the control of load.
Optionally, the load comprises:
the motor is arranged in the goods discharging device in the unmanned vending machine;
the rotating speed sensor is arranged on a rotor of the motor and used for detecting the rotating speed of the motor to obtain a rotating speed analog signal;
the first analog-to-digital conversion module is respectively connected with the rotating speed sensor and the switching value feedback circuit and is used for converting a rotating speed analog signal into a rotating speed digital signal and transmitting the rotating speed digital signal to the switching value feedback circuit;
the angle sensor is arranged on a three-phase terminal of the motor and used for detecting the rotation angle of the motor to obtain an angle analog signal;
and the second analog-to-digital conversion module is respectively connected with the angle sensor and the switching value feedback circuit and is used for converting the angle analog signal into an angle digital signal and transmitting the angle digital signal to the switching value feedback circuit.
Adopt the device, can gather motor pivoted speed and angle signal, feed back to controller or remote server through switching value feedback circuit, can detect the motor in real time and do not rotate, rotate not to arrive the position or the circumstances such as undercurrent appear to improve the stability of motor operation.
Optionally, the load comprises:
the electromagnetic lock is arranged on a goods outlet channel in the unmanned vending machine, and the goods outlet channel is connected with the goods outlet device;
the photoelectric coupler is respectively connected with the second terminal of the electromagnetic lock and the controller, and transmits a detection signal to the controller through the switching value feedback circuit under the condition that goods are detected;
and the unlocking circuit is connected with the controller through the switching value output circuit and the first terminal of the electromagnetic lock, receives an unlocking signal sent by the controller and controls the opening and closing of the electromagnetic lock.
Adopt the device, can judge whether the shipment of unmanned vending machine is normal through opening and closing of real-time detection electromagnetic lock to reduce shipment failure rate, make user's shopping process more smooth, promote user experience.
Optionally, the apparatus further comprises:
and the temperature sensor is respectively connected with the controller and the load, and is used for detecting the temperature value of the load and transmitting the temperature value to the controller.
The device adopts temperature sensor, and under the condition that the load broke down, temperature sensor's numerical value can take place comparatively obvious change, consequently detects the position that the load temperature helps in time discovering the trouble.
Optionally, the data transceiver module is connected to a server through a network, and the data transceiver module is configured to receive a remote detection instruction sent by the server, so that the controller controls the load based on the remote detection instruction, and is further configured to transmit a feedback signal of the load to the server.
The device can be through the operational aspect of server remote monitoring unmanned vending machine to detect unmanned vending machine, be favorable to centralized management, control and maintenance.
Optionally, the remote detection instruction includes a load operation query instruction, and the controller sends a feedback signal of the load to the server via the data transceiver module in a first data frame in response to the load operation query instruction, where the first data frame arranges data in a format of Z1 to Z10, where the meaning of each data bit of Z1 to Z10 is shown in the following table:
optionally, the remote detection instruction includes a load start instruction, the controller starts the load in response to the load start instruction, and sends a feedback signal of the load to the server via the data transceiver module according to a second data frame, the second data frame arranges data according to a format of Y1 to Y7, where the meaning of each data bit of Y1 to Y7 is as shown in the following table:
optionally, the remote detection instruction includes a status query instruction, and the controller sends the feedback signal of the load to the server via the data transceiver module in a third data frame in response to the status query instruction, the third data frame arranging data in a format from X1 to X2, where the meaning of each data bit from X1 to X2 is as shown in the following table:
X1 | motor index number | 00 to 59 |
X2 | Status results | AA normal BB abnormal CC overload |
Optionally, the remote detection instruction further includes: CRC check bits in which a lower byte is disposed before a higher byte.
The above and other objects, advantages and features of the present application will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic diagram of a drive detection apparatus for an unmanned vending machine according to one embodiment of the present application;
fig. 2 is a schematic circuit diagram of a switching value output circuit of the drive detection device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a load driving a detection device according to one embodiment of the present application;
FIG. 4 is a schematic diagram of a load driving a detection device according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a drive detection apparatus for an unmanned vending machine according to another embodiment of the present application;
fig. 6 is a schematic circuit diagram of a controller of a drive detection device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The application provides a drive detection device for an unmanned vending machine. Fig. 1 is a schematic diagram of a drive detection apparatus for an unmanned vending machine according to one embodiment of the present application. The apparatus may include:
a load 101; a switching value output circuit 102 for controlling the operation of the load; the driving circuit 103 is connected with the switching value output circuit and is used for controlling the switching value output circuit to be opened and closed; the switching value feedback circuits 104 are respectively connected with the loads and used for receiving feedback signals of the loads; the controller 105 is respectively connected with the driving circuit and the switching value feedback circuit, and is used for controlling the driving circuit and receiving the feedback signal sent by the switching value feedback circuit; and the data transceiver module 106 is connected with the controller, and is configured to receive a remote detection instruction, send the remote detection instruction to the controller, and send the feedback signal.
The device that this application provided can the rotation condition of the load of real-time test unmanned vending machine, if the circumstances such as do not appear rotating, rotate not in place or appear the undercurrent, the operational aspect of load can be fed back in real time, if there is any problem controller can go out data transmission through data transceiver module to inform maintenance personal in time to maintain, increase long time of unmanned vending machine normal operating, thereby promote user experience.
Fig. 2 is a schematic circuit diagram of a switching amount output circuit of the drive detection device according to an embodiment of the present application. Alternatively, in the switching value output circuit 102: the output end of the voltage comparator U1 is connected with the controller 105 and is connected with a power supply VCC through a first resistor R1; the reverse input end of the voltage comparator U1 is connected with a power supply VCC through a fourth resistor R4 and is grounded through a fifth resistor R5; one end of the relay RLY1 is connected with a power supply VCC and is connected with the other end of the relay RLY1 through a second resistor R2 and a first diode D1, and the other end is also connected with the positive input end of the voltage comparator U1, the drain D of the field effect transistor Q1 and one end of a third resistor R3 respectively; the other end of the third resistor R3 is grounded; the grid G of the field effect transistor Q1 is connected with the controller, and the source S is grounded.
The device can be through controller control relay, through relay control field effect transistor and voltage comparator, and then the running state of control load, and this circuit design is exquisite, can effectively protect field effect transistor and voltage comparator, and is more accurate to the control of load.
Alternatively, the load 101 may be one or several of the following types: the system comprises a non-feedback electromagnetic lock, a two-wire system vending machine motor and a three-wire system vending machine motor.
Fig. 3 is a schematic diagram of a load driving a detection device according to an embodiment of the present application. In an alternative embodiment, the load 101 may include:
a motor 301 disposed in the discharging device of the vending machine;
a rotation speed sensor 302, which is arranged on the rotor of the motor 301 and is used for detecting the rotation speed of the motor 301 to obtain a rotation speed analog signal;
the first analog-to-digital conversion module 303 is respectively connected with the rotation speed sensor 302 and the switching value feedback circuit 104, and is configured to convert a rotation speed analog signal into a rotation speed digital signal and transmit the rotation speed digital signal to the switching value feedback circuit 104;
an angle sensor 304, disposed on a three-phase terminal of the motor 301, for detecting a rotation angle of the motor 301 to obtain an angle analog signal;
and a second analog-to-digital conversion module 305, connected to the angle sensor and the switching value feedback circuit 104, respectively, for converting the angle analog signal into an angle digital signal and transmitting the angle digital signal to the switching value feedback circuit 104.
Adopt the device, can gather motor pivoted speed and angle signal, feed back to controller or remote server through switching value feedback circuit, can detect the motor in real time and do not rotate, rotate not to arrive the position or the circumstances such as undercurrent appear to improve the stability of motor operation.
Fig. 4 is a schematic diagram of a load driving a detection device according to another embodiment of the present application. In another alternative embodiment, the load 101 may include:
the electromagnetic lock 205 is arranged on a goods outlet channel in the unmanned vending machine, and the goods outlet channel is connected with the goods outlet device;
a photocoupler 204 respectively connected to the second terminal of the electromagnetic lock and the controller, and transmitting the detection signal to the controller through the switching value feedback circuit when the load is detected;
and an unlocking circuit 203 which is connected with the controller through the switching value output circuit and connected with the first terminal of the electromagnetic lock, receives an unlocking signal sent by the controller 105 and controls the opening and closing of the electromagnetic lock.
Adopt the device, can judge whether the shipment of unmanned vending machine is normal through opening and closing of real-time detection electromagnetic lock to reduce shipment failure rate, make user's shopping process more smooth, promote user experience.
Referring to fig. 4, the unlocking circuit 203 may include: the collector C of the transistor Q3 is grounded through a resistor R3, the base B is connected with a power supply VCC through a resistor R11 and a resistor R10, and the emitter E is connected with the power supply VCC through a resistor R9; a gate G of the fet Q2 is connected to an emitter E of the transistor Q3, the gate G is connected to the resistor R14 through a resistor R12, a source S of the fet Q2 is connected to the power source VCC through a resistor R7, a drain D of the fet Q2 is connected to the first terminal of the electronic lock 205 and the controller 105 through a resistor R8, a capacitor C1 is connected in parallel to the resistor R8, the source is grounded, and a drain D of the fet Q2 is connected to the power source VCC through a resistor R6.
Fig. 5 is a schematic diagram of a drive detection apparatus for an unmanned vending machine according to another embodiment of the present application. The apparatus may further include: and the temperature sensor 107 is respectively connected with the controller 105 and the load 101, and is used for detecting the temperature value of the load 101 and transmitting the temperature value to the controller 105.
The device adopts temperature sensor, and under the condition that the load broke down, temperature sensor's numerical value can take place comparatively obvious change, consequently detects the position that the load temperature helps in time discovering the trouble.
Referring to fig. 5, in an alternative embodiment, the data transceiver module 106 is connected to a server 200 through a network, and the data transceiver module 106 is configured to receive a remote detection instruction sent by the server 200, so that the controller 105 controls the load based on the remote detection instruction, and further configured to transmit a feedback signal of the load 101 to the server 200.
The device can be through the operational aspect of server remote monitoring unmanned vending machine to detect unmanned vending machine, be favorable to centralized management, control and maintenance.
Alternatively, each communication can be requested by the server and responded by the vending machine; the server may initiate a new request after receiving a response to the last request or after a timeout. A server and a plurality of vending machines can be contained in a communication network, and the vending machines are distinguished through equipment addresses. The address of the server is 0, the address of the controller of the unmanned vending machine can be 1-8 bits, an indicator lamp can be arranged on the controller, and the continuous flashing times of the indicator lamp are the communication address of the unmanned vending machine.
The remote detection instruction may be one or more of the following: a load operation query instruction, a load starting instruction and a state query instruction.
In an alternative embodiment, the remote detection command comprises a load operation query command, and the controller sends a feedback signal of the load to the server 200 via the data transceiver module 106 according to a first data frame, which arranges data according to a format of Z1 to Z10, wherein the meaning of each data bit of Z1 to Z10 is as shown in the following table:
the server may query the operation state of the load at regular time intervals or irregularly according to the operation condition of the load. When a problem exists in a load, the query frequency for the load can be increased.
The device can organize various states of load operation according to a certain data format to the server analyzes according to the format, thereby accurately positioning the fault of the unmanned vending machine, informing the staff to maintain as soon as possible, acquiring various state information through one-time data receiving and transmitting, and improving the efficiency of information transmission.
In an alternative embodiment, the remote sensing command includes a load start command, the controller starts the load in response to the load start command, and sends a feedback signal of the load to the server via the data transceiving module according to a second data frame, the second data frame arranging data according to a format of Y1 to Y7, wherein the meaning of each data bit of Y1 to Y7 is as follows:
the device can be through the real-time start situation data who obtains the load of server, can be that the server is in the purchase low peak period at unmanned vending machine, for example, night, through the start situation of remote operation test load, also can be when the user uses, the start situation of real-time acquisition load, and then the behavior of this unmanned vending machine of comprehensive judgement to in time discover trouble and maintenance, shortened the duration of trouble.
In an alternative embodiment, the remote sensing command includes a status query command, and the controller sends the feedback signal of the load to the server via the data transceiving module in response to the status query command in a third data frame, the third data frame arranging data in a format of X1 to X2, wherein the meaning of each data bit of X1 to X2 is as shown in the following table:
X1 | motor index number | 00 to 59 |
X2 | Status results | AA normal BB abnormal CC overload |
The device can detect the running condition of the load in real time, and compared with the instructions in the first two embodiments, the instructions are short in content and short in content, and can shorten sending and receiving time, so that the server can rapidly know the whole running condition of the unmanned vending machine, and the advantages are more obvious when the number of the unmanned vending machines is large.
The remote detection instructions further comprise: CRC check bits in which the lower byte precedes the upper byte. It is to be understood that the above instructions may include check bits, and the check type is not limited to CRC check.
Fig. 6 is a schematic circuit diagram of a controller of a drive detection device according to an embodiment of the present application. The controller 105 may include one or more processors (shown in the figure as 402a, 402b, … …, 402n, which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 404 for storing data, and a transmission module for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the controller 105 may also include more or fewer components than shown in the figure, or have a different configuration than shown in the figure.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single, stand-alone processing module, or incorporated, in whole or in part, into any of the other elements in the controller 105. As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 404 may be used for storing software programs and modules of application software, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory 404, i.e. implementing the above-mentioned application program method. The memory 404 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include memory located remotely from the processor, which may be connected to the controller 105 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the controller 105. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the controller 105 (or mobile device).
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the data transmission process of the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by a program, and the program may be stored in a computer-readable storage medium, where the storage medium is a non-transitory medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk), and any combination thereof.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. An actuation detection device for a vending machine, comprising:
a load;
the switching value output circuit is used for controlling the operation of the load;
the driving circuit is connected with the switching value output circuit and is used for controlling the switching value output circuit to be opened and closed;
the switching value feedback circuits are respectively connected with the loads and used for receiving feedback signals of the loads;
the controller is respectively connected with the driving circuit and the switching value feedback circuit, is used for controlling the driving circuit and receives the feedback signal sent by the switching value feedback circuit; and
the data transceiver module is connected with the controller and used for receiving a remote detection instruction, sending the remote detection instruction to the controller and sending the feedback signal;
the data transceiver module is connected with a server through a network, and is used for receiving a remote detection instruction sent by the server so that the controller can control the load based on the remote detection instruction and transmitting a feedback signal of the load to the server;
the remote detection command comprises a load operation inquiry command, the controller responds to the load operation inquiry command, and sends a feedback signal of the load to the server through the data transceiver module according to a first data frame, the first data frame arranges data according to a format from Z1 to Z10, wherein the meaning of each data bit from Z1 to Z10 is shown in the following table:
2. the apparatus according to claim 1, wherein in the switching value output circuit: the output end of the voltage comparator (U2) is connected with the controller and is connected with a power supply VCC through a first resistor; the reverse input end of the voltage comparator is connected with a power supply VCC through a fourth resistor and is grounded through a fifth resistor; one end of the relay (RLY1) is connected with a power supply VCC and is connected with the other end of the relay (RLY1) through a second resistor and a first diode, and the other end of the relay is also connected with the positive input end of the voltage comparator, the drain electrode of the field effect transistor (Q2) and one end of a third resistor respectively; the other end of the third resistor is grounded; the grid electrode of the field effect transistor (Q2) is connected with the controller, and the source electrode is grounded.
3. The apparatus of claim 1, wherein the load comprises:
the motor is arranged in the goods discharging device in the unmanned vending machine;
the rotating speed sensor is arranged on a rotor of the motor and used for detecting the rotating speed of the motor to obtain a rotating speed analog signal;
the first analog-to-digital conversion module is respectively connected with the rotating speed sensor and the switching value feedback circuit and is used for converting a rotating speed analog signal into a rotating speed digital signal and transmitting the rotating speed digital signal to the switching value feedback circuit;
the angle sensor is arranged on a three-phase terminal of the motor and used for detecting the rotation angle of the motor to obtain an angle analog signal; and
and the second analog-to-digital conversion module is respectively connected with the angle sensor and the switching value feedback circuit and is used for converting the angle analog signal into an angle digital signal and transmitting the angle digital signal to the switching value feedback circuit.
4. The apparatus of claim 3, wherein the load comprises:
the electromagnetic lock is arranged on a goods outlet channel in the unmanned vending machine, and the goods outlet channel is connected with the goods outlet device;
the photoelectric coupler is respectively connected with the second terminal of the electromagnetic lock and the controller, and transmits a detection signal to the controller through the switching value feedback circuit under the condition that goods are detected; and
and the unlocking circuit is connected with the controller through the switching value output circuit and the first terminal of the electromagnetic lock, receives an unlocking signal sent by the controller and controls the opening and closing of the electromagnetic lock.
5. The apparatus of claim 1, further comprising:
and the temperature sensor is respectively connected with the controller and the load, and is used for detecting the temperature value of the load and transmitting the temperature value to the controller.
6. The apparatus of claim 1, wherein the remote sensing command comprises a load activation command, the controller activates the load in response to the load activation command, and transmits a feedback signal of the load to the server via the data transceiving module according to a second data frame, the second data frame arranging data in a format of Y1 to Y7, wherein the meaning of each data bit of Y1 to Y7 is as follows:
7. the apparatus of claim 1, wherein the remote sensing command comprises a status query command, and the controller transmits a feedback signal of the load to the server via the data transceiving module in response to the status query command in a third data frame, the third data frame arranging data in a format of X1 to X2, wherein the meaning of each data bit of X1 to X2 is as follows:
。
8. The apparatus of any of claims 1, 6 to 7, wherein the remote detection instructions further comprise: CRC check bits in which a lower byte is disposed before a higher byte.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811340183.6A CN109556896B (en) | 2018-11-12 | 2018-11-12 | Drive detection device for vending machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811340183.6A CN109556896B (en) | 2018-11-12 | 2018-11-12 | Drive detection device for vending machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109556896A CN109556896A (en) | 2019-04-02 |
CN109556896B true CN109556896B (en) | 2020-12-08 |
Family
ID=65866275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811340183.6A Expired - Fee Related CN109556896B (en) | 2018-11-12 | 2018-11-12 | Drive detection device for vending machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109556896B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221204A (en) * | 2019-06-26 | 2019-09-10 | 浪潮金融信息技术有限公司 | A kind of test fixture and its test method of vending machine head assembly |
CN110335413A (en) * | 2019-08-21 | 2019-10-15 | 北京快方科技有限公司 | A kind of control system and vending machine |
CN111580496B (en) * | 2020-04-30 | 2022-02-11 | 上海趣致网络科技有限公司 | Detection method and device for motor control panel |
CN113804475B (en) * | 2021-10-27 | 2024-07-12 | 山东省计量科学研究院 | Device for detecting vending capacity of vending machine |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06203260A (en) * | 1992-12-28 | 1994-07-22 | Toshiba Corp | Automatic vending machine |
CN201498044U (en) * | 2009-07-31 | 2010-06-02 | 罗明炬 | Hardware fault detection device for delivery mechanism of vending machine |
CN202584286U (en) * | 2012-03-22 | 2012-12-05 | 周平 | Vending machine |
CN104834332B (en) * | 2015-05-06 | 2017-03-01 | 浙江联大科技有限公司 | A kind of motor temperature based on bandpass filtering controls test system |
CN204993134U (en) * | 2015-07-03 | 2016-01-20 | 浙江海洋学院 | High -power brushless motor drive circuit |
CN106199429A (en) * | 2016-07-08 | 2016-12-07 | 天津工业大学 | Motor on-Line Monitor Device and monitoring method thereof |
-
2018
- 2018-11-12 CN CN201811340183.6A patent/CN109556896B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109556896A (en) | 2019-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109556896B (en) | Drive detection device for vending machine | |
CN104408904A (en) | Household appliance operation data transmission and receiving method, device and system thereof | |
CN102447598A (en) | Family information terminal platform based on Internet of things | |
CN201408476Y (en) | Wireless remote meter reading control system based on ZigBee technique | |
CN101794480A (en) | Pre-purchased power controller | |
CN105590250A (en) | Intelligent management apparatus and system and management method thereof | |
CN105446295A (en) | Electric appliance identification method and apparatus | |
CN106403188A (en) | Air conditioner maintenance method and maintenance device thereof | |
CN105989380A (en) | Data acquisition terminal and data acquisition system applying same | |
CN104778140A (en) | USB (Universal Serial Bus) automatic identification and conduction system of star-shaped framework and method thereof | |
CN209659010U (en) | A kind of intelligent power distribution cabinet | |
CN108958095B (en) | Intelligent socket, integrated sensor terminal and control system | |
CN108462510A (en) | Fault detection system based on power carrier and method | |
CN203310199U (en) | Device for managing objects in refrigerator based on network | |
CN204880963U (en) | Refrigerator operating environment monitoring device | |
CN206162618U (en) | Commodity circulation scanning storage terminal based on RFID | |
CN205862458U (en) | The self-checking system of portable power source lending system and portable power source lending system | |
TWI794595B (en) | Power device and operating method thereof | |
CN205121237U (en) | Controller | |
CN112636105A (en) | Power socket, electric equipment and management system thereof | |
CN208013938U (en) | Data collector | |
CN203839622U (en) | Multifunctional plug-in connector | |
CN103950392B (en) | Mutual knowledge system between anti-tamper controller for electric vehicle and motor | |
CN208334458U (en) | A kind of intelligent electric meter clock synchronization and power alarm system | |
CN104410534A (en) | Information network patrol instrument |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201208 Termination date: 20211112 |