Disclosure of Invention
The technical problem to be solved by the present invention is to provide a circuit of a single-channel wine distribution device, which can increase the accuracy of water control time, increase the stability of signals, be compatible with various structures of wine distribution devices, and improve the accuracy of monitoring, in view of the above-mentioned defects of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: the circuit of the single-path wine distribution device comprises a single chip circuit, a wireless communication module, a flowmeter monitoring circuit, a liquid level meter monitoring circuit, an operation time length control circuit, an electromagnetic lock control circuit, a lamp key circuit, an indicator light circuit, a voice circuit and a power amplifier circuit, wherein the wireless communication module is used for monitoring the flowmeter monitoring circuit, the liquid level meter monitoring circuit is used for operating the time length control circuit, the electromagnetic lock control circuit is used for operating the lamp key circuit, the indicator light circuit and the voice circuit are connected with the single chip circuit, the indicator light circuit is also connected with the wireless communication module, the power amplifier circuit is connected with the voice circuit, and the wireless communication module is any one or combination of any several of a 4G communication circuit, a GPRS communication circuit and a Bluetooth module.
The circuit of the one-way wine distribution device further comprises a flowmeter power supply circuit, and the flowmeter power supply circuit is connected with the liquid level meter monitoring circuit.
The circuit of the single-path wine distribution device further comprises a voltage stabilizing circuit, and the voltage stabilizing voltage is connected with the power supply circuit of the flowmeter.
The circuit of the one-way wine distribution device further comprises a voltage monitoring circuit, and the voltage monitoring circuit is connected with the flow power supply circuit and the single chip microcomputer circuit.
In the circuit of the one-way wine distribution device, the single chip microcomputer circuit comprises a single chip microcomputer, and the model of the single chip microcomputer is STC8A8K64S 4.
In the circuit of the one-way wine distribution device, the 4G communication circuit comprises a 4G chip, a first triode and a sixth resistor, a sixty-eight pin of the 4G chip is connected with a collector of the first triode, an emitter of the first triode is connected with a third pin of the single chip microcomputer, and the emitter of the first triode is connected with a twelfth pin of the single chip microcomputer through the sixth resistor.
In the circuit of the one-way wine distribution device, the operation time control circuit comprises a third Darlington pipe, an eleventh capacitor, a water pump, a first connecting piece, an electromagnetic valve and a ninth connecting piece, the base electrode of the third Darlington tube is connected with the thirtieth pin of the singlechip, the emitting electrode of the third Darlington tube is grounded, the collector electrode of the third Darlington tube is connected with one end of the eleventh capacitor, the collector electrode of the third Darlington tube sequentially penetrates through the first pin of the water pump, the first pin of the first connecting piece and the first pin of the electromagnetic valve to be connected with the first pin of the ninth connecting piece, the other end of the eleventh capacitor is connected with the second pin of the first connecting piece through the second pin of the water pump, and a second pin of the ninth connector is connected with a 12V power supply through a second pin of the electromagnetic valve.
In the circuit of the single-path wine distribution device, the electromagnetic lock control circuit comprises a fifth Darlington tube, a fourteenth capacitor, an electromagnetic lock and a second connecting piece, wherein a base electrode of the fifth Darlington tube is connected with a thirty-second pin of the single chip microcomputer, an emitting electrode of the fifth Darlington tube is grounded, a collecting electrode of the fifth Darlington tube is connected with one end of the fourteenth capacitor, a collecting electrode of the fifth Darlington tube is connected with a first pin of the second connecting piece through a first pin of the electromagnetic lock, and the other end of the fourteenth capacitor is connected with a second pin of the second connecting piece through a second pin of the electromagnetic lock.
In the circuit of the one-way wine distribution device, the voice circuit comprises a twenty-ninth resistor, a voice chip and a small loudspeaker, the power amplification circuit comprises a voice amplification chip and a loud speaker, one end of the twenty-ninth resistor is connected with the twelfth pin of the singlechip, the other end of the twentieth resistor is connected with a third pin of the voice chip, a fifth pin of the voice chip is connected with a first pin of the small horn, the seventh pin of the voice chip is connected with the second pin of the small horn, the third pin of the voice amplification chip is connected with the second pin of the small horn, the fourth pin of the voice amplification chip is connected with the first pin of the small loudspeaker, the first pin of the voice amplification chip is connected with the second pin of the large loudspeaker, and the sixth pin of the voice amplification chip is connected with the first pin of the large loudspeaker.
In the circuit of the one-way wine distribution device, the power supply circuit of the flow meter comprises a first diode, an eighth voltage stabilizing chip, a twenty-first capacitor and a twenty-second capacitor, wherein the cathode of the first diode is connected with the input end of the eighth voltage stabilizing chip and a 12V power supply, the output end of the eighth voltage stabilizing chip is respectively connected with the anode of the twenty-first capacitor, one end of the twenty-second capacitor and a 5V power supply, and the grounding end of the eighth voltage stabilizing chip, the cathode of the twenty-first capacitor and the other end of the twenty-second capacitor are all grounded.
The circuit of the single-path wine distribution device has the following beneficial effects: the intelligent water pump is provided with a singlechip circuit, a wireless communication module, a flowmeter monitoring circuit, a liquid level meter monitoring circuit, an operation duration control circuit, an electromagnetic lock control circuit, a key circuit with a lamp, an indicator light circuit, a voice circuit and a power amplifier circuit, wherein the wireless communication module is any one or combination of any more of a 4G communication circuit, a GPRS communication circuit and a Bluetooth module, and a water pump pumping hardware program is changed from second to millisecond, so that the accuracy of water control time is improved; 4G, GPRS and the complement of Bluetooth, which can increase the stability of the signal; the timing control and the metering control are compatible with wine distribution devices with various structures; the monitoring function of the flowmeter can improve the monitoring accuracy, so the invention can increase the accuracy of water control time, increase the stability of signals, be compatible with wine distribution devices with various structures and improve the monitoring accuracy.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of the circuit of the single-channel wine dispenser of the present invention;
FIG. 2 is a schematic circuit diagram of a single chip circuit in the embodiment;
FIG. 3 is a schematic circuit diagram of the 4G communication circuit in the embodiment;
FIG. 4 is a schematic circuit diagram of a flow meter monitoring circuit in the embodiment;
FIG. 5 is a schematic circuit diagram of a liquid level gauge monitoring circuit in the embodiment;
FIG. 6 is a schematic circuit diagram of the operation duration control circuit and the electromagnetic lock control circuit in the embodiment;
FIG. 7 is a schematic circuit diagram of the key circuit with the lamp in the embodiment;
FIG. 8 is a schematic circuit diagram of an indicator light circuit in the embodiment;
FIG. 9 is a schematic circuit diagram of the voice circuit and the power amplifier circuit in the embodiment;
FIG. 10 is a schematic circuit diagram of the power supply circuitry of the flow meter in the illustrated embodiment;
FIG. 11 is a schematic circuit diagram of a voltage regulator circuit in the embodiment;
FIG. 12 is a circuit principle of a voltage monitoring circuit in the embodiment;
FIG. 13 is a schematic circuit diagram of a memory module in the embodiment;
FIG. 14 is a schematic circuit diagram of a 1.8V power supply circuit in the embodiment;
fig. 15 is a circuit schematic diagram of the filter circuit in the embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
In the circuit embodiment of the single-path wine distribution device, the structural schematic diagram of the circuit of the single-path wine distribution device is shown in fig. 1. In fig. 1, the circuit of the one-way wine distribution device comprises a single chip microcomputer circuit 1, a wireless communication module 2, a flowmeter monitoring circuit 3, a liquid level meter monitoring circuit 4, an operation duration control circuit 5, an electromagnetic lock control circuit 6, a key circuit 7 with a lamp, an indicator light circuit 8, a voice circuit 9 and a power amplifier circuit 10, wherein the wireless communication module 2, the flowmeter monitoring circuit 3, the liquid level meter monitoring circuit 4, the operation duration control circuit 5, the electromagnetic lock control circuit 6, the key circuit 7 with the lamp, the indicator light circuit 8 and the voice circuit 9 are all connected with the single chip microcomputer circuit 1, the wireless communication module 2 is used for data transmission, the flowmeter monitoring circuit 3 is used for monitoring the liquid level meter, the liquid level meter monitoring circuit 4 is used for monitoring the liquid level meter, the operation duration control circuit 5 comprises a water pump operation duration control circuit and a solenoid valve operation duration control circuit, the operation period control circuit 5 is used for controlling the operation period of the 12V/24V water pump and the operation period of the 12V/24V solenoid valve. The electromagnetic lock control circuit 6 is used for controlling the power on and power off of the electromagnetic lock.
The indicator light circuit 8 is also connected with the wireless communication module 2 and used as an indicator light of a network and a server, the power amplifier circuit 10 is connected with the voice circuit 9 and used for amplifying the power of voice signals, and the wireless communication module 2 is any one or combination of any more of a 4G communication circuit, a GPRS communication circuit and a Bluetooth module. In the embodiment, the hardware program for pumping water by the water pump is changed from second to millisecond, so that the accuracy of water control time can be improved; 4G, GPRS and the Bluetooth are complementary, so that the stability of signals can be increased, and the timing control and the metering control are compatible with wine distribution devices with various structures; the flowmeter monitoring function can improve the monitoring accuracy; therefore, the invention can increase the accuracy of water control time, increase the stability of signals, be compatible with wine distribution devices with various structures and improve the accuracy of monitoring.
Fig. 2 is a circuit schematic diagram of the single chip microcomputer circuit in this embodiment, and in fig. 2, the single chip microcomputer circuit 1 includes a single chip microcomputer U2, and the model of the single chip microcomputer U2 is STC8A8K64S 4.
Fig. 3 is a schematic circuit diagram of a 4G communication circuit in this embodiment, in fig. 3, the 4G communication circuit includes a 4G chip U3, a first triode Q1 and a sixth resistor R6, a sixty-eight pin of the 4G chip U3 is connected to a collector of the first triode Q1, an emitter of the first triode Q1 is connected to a third pin of the single chip U2, and an emitter of the first triode Q1 is connected to a twelfth pin of the single chip U2 through the sixth resistor R6. In this embodiment, the model of the 4G chip U3 is SIM7600 Cx.
When the wireless communication module 2 adopts a GPRS communication circuit, the GPRS communication circuit includes a 2G chip, and the model of the 2G chip is SIM 800C. When the wireless communication module 2 adopts a bluetooth module, the bluetooth module comprises a bluetooth chip, and the model of the bluetooth chip is GDY-06.
FIG. 4 is a schematic circuit diagram of a flow meter monitoring circuit according to the present embodiment; in fig. 4, the anode of the seventh diode D7 in the flow meter monitoring circuit 3 is connected to the twenty-second pin of the single chip microcomputer U2. The flow meter monitoring circuit 3 is designed for accurate monitoring with filtering, and monitoring accuracy can be improved.
FIG. 5 is a schematic circuit diagram of a monitoring circuit of the liquid level meter in the present embodiment; in fig. 5, the anode of the fifth diode D5 in the liquid level meter monitoring circuit 4 is connected to the twenty-third pin of the single chip microcomputer U2.
Figure 6 is a schematic circuit diagram of the operation time length control circuit and the electromagnetic lock control circuit in the embodiment, in fig. 6, the operation duration control circuit 5 includes a third darlington tube Q3, an eleventh capacitor C11, a water pump, a first connector P1, a solenoid valve, and a ninth connector P9, wherein a base of the third darlington tube Q3 is connected to a thirtieth pin of the single chip microcomputer U2, an emitter of the third darlington tube Q3 is grounded, a collector of the third darlington tube Q3 is connected to one end of the eleventh capacitor C11, a collector of the third darlington tube Q3 sequentially passes through a first pin of the water pump, a first pin of the first connector P1, and a first pin of the solenoid valve to be connected to a first pin of the ninth connector P9, the other end of the eleventh capacitor C11 is connected to a second pin of the first connector P1 through a second pin of the water pump, and a second pin of the ninth connector P9 is connected to the 12V power supply through a second pin of the solenoid valve. The third darlington tube Q3 is model IRLR 7843. The operation period of the 12V/24V water pump and the operation period of the 12V/24V solenoid valve can be controlled by the operation period control circuit 5.
In this embodiment, the electromagnetic lock control circuit 6 includes a fifth darlington tube Q5, a fourteenth capacitor C14, an electromagnetic lock (i.e., an electronic lock) and a second connection part P2, wherein a base of the fifth darlington tube Q5 is connected to a thirty-second pin of the single chip microcomputer U3, an emitter of the fifth darlington tube Q5 is grounded, a collector of the fifth darlington tube Q5 is connected to one end of the fourteenth capacitor C14, a collector of the fifth darlington tube Q5 is connected to a first pin of the second connection part P2 through a first pin of the electromagnetic lock, and another end of the fourteenth capacitor C14 is connected to a second pin of the second connection part P2 through a second pin of the electromagnetic lock. The fifth darlington tube Q5 is model IRLR 7843. The on-off of the electromagnetic lock can be controlled by the electromagnetic lock control circuit 6.
Fig. 7 is a schematic circuit diagram of the button circuit with a light in this embodiment, and the button circuit with a light 7 can control the start or pause of wine output, so as to improve the experience of actual operation. Fig. 8 is a schematic circuit diagram of the indicator light circuit in this embodiment, and the indicator light circuit 8 includes a decorative lamp and a wine outlet lamp, which can increase the experience of commodity operation.
Fig. 9 is a schematic circuit diagram of the voice circuit and the power amplifier circuit in this embodiment, in fig. 9, the voice circuit 9 includes a twenty-ninth resistor R29, the voice chip U10 and the small loudspeaker, the power amplifier circuit comprises a voice amplification chip U11 and a large loudspeaker, one end of a twenty-ninth resistor R29 is connected with a twelfth pin of the singlechip U3, the other end of the twentieth resistor R20 is connected with a third pin of the voice chip U10, a fifth pin of the voice chip U10 is connected with a first pin of the small loudspeaker, a seventh pin of the voice chip U10 is connected with a second pin of the small loudspeaker, a third pin of the voice amplification chip U11 is connected with a second pin of the small loudspeaker, a fourth pin of the voice amplification chip U11 is connected with a first pin of the small loudspeaker, a first pin of the voice amplification chip U11 is connected with a second pin of the large loudspeaker, and a sixth pin of the voice amplification chip U11 is connected with the first pin of the large loudspeaker. The model of the voice chip U10 is WTN6040, and the model of the voice amplification chip U11 is WT 1312. The voice is broadcasted by pressing the key each time, so that the advertising effect of the commodity can be improved.
In this embodiment, the circuit of the single-channel wine distribution device further includes a flowmeter power supply circuit 11, and the flowmeter power supply circuit 11 is connected to the liquid level meter monitoring circuit 4. Fig. 10 is a schematic circuit diagram of a flow meter power supply circuit in this embodiment, in fig. 10, the flow meter power supply circuit 11 includes a first diode D1, an eighth voltage-stabilizing chip U8, a twenty-first capacitor C21, and a twenty-second capacitor C22, a cathode of the first diode D1 is connected to an input terminal of the eighth voltage-stabilizing chip U8 and a 12V power supply, an output terminal of the eighth voltage-stabilizing chip U8 is connected to an anode of the twenty-first capacitor C21, one end of the twenty-second capacitor C22, and a 5V power supply, and a ground terminal of the eighth voltage-stabilizing chip U8, a cathode of the twenty-first capacitor C21, and the other end of the twenty-second capacitor C22 are all grounded. The flowmeter power supply circuit 11 can convert a 12V power supply into a 5V power supply and regulate the voltage to be 5V. The eighth zener chip U8 is model 7805.
In this embodiment, the circuit of the single-channel wine distribution device further includes a voltage stabilizing circuit 12, and the voltage stabilizing voltage 12 is connected to the power supply circuit 11 of the flow meter. Fig. 11 is a schematic circuit diagram of the voltage regulator circuit in this embodiment, in which the voltage regulator circuit 12 is powered by a 12V battery, and can step down the 12V power supply to a 9V power supply and regulate the voltage to 9V. The three-terminal regulator U12 in the voltage regulator circuit 12 is of the type LM 7809.
In this embodiment, the circuit of the single-path wine distribution device further includes a voltage monitoring circuit 13, and the voltage monitoring circuit 13 is connected with the flow power supply circuit 11 and the single chip microcomputer circuit 1. Fig. 12 shows the circuit principle of the voltage monitoring circuit in this embodiment, the voltage monitoring circuit 13 is a voltage monitoring circuit powered by an electric battery, and the model number of the buck regulator chip U1 in the voltage monitoring circuit 13 is lm2596 s.
In this embodiment, the circuit of the single-channel wine distribution device further includes a storage module, and the storage module is connected with the wireless communication module 2. Fig. 13 is a schematic circuit diagram of the memory module in this embodiment, in fig. 13, the memory module includes a SIM chip U6, a SIM card J1 and an electrostatic protector U7, a first pin of the SIM card J1 is connected to a fifth pin of the electrostatic protector U7 and a seventeenth pin of the 4G chip U3, a third pin of the SIM card J1 is connected to a first pin of the SIM chip U6 and grounded, a fourth pin of the SIM card J1 is connected to a first pin of the electrostatic protector U7 and a twentieth pin of the 4G chip U3, a fifth pin of the SIM card J1 is connected to a third pin of the electrostatic protector U7 and an eighteenth pin of the 4G chip U3, a sixth pin of the SIM card J1 is connected to a fourth pin of the electrostatic protector U7 and a nineteenth pin of the 4G chip U3, a seventh pin and an eighth pin of the SIM card J1 and a second pin of the electrostatic protector U7 are grounded. The electrostatic protector U7 is model number ESDA6V1W 5.
In this embodiment, the circuit of this one way wine distribution device still includes 1.8V supply circuit, and 1.8V supply circuit all is connected with singlechip circuit 1. Fig. 14 is a schematic circuit diagram of the 1.8V power supply circuit in this embodiment, in fig. 14, the 1.8V power supply circuit includes a power regulator U9, a first pin of the power regulator U9 is grounded, a second pin of the power regulator U9 is connected to the wireless communication module 2, and a third pin of the power regulator U9 is connected to a twelfth pin of the single chip microcomputer U2. The power regulator U9 is model number SSP 1117-1.8V.
In this embodiment, the circuit of the single-channel wine distribution device further includes a filter circuit, and the filter circuit is connected to the single-chip microcomputer circuit 1. Fig. 15 is a schematic circuit diagram of the filter circuit according to the present embodiment.
In a word, in this embodiment, the hardware program for pumping water by the water pump is changed from second to millisecond, so as to increase the accuracy of the water control time; 4G, GPRS and the complement of Bluetooth, which can increase the stability of the signal; the timing control and the metering control are compatible with wine distribution devices with various structures; the monitoring function of the flowmeter can improve the monitoring accuracy, so the invention can increase the accuracy of water control time, increase the stability of signals, be compatible with wine distribution devices with various structures and improve the monitoring accuracy.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.