Self-powered intelligent faucet and flow measurement method
Technical Field
The invention relates to the field of intelligent faucets, in particular to a self-powered intelligent faucet and a flow measuring method.
Background
The water is a precious resource for human, saves water, enhances the management and reasonable utilization of water resources, can relieve the water resource crisis, lightens the environmental pollution, can promote the sustainable development of economy and society, and brings direct economic benefit. The induction tap is used for replacing the original tap, so that the aim of saving water can be fulfilled.
Conventional induction faucets use rechargeable lithium batteries or disposable dry cells for power. The replacement of the battery requires labor and the battery may cause environmental pollution. When battery electric quantity is low, if not in time change the battery or charge to the battery, response tap still can appear the response insensitive, rivers can not turn off scheduling problem, still can cause extra water waste when influencing the use.
Disclosure of Invention
The invention aims to provide a self-powered intelligent faucet and a flow measuring method, which can generate electricity, accurately measure, display and control water flow, save water resources, simultaneously save the trouble of replacing batteries and avoid the pollution of the batteries to the environment.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a self-powered intelligent faucet comprises a faucet body, wherein one side of the faucet body is connected with an external water pipe, a water outlet pipeline is arranged at the bottom of the faucet body, a water flow channel communicated with the external water pipe and the water outlet pipeline is arranged in the faucet body, a display screen and an operation button are arranged on the faucet body, and a flow measuring and generating device and a control system are further arranged in the faucet body;
the flow measurement and power generation device is positioned in the water flow channel and is electrically connected with the control system, the flow measurement and power generation device comprises a fixed frame, an impeller is arranged in the fixed frame, and a power generation coil is wound outside the fixed frame;
the faucet is characterized in that the faucet body is provided with a plurality of infrared sensors electrically connected with the control system, and the infrared sensors are shielded and then the control system is used for controlling the opening and closing of a water flow channel in the faucet body.
Further, control system includes frequency sampling circuit, master control circuit, button detection circuitry, liquid crystal drive circuit, charge management circuit, super capacitor, master control circuit is connected with frequency sampling circuit, button detection circuitry, liquid crystal drive circuit, infrared inductor electricity respectively, generating coil passes through the switch and is connected with charge management circuit, and the state of switch is by master control circuit control, through charge management circuit charges super capacitor, super capacitor supplies power to whole device.
Further, the frequency sampling circuit is connected with the generating coil.
Furthermore, the impeller is provided with a permanent magnet, and the generating coil is a stator coil.
A flow measurement method applied to a self-powered intelligent faucet comprises the following steps:
s1, the infrared inductor is shielded to open a water flow channel in the faucet body, water flows through the impeller and drives the impeller to rotate, so that the permanent magnet at the end of the impeller cuts magnetic induction lines, and the power generation coil generates alternating current;
and S2, the frequency sampling circuit samples the frequency of the alternating current, and the main control circuit obtains the frequency, calculates the real-time water flow through a formula and displays the real-time water flow on a display screen.
Furthermore, when the flow rate of water flow is lower than a liters per minute, the impeller rotates slowly, the main control circuit controls the switch to disconnect the power generation coil from the charging management circuit, and the power generation coil is open at the moment, so that the impeller can normally and smoothly rotate when the flow rate of water flow is lower, and the flow can be accurately measured; when the water flow rate is higher than b liters per minute, the master control circuit control switch is connected with the power generation coil and the charging management circuit, and the power generation coil charges the super capacitor so as to supplement electric quantity for the system.
Further, the flow rate b is greater than the flow rate a, and the difference between the flow rate b and the flow rate a is greater than 0.1 liter per minute.
Further, the switch between the power generation coil and the charging management circuit is different in flow calculation formula when being disconnected and connected.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a self-powered intelligent faucet, which can realize self-power generation by driving a flow measuring and power generating device to operate through water flow, meets the induction water outlet function required by the faucet, does not need to replace a battery or charge the battery compared with the traditional induction type faucet, overcomes the problems that the traditional induction type faucet needs to frequently replace the battery and cannot sense or close water when the battery is low in electric quantity, reduces the maintenance cost of the device, and is more convenient to use; in addition, the invention has the functions of flow measurement and control, can display the flow on the display screen in real time, can display the water consumption each time, achieves the reminding effect for users, increases the environmental awareness and achieves the effect of saving water.
Drawings
FIG. 1 is a schematic diagram of the overall connection of the present invention.
Fig. 2 is a schematic structural diagram of the present invention.
Fig. 3 is a schematic structural diagram of the present invention.
FIG. 4 is a schematic diagram of the flow measuring and generating device of the present invention.
Fig. 5 is a working principle diagram of the present invention.
Reference numerals shown in the drawings:
1. a faucet body; 2. is externally connected with a water pipe; 3. a water outlet pipeline; 4. a display screen; 5. operating a key; 6. a fixed mount; 7. an impeller; 8. a power generating coil; 9. an infrared sensor; 10. a frequency sampling circuit; 11. a master control circuit; 12. a charging management circuit; 13. and (4) a super capacitor.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.
The invention relates to a self-powered intelligent faucet, which comprises a faucet body 1, wherein the faucet body is an intelligent faucet which is coated by a shell and has a certain shape, one side of the faucet body 1 is connected with an external water pipe 2 through an adapter and an adapter nut cap, the bottom of the faucet body 1 is provided with a water outlet pipeline 3, the water outlet pipeline 3 comprises an electromagnetic valve and a bubbler, a water outlet switch of the faucet body 1 is controlled through the electromagnetic valve, a water flow channel which is communicated with the external water pipe 2 and the water outlet pipeline 3 is arranged in the faucet body 1, water which is externally connected with the water pipe 2 flows out from the water outlet pipeline 3 through the water flow channel, the faucet body 1 is provided with a display screen 4 and an operation key 5, the state and the flow condition of a device are displayed through the display screen 4, the water outlet of the faucet body 1 is controlled and adjusted through the operation key 5, and a flow measuring and generating device is also arranged in the faucet body 1, The electromagnetic valve is electrically connected with the control system;
the flow measurement and power generation device is positioned in the water flow channel and is electrically connected with the control system, the flow measurement and power generation device comprises a fixed frame 6 installed in the water flow channel, an impeller 7 is rotatably arranged in the fixed frame 6 through a bearing, a power generation coil 8 is wound outside the fixed frame 6, when the water flows out of the faucet main body, the impeller 7 is driven to rotate by the flow of the water, and as the permanent magnet is arranged on the outer side edge of the impeller 7, the power generation coil 8 is a stator coil, and the permanent magnet on the impeller 7 cuts magnetic lines of force, the power generation coil 8 generates alternating current, and the super capacitor is charged after rectification and filtration, so that the whole device is powered;
the faucet is characterized in that a plurality of infrared sensors 9 electrically connected with a control system are arranged on the faucet body 1, the infrared sensors 9 are arranged on the upper portion and the bottom of the faucet body 1, and the infrared sensors 9 are shielded from being opened and closed through the control system to control a water flow channel in the faucet body 1, so that water outlet and water cut-off can be sensed.
Preferably, the control system comprises a frequency sampling circuit 10, a main control circuit 11, a key detection circuit, a liquid crystal drive circuit, a charging management circuit 12 and a super capacitor 13, wherein the main control circuit 11 is respectively electrically connected with the water outlet pipeline 3, the frequency sampling circuit 10, the key detection circuit, the liquid crystal drive circuit and the infrared inductor 9, the key detection circuit is used for detecting the state of an operation key 5, the liquid crystal drive circuit is used for driving the display screen 4 to work, the power generation coil 8 is connected with the charging management circuit 12 through a switch, the switch is an electronic switch, the state of the switch is controlled by the main control circuit 11, the current of the power generation coil 8 passes through the charging management circuit 12 to charge the super capacitor 13, and the super capacitor 13 supplies power to the whole device to realize the control management function of the control system.
Preferably, the frequency sampling circuit 10 is connected with the generating coil 8, and the generating frequency of the generating coil 8 is detected through the frequency sampling circuit 10, so that the water outlet flow can be accurately measured and calculated through the existing program language.
A flow measuring method applied to a self-powered intelligent faucet comprises the following steps:
when infrared inductor 9 detects to have and shelters from, main control circuit 11 control solenoid valve opens, and rivers get into from the water inlet of device, flow impeller 7 and drive impeller 7 and rotate, flow from the bubbler at last, and main control circuit 11 control liquid crystal drive circuit lights display screen 4 simultaneously, shows rivers flow. When the water flow drives the impeller 7 to rotate, the permanent magnet on the impeller 7 cuts magnetic lines of force, the power generation coil 8 generates alternating current to charge the super capacitor 13, and energy is provided for the device. When the main control circuit 11 detects that the shielding object of the infrared sensor 9 leaves, the main control circuit 11 controls the electromagnetic valve to be closed, the water flow stops, the display screen 4 is closed, the faucet main body 1 enters a low power consumption state, and the situation that the key input is carried out or the infrared sensor 9 detects the shielding again is waited.
When the flow rate of water flow is lower than a (for example, 1.5 liters per minute), the impeller 7 rotates slowly, the main control circuit 11 controls the electronic switch to disconnect the power generation coil 8 from the charging management circuit 12, and the power generation coil 8 is opened at the moment, so that the impeller 7 can normally and smoothly rotate when the flow rate of water flow is lower, and the flow can be accurately measured; when the water flow rate is higher than b (for example, 2 liters per minute), the main control circuit 11 controls the electronic switch to connect the generating coil 8 and the charging management circuit 12, and the generating coil 8 charges the super capacitor 13 so as to supplement energy to the system, wherein the charging current is I.
Flow rate b should be greater than flow rate a and their difference (i.e., the value of b-a) should be at least greater than 0.1 liters per minute. Therefore, when the main control circuit 11 controls the electronic switch to connect the generating coil 8 and the charging management circuit 12, the rotating speed of the impeller 7 cannot be reduced to be lower than that of the impeller 7 when the water flow rate is a.
When the generating coil 8 is disconnected from the charging management circuit 12, the generating coil 8 is connected to only the frequency sampling circuit 10, and the frequency of the alternating current signal generated by the generating coil 8 is f1Velocity of flow Q1Is proportional to f1I.e. by
Q1=A*f1
A is a constant and is obtained through a flow calibration test;
when the generating coil 8 is connected with the charging management circuit 12, the generating coil 8 charges the super capacitor 13, the charging current is I, and the frequency of the alternating current signal generated by the generating coil 8 is f2At this time, the flow rate Q2Through f2And I is obtained by calculation according to the formula
Q2=C*I2+B*f2+D(I)
Wherein B and C are constants obtained by a flow calibration test, and D is a constant related to I obtained by table lookup.
The key circuit detects whether a key is input or not, a user can set a required flow value through the key, and after clicking confirmation, the main control circuit 11 controls the electromagnetic valve to be opened, and water flows out; the formula and the constant are input into an operation program, the main control circuit 11 automatically counts the flow in the mode, when the flow reaches a set value, the main control circuit controls the electromagnetic valve to be closed, the water flow stops, the accurate control of the water yield is realized, the water resource is saved, and finally the self-generating, flow monitoring and control functions of the induction type faucet are realized through the invention.