CN108644445B - Self-generating induction water valve controller and method - Google Patents

Self-generating induction water valve controller and method Download PDF

Info

Publication number
CN108644445B
CN108644445B CN201810392998.2A CN201810392998A CN108644445B CN 108644445 B CN108644445 B CN 108644445B CN 201810392998 A CN201810392998 A CN 201810392998A CN 108644445 B CN108644445 B CN 108644445B
Authority
CN
China
Prior art keywords
transistor
controller
resistor
module
output
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.)
Active
Application number
CN201810392998.2A
Other languages
Chinese (zh)
Other versions
CN108644445A (en
Inventor
尚婕
李印
林翰
杨凯
冯友兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xida (Changshu) Research Institute Co.,Ltd.
Original Assignee
Jiangsu University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu University of Science and Technology filed Critical Jiangsu University of Science and Technology
Priority to CN201810392998.2A priority Critical patent/CN108644445B/en
Publication of CN108644445A publication Critical patent/CN108644445A/en
Application granted granted Critical
Publication of CN108644445B publication Critical patent/CN108644445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/04Actuating devices; Operating means; Releasing devices electric; magnetic using a motor
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03DWATER-CLOSETS OR URINALS WITH FLUSHING DEVICES; FLUSHING VALVES THEREFOR
    • E03D5/00Special constructions of flushing devices, e.g. closed flushing system
    • E03D5/10Special constructions of flushing devices, e.g. closed flushing system operated electrically, e.g. by a photo-cell; also combined with devices for opening or closing shutters in the bowl outlet and/or with devices for raising/or lowering seat and cover and/or for swiveling the bowl
    • E03D5/105Special constructions of flushing devices, e.g. closed flushing system operated electrically, e.g. by a photo-cell; also combined with devices for opening or closing shutters in the bowl outlet and/or with devices for raising/or lowering seat and cover and/or for swiveling the bowl touchless, e.g. using sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Hydrology & Water Resources (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Domestic Plumbing Installations (AREA)
  • Sanitary Device For Flush Toilet (AREA)

Abstract

The invention discloses a self-generating induction water valve controller and a method, comprising the following steps: the water pipe generator is arranged in the water inlet pipe, a pulse electromagnetic valve is arranged on the water inlet pipe at the downstream of the water pipe generator, and a voltage acquisition unit is arranged at the output end of the water pipe generator; the input end of the charge-discharge protection module is connected with the output end of the water pipe generator; the battery is connected to the output end of the charge and discharge protection module; the power end of the sensor module is connected with the output end of the charge-discharge protection module, and the sensor module is arranged on outlet equipment of the water outlet pipe; the power supply end of the controller is connected with the output end of the charging and discharging protection module, the first input end of the controller is connected with the output end of the voltage acquisition unit, and the second input end of the controller is connected with the output end of the sensor module; the input end of the driving module is connected with the output end of the controller, and the output end of the driving module is connected with the control end of the pulse electromagnetic valve. The invention realizes intelligent control of water outlet time and achieves the purposes of energy conservation and emission reduction.

Description

Self-generating induction water valve controller and method
Technical Field
The invention relates to the field of intelligent water saving, in particular to a self-generating induction water valve controller and a method, and mainly aims at a water valve control system installed in a urinal of a public toilet.
Background
With the appearance and popularization of the existing induction switch water valve device, people gradually get rid of the limitation of manually controlling a faucet or a urinal in public places such as office buildings, teaching buildings, commercial buildings and the like, and the purposes of water saving and sanitation are achieved through induction water valve control. Among them, the infrared inductive switch is commonly used in social production and life, plays a very important role in the development and progress of society, and has become an indispensable important product in modern society. In recent years, the infrared inductive switch is widely applied to a tap water system, plays a vital role in realizing water conservation and building a water-saving society, and particularly can effectively save a large amount of water resources in public places.
At present, water valve controllers applied to the market are various in types and various in functions, and can be mainly divided into the following types: the power improvement type, the power of traditional response water valve controller has 220V's alternating current power supply or four sections five batteries power supply, or both combine the use, chinese patent: 200910038279.1, the tap water power generation water-saving mixing tap utilizes the ejector to increase the flow rate of water flow and utilize water energy to generate power, and simultaneously, the generated suction force can also realize the functions of adding hand washing liquid into tap water and even closing a water valve; function improvement, some response water valves will change a little because of different application environments, chinese patent: 201410761452.1 safety induction water-saving valve with automatic switch and Chinese patent: "a water-saving induction water-saving valve of automatic switch" of ZL201420782493.4, it has strengthened its practicality to the bumpy environment of the train; the service improvement type is that how to design a perfect water valve controller, and some design improvement is provided for people when the fault cannot be avoided, and the Chinese patent: 201610888503.6, the electromagnetic valve and infrared induction control system for tap water pipeline adopts an automatic and manual dual-mode method to solve the problem, and the Chinese patent: "a water saving system of induction water outlet device" of ZL201520109197.2, add a wireless monitoring management center to the system, make the trouble can be solved in the first time.
In general, these new water valve designs add considerable problems while improving the functionality they seek: power improvement class fails to do effective control or power safety; the function improvement and the service improvement increase the complexity of the system, and the corresponding cost is not low, so that the system is not suitable for wide-range popularization.
Disclosure of Invention
An object of the present invention is to solve at least the above problems and to provide at least the advantages described later.
The invention also aims to provide a self-generating induction water valve controller, which aims to fully utilize the kinetic energy of water outlet of the water valve, convert the kinetic energy into electric energy to supply energy to a system, and intelligently control the water outlet time by utilizing a single chip microcomputer so as to achieve the purposes of energy conservation and emission reduction.
To achieve these objects and other advantages and in accordance with the purpose of the invention, there is provided a self-generating induction water valve controller including:
the water pipe generator is arranged in the water inlet pipe, a pulse electromagnetic valve is arranged on the water inlet pipe at the downstream of the water pipe generator, two ends of the pulse electromagnetic valve are connected with a manual water valve in parallel, and the output end of the water pipe generator is provided with a voltage acquisition unit;
the input end of the charge-discharge protection module is connected with the output end of the water pipe generator;
the battery is connected to the output end of the charge and discharge protection module;
the power end of the sensor module is connected with the output end of the charge-discharge protection module, and the sensor module is arranged on outlet equipment of the water outlet pipe;
a power supply end of the controller is connected with the output end of the charge-discharge protection module, a first input end of the controller is connected with the output end of the voltage acquisition unit, and a second input end of the controller is connected with the output end of the sensor module; and
and the input end of the driving module is connected with the output end of the controller, and the output end of the driving module is connected with the control end of the pulse electromagnetic valve.
Preferably, the charge and discharge protection module is a TP4056 integrated charging and protection board.
Preferably, the battery is a lithium battery, and two ends of the battery are connected with a super capacitor in parallel.
Preferably, the sensor module is an infrared sensor module.
Preferably, a timing module is arranged in the controller.
Preferably, the driving module includes: the circuit comprises a first triode Q1, a second triode Q2, a third triode Q3, a fourth triode Q4, a fifth triode Q5, a sixth triode Q6, a seventh triode Q7, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C3, a second capacitor C2 and a third capacitor C4; an emitter of the first transistor Q1 is connected to an emitter of the second transistor Q2 as an input port a of the driving module, a collector of the first transistor Q1 is connected to a collector of the third transistor Q3 as an output port D of the driving module, a base of the first transistor Q1 is connected to a first end of the second resistor R2, a collector of the second transistor Q2 is connected to a collector of the fourth transistor Q4 as an output port F of the driving module, a base of the second transistor Q2 is connected to a first end of the third resistor R3, an emitter of the third transistor Q3 is connected to an emitter of the fourth transistor Q4 as an input port C of the driving module, a base of the third transistor Q3 is connected to a first end of the fourth resistor R4, a base of the fourth transistor Q4 is connected to a first end of the fifth resistor R5, a collector of the fifth transistor Q5 is connected to a second end of the second resistor R2, and an emitter of the fifth transistor Q5 is connected to a second end of the fifth resistor R5, a base of the fifth transistor Q5 is connected to a first end of the sixth resistor R6, a collector of the sixth transistor Q6 is connected to a second end of the third resistor R3, an emitter of the sixth transistor Q6 is connected to a second end of the fourth resistor R4, a base of the sixth transistor Q6 is connected to a first end of the seventh resistor R7, a collector of the seventh transistor Q7 is connected to a second end of the sixth resistor R6, an emitter of the seventh transistor Q7 is connected to the driving module input port C, a base of the seventh transistor Q7 is connected to a second end of the seventh resistor R7 as the driving module input port B, a first end of the first resistor R1 is connected to the driving module input port a, a second end of the first resistor R1 is connected to a collector of the seventh transistor Q7, a first end of the first capacitor C3 is connected to a base of the fifth transistor Q5, and a second end of the first capacitor C3 is connected to the driving module input port C, a first end of the second capacitor C2 is connected to the output port D of the driving module, a second end of the second capacitor C2 is connected to the output port F of the driving module, a first end of the third capacitor C4 is connected to the base of the sixth transistor Q6, and a second end of the third capacitor C4 is connected to the input port C of the driving module.
Preferably, the controller has three output pins, wherein a first output pin is connected to the input port a, a second output pin is connected to the input port B, a third output pin is connected to the input port C, the first output pin and the third output pin provide a working voltage of the driving module, the output port D and the output port F are connected to a driving signal input terminal of the pulse solenoid valve, and the second output pin outputs a control signal for controlling the electrode on the pulse solenoid valve to reverse.
A control method of a self-generating induction water valve comprises the following steps:
step one, when a sensor module is triggered, the sensor module generates a first trigger signal and transmits the first trigger signal to a controller, and the controller wakes up from a sleep state after receiving the first trigger signal;
step two, when the sensor module is triggered, the sensor module generates a second trigger signal and transmits the second trigger signal to the controller, and the timing module calculates the duration t from the first trigger signal to the second trigger signal;
when the sensor module is triggered, controlling the pulse electromagnetic valve to be opened, enabling the water pipe generator to run to generate power, and supplying power to the battery, the sensor module, the controller and the driving module through the charge-discharge protection module;
and step four, acquiring an output voltage value x of the water pipe generator and transmitting the output voltage value x to a controller, setting a delay time a by the controller according to the voltage value x and the duration time t, and controlling the opening duration time of the pulse electromagnetic valve to be a, wherein a is inversely proportional to x and a is directly proportional to t.
And step five, the controller enters the dormant state again and waits for the next trigger starting.
Preferably, in the third step, if the duration t is detected to be less than five seconds, the process directly proceeds to the fifth step.
Preferably, in the fourth step, a database is set in the controller, the database stores a corresponding relation table between a and x, t, and the x, t values collected by the controller are imported into the database for automatic searching to obtain the delay time a.
The invention at least comprises the following beneficial effects:
1. the kinetic energy of the water discharged by the water valve is fully utilized and converted into electric energy for the system, so that the energy consumption of the system is reduced;
2. the controller automatically adjusts the water outlet flow according to the induction time and the water pressure, reduces the water outlet quantity on the premise of not influencing the flushing effect, and achieves the purpose of water saving.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention;
FIG. 2 is a circuit diagram of a water valve driving module according to the present invention;
FIG. 3 is a flow chart of the control method of the present invention.
Detailed Description
The present invention is further described in detail below with reference to the attached drawings so that those skilled in the art can implement the invention by referring to the description text.
It will be understood that terms such as "having," "including," and "comprising," as used herein, do not preclude the presence or addition of one or more other elements or groups thereof.
As shown in fig. 1-2, a self-generating induction water valve controller comprises a water pipe generator, a lithium battery charging and discharging module, an infrared sensor module, a controller, a pulse battery valve and a driving module thereof.
The water pipe generator 1 is arranged in the water inlet pipe, and when water in the water inlet pipe flows through the water pipe generator 1, water flow energy drives water to flow through the water pipe generator 1 to generate electricity. The water pipe generator is characterized in that a pulse electromagnetic valve 8 is arranged on the water inlet pipe at the downstream of the water pipe generator 1, two ends of the pulse electromagnetic valve 8 are connected with a manual water valve 9 in parallel, and the output end of the water pipe generator 1 is provided with a voltage acquisition unit for acquiring the output voltage value of the water pipe generator 1.
The input of the charge and discharge protection module 2 is connected at the output end of the water pipe generator 1, in this embodiment, what the charge and discharge protection module 2 adopted is a TP4056 integrated plate for charging and protecting, and the battery 5 is connected at the output end of the charge and discharge protection module 2 for charging the battery 5 through the charge and discharge protection module 2, in this embodiment, the battery is a lithium battery, a super capacitor 6 is connected in parallel at two ends of the battery 5.
The 3 power ends of sensor module with charge and discharge protection module 2's output is connected, what sensor module 3 adopted is pyroelectric infrared sensor module, and the electric energy that water pipe generator 1 sent directly supplies power for sensor module 3 through charge and discharge protection module 2, perhaps supplies power for sensor module 3 through battery 5, sensor module 3 sets up on outlet pipe exit device, and in this embodiment, sensor module 3 sets up in the urinal upper end for whether someone uses the urinal in the response.
The power end of the controller 4 is connected with the output end of the charge-discharge protection module 2, the electric energy generated by the water pipe generator 1 directly supplies power to the controller 4 through the charge-discharge protection module 2, or supplies power to the controller 4 through the battery 5, and in the embodiment, the controller 4 adopts a single chip microcomputer.
The first input end of the controller 4 is connected with the output end of the voltage acquisition unit and used for receiving the output voltage value of the water pipe generator 1, and the second input end of the controller 4 is connected with the output end of the sensor module 3 and used for receiving the sensing signal of the sensor module 3.
The controller 4 is provided with a timing module for calculating the time from the sensor module 3 sensing that a person enters the sensing area to the time when the person leaves the sensing area.
The input end of the driving module 7 is connected with the output end of the controller 4, and the output end of the driving module 7 is connected with the control end of the pulse electromagnetic valve 8 and used for controlling the on-off state of the pulse electromagnetic valve 8.
The drive module 7 includes: the circuit comprises a first triode Q1, a second triode Q2, a third triode Q3, a fourth triode Q4, a fifth triode Q5, a sixth triode Q6, a seventh triode Q7, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C3, a second capacitor C2 and a third capacitor C4; an emitter of the first transistor Q1 is connected to an emitter of the second transistor Q2 as an input port a of the driving module 7, a collector of the first transistor Q1 is connected to a collector of the third transistor Q3 as an output port D of the driving module 7, a base of the first transistor Q1 is connected to a first end of the second resistor R2, a collector of the second transistor Q2 is connected to a collector of the fourth transistor Q4 as an output port F of the driving module 7, a base of the second transistor Q2 is connected to a first end of the third resistor R3, an emitter of the third transistor Q3 is connected to an emitter of the fourth transistor Q4 as an input port C of the driving module 7, a base of the third transistor Q3 is connected to a first end of the fourth resistor R4, a base of the fourth transistor Q4 is connected to a first end of the fifth resistor R5, a collector of the fifth transistor Q5 is connected to a second end of the second resistor R2, an emitter of the fifth transistor Q5 is connected to a second end of the fifth resistor R5, a base of the fifth transistor Q5 is connected to a first end of the sixth resistor R6, a collector of the sixth transistor Q6 is connected to a second end of the third resistor R3, an emitter of the sixth transistor Q6 is connected to a second end of the fourth resistor R4, a base of the sixth transistor Q6 is connected to a first end of the seventh resistor R7, a collector of the seventh transistor Q7 is connected to a second end of the sixth resistor R6, an emitter of the seventh transistor Q7 is connected to the input port C of the driving module 7, a base of the seventh transistor Q7 is connected to a second end of the seventh resistor R7 as the input port B of the driving module 7, a first end of the first resistor R1 is connected to the input port a of the driving module 7, a second end of the first resistor R1 is connected to a collector of the seventh transistor Q7, and a first end of the first capacitor C3 is connected to a base 5 of the fifth transistor Q3536, the second end of the first capacitor C3 is connected to the input port C of the driving module 7, the first end of the second capacitor C2 is connected to the output port D of the driving module 7, the second end of the second capacitor C2 is connected to the output port F of the driving module 7, the first end of the third capacitor C4 is connected to the base of the sixth triode Q6, and the second end of the third capacitor C4 is connected to the input port C of the driving module 7.
The controller 4 is provided with three output pins, wherein a first output pin is connected with the input port A, a second output pin is connected with the input port B, a third output pin is connected with the input port C, the first output pin and the third output pin provide working voltage of the driving module 7, the output port D and the output port F are connected with a driving signal input end of the pulse electromagnetic valve 8 to provide a driving signal for an electrode on the pulse electromagnetic valve 8, the second output pin outputs a control signal for controlling the electrode on the pulse electromagnetic valve 8 to reverse, the controller outputs a control signal according to the output voltage value of the water pipe generator 1 and the time from the time when a person enters an induction area of the sensor module to the time when the person leaves the induction area, the control signal is output from the second output pin, and the input port B of the driving module receives the control signal to control the output port D, the, The polarity of the output signal on the output port F is used for controlling the polarity of the electrode on the pulse electromagnetic valve 8 to turn over, so that the on-off state of the pulse electromagnetic valve 8 is controlled, and the water yield of the water valve is automatically controlled by a program.
The control method of the self-generating induction water valve comprises the following steps:
step one, when a person goes to a toilet and enters a sensing area of a sensor module 3, the sensor module 3 is triggered, the sensor module 3 generates a first trigger signal and transmits the first trigger signal to a controller 4, and the controller 4 wakes up from a sleep state after receiving the first trigger signal;
step two, when the toilet leaves the sensing area of the sensor module 3 after the toilet is finished, the sensor module 3 finishes the triggered state, the sensor module 3 generates a second trigger signal and transmits the second trigger signal to the controller 4, and the timing module calculates the duration time t from the first trigger signal to the second trigger signal;
step three, when a person leaves the induction area of the sensor module 3, the pulse electromagnetic valve 8 is controlled to be opened, water discharged from the water valve washes the urinal, meanwhile, the water pipe generator 1 operates to generate power, and the battery 5, the sensor module 3, the controller 4 and the driving module 7 are powered through the charge-discharge protection module 2; in addition, the pyroelectric infrared sensor can only sense a moving human body within the range, if the time detected by the pyroelectric infrared sensor is less than 5 seconds, the human body sensing is ignored, and the step five is directly performed;
and step four, acquiring an output voltage value x of the water pipe generator 1 through a voltage acquisition unit and transmitting the output voltage value x to the controller 4, setting a delay time a by the controller 4 according to the voltage value x and the duration time t, and controlling the opening duration time of the pulse electromagnetic valve 8 to be a, wherein a is inversely proportional to x and a is directly proportional to t.
And step five, the controller 4 enters the dormant state again and waits for the next trigger starting.
Specifically, a database is set in the controller 4, a corresponding relation table of a and x and t is stored in the database in advance, and the values of x and t acquired by the controller 4 are imported into the database for automatic searching to obtain the delay time a.
From the above, the water pipe passes through the miniature water pipe generator 1, the miniature water pipe generator is connected with the charge and discharge protection module 2, the charge and discharge protection module 2 charges the lithium battery 5, two ends of the lithium battery 5 are connected with the super capacitor 6 in parallel, and the load of the charge and discharge protection module is the infrared sensor module 3; the load of the charge-discharge protection module is also connected with an STC15 micro single-chip microcomputer system 4 in parallel, a control signal of the infrared sensor is connected with the STC15 micro single-chip microcomputer system 4, a voltage value generated by the water pipe generator is input through one pin of the STC15 micro single-chip microcomputer system 4, the STC15 micro single-chip microcomputer system 4 is provided with three pins to be output to a pulse electromagnetic valve driving module 7, the pulse electromagnetic valve driving module is connected to a pulse electromagnetic valve 8, the pulse electromagnetic valve 8 is connected to a water pipe, and two ends of the pulse electromagnetic valve 8 are connected with.
The electric energy generated by the water pipe generator 1 is supplied to the system through the charge-discharge protection module 2, and meanwhile, part of the electric energy is stored in the lithium battery 5 and the super capacitor 6 to provide electric energy before the next water valve is opened; the load of the charge and discharge protection module 2 is connected with the infrared sensor module 3 and the STC15 micro single-chip microcomputer system 4 in parallel to provide working voltage for the infrared sensor module and the STC15 micro single-chip microcomputer system; the STC15 micro single-chip microcomputer system 4 is provided with two input pins which are respectively a control signal of the infrared sensor module and a voltage value signal generated by the water pipe generator; the STC15 micro-singlechip system 4 has three output pins, two of which provide working voltage for the pulse solenoid valve driving module 7 and one of which provides a driving control signal.
FIG. 3 is a flow chart of the present invention.
Wherein, the singlechip is in a sleep mode when not working; when the infrared sensor senses that a human body approaches and transmits a control signal to the single chip microcomputer, the single chip microcomputer stops sleeping and starts timing; when the infrared sensor senses that the human body leaves and transmits a control signal to the single chip microcomputer again, the end of timing is marked as t, and the single chip microcomputer sends a water valve opening command; the water valve is opened to cause the water pipe generator to generate electricity, and the single chip microcomputer can read the voltage value x of the water pipe generator; comparing the timing value t with the voltage value x with the existing database to obtain a proper delay time a; the singlechip sends a water valve closing command after delaying for a seconds; and then the singlechip enters a sleep mode to wait for the next control signal of the infrared sensor.
Wherein t represents the time for using the urinal by a person, and the longer the t time is, the more the required flushing water amount is; in the case of a certain required flushing water amount, the lower the voltage value x, which means that the water flow in the water pipe is smaller, the longer the delay time a is needed to reach the required flushing water amount.
Fig. 2 is a circuit diagram of a water valve driving module according to the present invention.
Wherein, the port A, B, C is connected with an output pin of the singlechip; port D, F connects the two ends of the pulsed solenoid valve.
The whole working process of the invention is as follows: when the system does not work, the singlechip is in a sleep mode; when the infrared sensor senses that the human body approaches, a control signal is sent to the single chip microcomputer, the single chip microcomputer releases the sleep mode, and timing is started; when the infrared sensor senses that the human body leaves, the infrared sensor sends out a control signal again to finish timing, and meanwhile, three output pins (which correspond to ports A, B, C in fig. 2 respectively) of the single chip microcomputer output 110 to open the pulse electromagnetic valve and then output 000 to stop the power supply of the pulse electromagnetic valve driving module; the singlechip can draw up a specific water yield according to the length of the timing time t, judge the water pressure in the water pipe according to the voltage value x generated by the water pipe generator, and obtain a specific delay time a by comparing the values x and t in the database so as to meet the requirement of the required water flushing amount; after the single chip microcomputer is delayed by a, 100 is output at an output port, so that the pulse electromagnetic valve is closed, then 000 is output, and the power supply of the pulse electromagnetic valve driving module is stopped; at the pulse solenoid valve stage of opening, the water pipe generator can utilize the water energy electricity generation to supply energy for the system, has partial electric energy to pass through the storage of charge-discharge protection module in super capacitor and lithium cell simultaneously, for the system energy supply when the water pipe closes.
The invention takes a selected singlechip development board as a core, designs an induction water valve control system by expanding peripheral circuits such as an infrared sensor and the like, and mainly realizes the following functions: when the controller senses that water needs to be discharged, the controller intelligently processes the required water discharge through the single chip microcomputer, drives the ultra-low power consumption pulse electromagnetic valve to open, and tap water flows out, and meanwhile, the kinetic energy of the pulse electromagnetic valve is used for generating power and charging the rechargeable battery, so that external energy is completely not needed, and the purposes of energy conservation and emission reduction are achieved.
The intelligent water output control method is intelligently embodied in the calculation of the required water output and the control of the actual water output. The water yield calculation is based on the user urine time collected by the infrared sensor and is controlled by the single chip microcomputer, and the time is counted when the user enters the sensor area and is finished when the user leaves the time. Aiming at different use time, the singlechip sends out control signals of different water flushing amount; the control basis of actual water yield is then the voltage numerical value that the generator produced, and the voltage value that produces because of the generator can be along with hydraulic big or small change in the pipeline, utilizes the AD function of singlechip, can accomplish when water pressure is great, and control water time is short slightly, and water pressure is less, then control water time is long slightly for actual water yield can be more accurate reach the requirement, avoids the condition of washing by water not enough or wasting water.
The invention has the characteristics of self-generating electricity, no external power supply is needed, in order to achieve the purpose, the device can be used for a long time, the voltages at the two ends of the rechargeable battery are introduced into the AD module of the singlechip, and when the voltage at the two ends of the rechargeable battery is detected to be lower, the water outlet time can be properly prolonged when water is discharged next time, so that the generator can generate more electric energy and store the electric energy for standby. Meanwhile, the design of the circuit and the selection of each device take low power consumption as a standard, the energy consumption of the system is reduced as much as possible, and the purposes of energy conservation and emission reduction are fully achieved.
In order to enhance the practicability of the system, a manual water valve switch is connected in parallel at two ends of the pulse electromagnetic valve, when the energy storage of the rechargeable battery is insufficient due to long-time non-use, the water valve is opened manually to discharge water, the generator can generate and store electricity by utilizing the kinetic energy of the generator, and the generator can be normally used next time. Meanwhile, the condition that the urinal cannot be used when the device breaks down is also avoided.
In the invention, the kinetic energy of the water outlet of the water valve is fully utilized by the water valve controller, and the kinetic energy is converted into electric energy for the system, so that the energy consumption of the system is reduced; meanwhile, the controller automatically adjusts the water outlet flow according to the induction time and the water pressure, reduces the water outlet quantity on the premise of not influencing the flushing effect, and achieves the purpose of water saving.
While embodiments of the invention have been described above, it is not limited to the applications set forth in the description and the embodiments, which are fully applicable in various fields of endeavor to which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.

Claims (9)

1. A self-generating induction water valve controller is characterized by comprising:
the water pipe generator is arranged in the water inlet pipe, a pulse electromagnetic valve is arranged on the water inlet pipe at the downstream of the water pipe generator, two ends of the pulse electromagnetic valve are connected with a manual water valve in parallel, and the output end of the water pipe generator is provided with a voltage acquisition unit;
the input end of the charge-discharge protection module is connected with the output end of the water pipe generator;
the battery is connected to the output end of the charge and discharge protection module;
the power end of the sensor module is connected with the output end of the charge-discharge protection module, and the sensor module is arranged on outlet equipment of the water outlet pipe;
a power supply end of the controller is connected with the output end of the charge-discharge protection module, a first input end of the controller is connected with the output end of the voltage acquisition unit, and a second input end of the controller is connected with the output end of the sensor module; and
the input end of the driving module is connected with the output end of the controller, and the output end of the driving module is connected with the control end of the pulse electromagnetic valve; the driving module includes: the circuit comprises a first triode Q1, a second triode Q2, a third triode Q3, a fourth triode Q4, a fifth triode Q5, a sixth triode Q6, a seventh triode Q7, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C3, a second capacitor C2 and a third capacitor C4; an emitter of the first transistor Q1 is connected to an emitter of the second transistor Q2 as an input port a of the driving module, a collector of the first transistor Q1 is connected to a collector of the third transistor Q3 as an output port D of the driving module, a base of the first transistor Q1 is connected to a first end of the second resistor R2, a collector of the second transistor Q2 is connected to a collector of the fourth transistor Q4 as an output port F of the driving module, a base of the second transistor Q2 is connected to a first end of the third resistor R3, an emitter of the third transistor Q3 is connected to an emitter of the fourth transistor Q4 as an input port C of the driving module, a base of the third transistor Q3 is connected to a first end of the fourth resistor R4, a base of the fourth transistor Q4 is connected to a first end of the fifth resistor R5, a collector of the fifth transistor Q5 is connected to a second end of the second resistor R2, and an emitter of the fifth transistor Q5 is connected to a second end of the fifth resistor R5, a base of the fifth transistor Q5 is connected to a first end of the sixth resistor R6, a collector of the sixth transistor Q6 is connected to a second end of the third resistor R3, an emitter of the sixth transistor Q6 is connected to a second end of the fourth resistor R4, a base of the sixth transistor Q6 is connected to a first end of the seventh resistor R7, a collector of the seventh transistor Q7 is connected to a second end of the sixth resistor R6, an emitter of the seventh transistor Q7 is connected to the driving module input port C, a base of the seventh transistor Q7 is connected to a second end of the seventh resistor R7 as the driving module input port B, a first end of the first resistor R1 is connected to the driving module input port a, a second end of the first resistor R1 is connected to a collector of the seventh transistor Q7, a first end of the first capacitor C3 is connected to a base of the fifth transistor Q5, and a second end of the first capacitor C3 is connected to the driving module input port C, a first end of the second capacitor C2 is connected to the output port D of the driving module, a second end of the second capacitor C2 is connected to the output port F of the driving module, a first end of the third capacitor C4 is connected to the base of the sixth transistor Q6, and a second end of the third capacitor C4 is connected to the input port C of the driving module.
2. The self-generating induction water valve controller according to claim 1, wherein the charge and discharge protection module is a TP4056 charging and protection integrated board.
3. The self-generating induction water valve controller as claimed in claim 2, wherein the battery is a lithium battery, and a super capacitor is connected in parallel with two ends of the battery.
4. The self-generating induction water valve controller as claimed in claim 3, wherein the sensor module is an infrared sensor module.
5. The self-generating induction water valve controller as claimed in claim 4, wherein a timing module is disposed in the controller.
6. The self-generating induction water valve controller as claimed in claim 5, wherein the controller has three output pins, wherein a first output pin is connected to the input port A, a second output pin is connected to the input port B, a third output pin is connected to the input port C, the first output pin and the third output pin provide the operating voltage of the driving module, the output port D and the output port F are connected to the driving signal input end of the pulse solenoid valve, and the second output pin outputs a control signal for controlling the electrode on the pulse solenoid valve to reverse.
7. The control method of the self-generating induction water valve controller according to claim 6, characterized by comprising the following steps:
step one, when a sensor module is triggered, the sensor module generates a first trigger signal and transmits the first trigger signal to a controller, and the controller wakes up from a sleep state after receiving the first trigger signal;
step two, when the sensor module is triggered, the sensor module generates a second trigger signal and transmits the second trigger signal to the controller, and the timing module calculates the duration t from the first trigger signal to the second trigger signal;
when the sensor module is triggered, controlling the pulse electromagnetic valve to be opened, enabling the water pipe generator to run to generate power, and supplying power to the battery, the sensor module, the controller and the driving module through the charge-discharge protection module;
acquiring an output voltage value x of the water pipe generator and transmitting the output voltage value x to a controller, setting a delay time a by the controller according to the voltage value x and a duration time t, and controlling the opening duration time of a pulse electromagnetic valve to be a, wherein a is inversely proportional to x and a is directly proportional to t;
and step five, the controller enters the dormant state again and waits for the next trigger starting.
8. The method for controlling the self-generating induction water valve controller according to claim 7, wherein in the third step, if the duration t is detected to be less than five seconds, the step is directly performed to the fifth step.
9. The method for controlling the self-generating induction water valve controller according to claim 8, wherein in the fourth step, a database is set in the controller, a corresponding relation table between a and x and t is stored in the database, and the x and t values acquired by the controller are led into the database to be automatically searched, so that the delay time a is obtained.
CN201810392998.2A 2018-04-27 2018-04-27 Self-generating induction water valve controller and method Active CN108644445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810392998.2A CN108644445B (en) 2018-04-27 2018-04-27 Self-generating induction water valve controller and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810392998.2A CN108644445B (en) 2018-04-27 2018-04-27 Self-generating induction water valve controller and method

Publications (2)

Publication Number Publication Date
CN108644445A CN108644445A (en) 2018-10-12
CN108644445B true CN108644445B (en) 2020-01-10

Family

ID=63747922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810392998.2A Active CN108644445B (en) 2018-04-27 2018-04-27 Self-generating induction water valve controller and method

Country Status (1)

Country Link
CN (1) CN108644445B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112690A (en) * 2021-03-22 2021-07-13 康大创新(广东)科技有限公司 Water control device of self-service water dispenser, self-service water dispenser and water supply mode of self-service water dispenser
CN114123888A (en) * 2021-11-22 2022-03-01 江苏科技大学 Multi-level gear shifting circuit and control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0733561Y2 (en) * 1989-11-17 1995-07-31 株式会社イナックス Storage battery charge prevention device
KR101405147B1 (en) * 2012-09-19 2014-06-10 로얄앤컴퍼니 주식회사 Apparatus and method for controling self-generation faucet
CN203963189U (en) * 2014-07-03 2014-11-26 河南伯晋电子科技有限公司 Be applied to the self locking type control circuit that valve is controlled
CN104879553A (en) * 2015-05-20 2015-09-02 东北电力大学 Self-power-generation auto-induction water saving device
CN204756085U (en) * 2015-06-17 2015-11-11 利尔达科技集团股份有限公司 Fall automatic valve control circuit who drives valve of electricity
CN105715849A (en) * 2016-03-28 2016-06-29 徐云松 Self-powered temperature-control water mixing valve device
CN206070676U (en) * 2016-10-11 2017-04-05 卢川英 A kind of public lavatory automatic flushing control apparatus
CN107120462A (en) * 2017-05-16 2017-09-01 郝朝朝 A kind of self-power generation water-discharging apparatus with latching circuit

Also Published As

Publication number Publication date
CN108644445A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN202957634U (en) Maximum power point (MPPT) tracing and load protection device for photovoltaic cell
CN108644445B (en) Self-generating induction water valve controller and method
CN201797628U (en) Intelligent lighting control system
CN104697117A (en) Energy-saving device and method for air conditioner based on active human body pyroelectric infrared induction
CN202818683U (en) Intelligent LED lamp
CN110246259A (en) Based on microwave induced intelligent door lock system and microwave induced control method
CN201812170U (en) Automatic induction energy-saving device of water dispenser
CN107390284A (en) A kind of infrared inductor and method
CN202408393U (en) Intelligent curtain suitable for family
CN204705866U (en) A kind of communal bathroom intelligent monitor system showing current persons count
CN201772127U (en) Solar power supply and CyFi communication technology-based valve controller
CN201869634U (en) Energy-efficient and automatic control device for drip irrigation
CN106505659B (en) The design method of the cell activation control circuit of uninterrupted DC power supply
CN202651811U (en) Environmental-protection micro electric energy collection converter
CN201352723Y (en) Power transforming and solar energy charging circuit
CN201134763Y (en) Off-line current type PWM power source control circuit
CN103347348B (en) Solar LED streetlight controller
CN202513894U (en) Controller for door controlled switch of bathroom
CN111622315A (en) Closestool flushing system and intelligent closestool
CN201489325U (en) Automatic intelligent sensing battery-conserving switch
CN219980802U (en) Shutdown circuit for medical instrument
CN202055320U (en) Toilet time-share water-flushing control system
CN205017083U (en) Energy -conserving exhaust device of intelligence based on dual power supply
CN205348322U (en) Controller is drenched to circulating dashing of men's urinal
CN205176556U (en) Be suitable for water and electricity energy -saving control system between public health

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201012

Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: 212008 No. 2, Mengxi Road, Zhenjiang City, Suzhou, Jiangsu

Patentee before: JIANGSU University OF SCIENCE AND TECHNOLOGY

CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.

CP02 Change in the address of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210707

Address after: 215500 No.9 Lianfeng Road, Changshu City, Suzhou City, Jiangsu Province

Patentee after: JIANGSU ENCE TESTING TECHNOLOGY Co.,Ltd.

Address before: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220623

Address after: Building 5, No. 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Xida (Changshu) Research Institute Co.,Ltd.

Address before: 215500 No.9 Lianfeng Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: JIANGSU ENCE TESTING TECHNOLOGY CO.,LTD.

TR01 Transfer of patent right