Drainage control device for reservoir
By introducing a water level detection and timed control module into the water storage tank, the system enables batch-timed drainage, solving the problem of no water supply caused by traditional water level control and improving the survival rate of bacteria and the stability of the sewage treatment equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2026-03-20
AI Technical Summary
Traditional water level control methods for water storage tanks result in sewage treatment equipment having no water supply for extended periods, such as at night, which affects the survival of bacteria and the performance of the sewage treatment equipment.
A water storage tank drainage control device was designed, including a water level detection module, a timer control module, a water pump drive module, and a main control module. By monitoring the water level in real time and controlling the timer, the device can achieve batch-timed drainage to ensure a continuous water supply to the sewage treatment plant.
It improved the survival rate of the microbial community, maintained the stable operation of the sewage treatment equipment, prevented the overflow of the water storage tank, and improved the safety and reliability of the drainage system.
Smart Images

Figure CN224016480U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to drainage control technical field, specifically, relate to a water storage pool drainage control device. BACKGROUND
[0002] In the operation process of the hydropower plant, the water storage pool as an important facility for collecting various types of domestic sewage in the plant station, the drainage control is very important for the stable operation of the sewage treatment process. At present, the mainstream water level control mode of the water storage pool in the industry is to carry out drainage operation based on the set water level threshold. Specifically, when the water level of the water storage pool rises to the preset drainage water level, the system starts the drainage program; and when the water level drops to the set stop drainage water level, the drainage process is terminated. This traditional water level control strategy has realized the basic regulation and control of the water level of the water storage pool to a certain extent, but with the increasing requirements of the sewage treatment process on stability and reliability, its limitations have gradually emerged.
[0003] However, this traditional control mode often stops the drainage of the water storage pool at night and other specific periods, so that the sewage treatment equipment is in a long-time no-water state. For the equipment that relies on bacterial colonies for sewage treatment, long-time lack of sewage supply means that the nutrient source of the bacterial colonies is interrupted, which may lead to the bacterial colonies being unable to maintain normal metabolism and reproduction due to lack of nutrients, and finally affect the survival of the bacterial colonies and the overall performance of the sewage treatment equipment. UTILITY MODEL CONTENT
[0004] The utility model aims at providing a water storage pool drainage control device to solve the problem of low survival rate of bacterial colonies in the no-water working state of the sewage treatment device.
[0005] To achieve the above-mentioned purpose, the utility model provides a water storage pool drainage control device, which comprises a water storage pool, a water pump and a sewage treatment device, further comprises a power module, a water level detection module, a timing control module, a water pump driving module and a main control module, the power module is electrically connected with the main control module, the water level detection module, the timing control module, the water pump driving module, the main control module comprises a single-chip microcomputer, a crystal oscillator and a reset circuit, the input end of the single-chip microcomputer is electrically connected with the water level detection module, the timing control module, the crystal oscillator and the reset circuit, and the output end of the single-chip microcomputer is electrically connected with the water pump control module;The timing control module comprises a timer and a timing component, the input end of the timer is electrically connected with the timing component, and the output end of the timer is electrically connected with the single-chip microcomputer.
[0006] Further, the timing component includes a first resistor, a second resistor and a first capacitor, the first resistor and the second resistor are connected in series, one end of the first resistor is connected with 5V voltage output by the power module, the other end of the first resistor is connected with the second resistor, the other end of the second resistor is connected with the positive electrode of the first capacitor, and the negative electrode of the first capacitor is grounded.
[0007] Further, the water level detection module includes a floating ball type water level sensor, the floating ball type water level sensor is arranged in the water storage tank, and the first contact, the second contact and the third contact of the floating ball type water level sensor output water level signals to the single-chip microcomputer respectively.
[0008] Further, the input end of the power module is connected with a direct-current power supply through a power adapter, the first output end of the power module outputs 5V voltage through a voltage stabilizing chip, the first output end of the power module is connected with the main control module, the timing control module and the water level detection module, the second output end of the power module outputs 12V voltage, and the second output end of the power module is connected with the water pump driving module.
[0009] Further, the power module is also connected with a power indicator lamp through a first current limiting resistor.
[0010] Further, the water pump driving module includes a motor driving chip, the input end of the motor driving chip is connected with the power module and the single-chip microcomputer respectively, and the output end of the motor driving chip is connected with the water pump.
[0011] Further, the reset circuit includes a second capacitor and a third resistor, one end of the second capacitor is connected with the power module, the other end is grounded through the third resistor, and the connection point of the second capacitor and the third resistor is connected with the reset pin of the single-chip microcomputer.
[0012] Further, the alarm device includes a buzzer, an LED indicator lamp and a triode, the base of the triode is connected to the single-chip microcomputer through a second current limiting resistor, is used for receiving the control signal of the single-chip microcomputer, the emitter of the triode is grounded, the collector of the triode is connected with the buzzer and the LED indicator lamp, and the buzzer and the LED indicator lamp are connected with the power module.
[0013] Further, the display module includes a liquid crystal display screen, the liquid crystal display screen is connected with the single-chip microcomputer through a parallel interface, and is used for displaying the water level state of the water storage tank, timing information and water pump working state.
[0014] The beneficial effects of the utility model include:
[0015] 1. The utility model provides a kind of water reservoir drainage control device, power module is water level detection module, timing control module, water pump driving module and main control module power supply, ensure that device normal operation.The water level of water reservoir is monitored in real time by water level detection module, and water level signal is transmitted to the single-chip microcontroller of main control module.The timing component of timing control module cooperates with timer, generates timing signal and is sent to single-chip microcontroller.Single-chip microcontroller carries out logical judgment according to received water level signal and timing signal, sends control instruction to water pump driving module by single-chip microcontroller output end, drives water pump to drain according to the timing of setting, batch mode, so that sewage in water reservoir can be drained into sewage treatment device in multiple times, ensure that sewage treatment device is in the working condition of having water for a long time, provide the nutrients of continuous for flora, to improve the survival rate of flora. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical scheme of the utility model embodiment, the following will be briefly introduced to the drawings needed to be used in the utility model embodiment, it should be understood that the following drawings only show some embodiments of the utility model, therefore should not be regarded as the limitation to the scope, for ordinary skilled person in the art, under the premise of not paying creative labor, other related drawings can also be obtained according to these drawings.
[0017] Figure 1 The structural diagram of the water reservoir drainage system provided by the utility model embodiment is shown.
[0018] Figure 2 The structural diagram of the water reservoir drainage control device provided by the utility model embodiment is shown.
[0019] Figure 3 The pin diagram of the single-chip microcontroller provided by the utility model embodiment is shown.
[0020] Figure 4 The drainage control logic diagram provided by the utility model embodiment is shown.
[0021] Figure 5 The structural diagram of the timing control module provided by the utility model is shown.
[0022] Figure 6 The structural diagram of the reset circuit provided by the utility model is shown. DETAILED DESCRIPTION
[0023] The technical scheme in the utility model embodiment will be described below in conjunction with the drawings in the utility model embodiment.
[0024] It should be noted that similar reference numbers and letters refer to similar items in the following drawings, and therefore, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings. It is to be noted that the terms "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships as shown in the drawings, or as the device or element is typically placed in use, and are used only for the purpose of illustrating and describing the present application and simplifying the description, and are not intended to indicate or imply that the device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed as limiting the application. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions, and should not be construed as indicating or implying relative importance.
[0025] Please refer to Figures 1 to 4As shown, the water storage pool drainage control device provided by at least one embodiment of the present disclosure comprises a water storage pool, a water pump, and a sewage treatment device, and further comprises a power module, a water level detection module, a timing control module, a water pump driving module, and a master control module, wherein the power module is electrically connected with the master control module, the water level detection module, the timing control module, and the water pump driving module; the master control module comprises a single-chip microcomputer, a crystal oscillator, and a reset circuit, the input end of the single-chip microcomputer is electrically connected with the water level detection module, the timing control module, the crystal oscillator, and the reset circuit, and the output end of the single-chip microcomputer is electrically connected with the water pump control module; the timing control module comprises a timer and a timing component, the input end of the timer is electrically connected with the timing component, and the output end of the timer is electrically connected with the single-chip microcomputer. Specifically, the two ends of the crystal oscillator are preferably connected to the OSC_IN pin and the OSC_OUT pin of the single-chip microcomputer STM32F103C8T6, respectively, while a 22pF capacitor is connected to the ground in parallel at the two ends of the crystal oscillator, which helps the crystal oscillator start oscillation and provides a stable clock signal for the single-chip microcomputer. The type of the voltage stabilizing chip used in the power module is LM7805, the input pin of which is connected to the output of the power adapter, and the output pin is connected to the VCC pin of the single-chip microcomputer STM32F103C8T6 and the VCC pin of the NE555 timer; the water level detection module uses a floating ball type water level sensor: the first contact is connected to the PA0 pin of the single-chip microcomputer STM32F103C8T6, the second contact is connected to the PA1 pin of the single-chip microcomputer STM32F103C8T6, and the third contact is connected to the PA2 pin of the single-chip microcomputer STM32F103C8T6; the timing control module preferably uses an NE555 timer: the VCC pin of the NE555 timer is connected to the 5V output of the power module; the output timing signal of the NE555 timer is connected to the PA3 pin of the single-chip microcomputer STM32F103C8T6. The water pump driving module preferably uses a driving chip with the model number L298N: the VCC pin of the L298N is connected to the 12V power supply output by the power module; the driving chip of the L298N is connected to the PB0 pin of the single-chip microcomputer STM32F103C8T6; the output pins of the L298N driving chip are respectively connected to the positive and negative electrodes of the water pump motor; the VCC pin of the single-chip microcomputer STM32F103C8T6 is connected to the 5V output of the power module, and the GND pin of the single-chip microcomputer STM32F103C8T6 is grounded; the OSC_IN and OSC_OUT pins of the single-chip microcomputer STM32F103C8T6 are connected to the crystal oscillator; the NRST pin of the single-chip microcomputer STM32F103C8T6 is connected to the reset circuit.
[0026] In actual application, the water storage pool is connected with the water pump and the sewage treatment device in sequence through pipelines. Figure 1 and Figure 4As shown, the water storage pool is connected with the water pump and the sewage treatment device through pipes to provide a physical path for the drainage process. The setting principle of the timing time and the drainage volume is as follows: according to the information that the sewage treatment device has a sewage treatment volume of more than 0.5 m 3 / h per hour, the single-chip microcomputer determines to adopt the strategy of draining water 0.3 meters every 6 hours through internal program calculation and logical judgment.
[0027] As shown in the figure, Figure 4 the logic implementation of the timing drainage is as follows:
[0028] Normal timing drainage: the single-chip microcomputer continuously receives the water level signal of the water level detection module and the timing signal of the timing control module. When it is detected that the water level rises by more than 0.2 meters from the pump stop water level and the 6-hour timing pump start condition is met, the single-chip microcomputer sends a start signal to the water pump driving module, and the water pump starts to work to drain the water in the water storage pool to the sewage treatment device. At the same time, the single-chip microcomputer monitors the water level drop in real time through the water level detection module, and when the water level drops by 0.3 meters, the single-chip microcomputer sends a stop signal to the water pump driving module at T1 time, and the water pump stops working.
[0029] Water level not meeting the requirement: if the 6-hour timing pump start condition is met, but the water level is not higher than the pump stop water level by more than 0.2 meters, the single-chip microcomputer will not send a start signal to the water pump driving module, and the water pump remains in a stopped state. The single-chip microcomputer continues to monitor the water level until the water level is higher than the pump stop water level by more than 0.2 meters, and then starts the water pump and stops the pump when the water level drops to the pump stop water level L1.
[0030] Rapid water level rise: when the water level rises rapidly to the pump start water level L2 within 6 hours, the single-chip microcomputer detects this situation and immediately sends a start signal to the water pump driving module at T2 time, and the water pump starts to drain water. The single-chip microcomputer also monitors the water level in real time, and when the water level drops by 0.6 meters, it sends a stop signal at T3 time, and the water pump stops working.
[0031] The embodiment realizes precise control of the water storage pool drainage through timing and batch drainage, and brings significant beneficial effects. On the one hand, according to the treatment capacity of the sewage treatment device and the survival requirements of the bacterial population, the timing time and the drainage volume are accurately set to ensure that the sewage treatment device is in a working state with incoming water for a long time, providing continuous nutrient supply for the bacterial population, effectively solving the problem of low survival rate of the bacterial population due to long-term lack of incoming water, and maintaining the efficient and stable operation of the sewage treatment device. On the other hand, through reasonable water level judgment logic, corresponding drainage strategies are adopted under different water levels, which can not only perform timing drainage when the water level is normal, but also increase the drainage volume when the water level rises rapidly to prevent the water storage pool from overflowing due to high water level, thereby ensuring the safety and reliability of the entire drainage system.
[0032] Preferably, see Figure 5 As shown, the timing component includes a first resistor, a second resistor and a first capacitor, the first resistor and the second resistor are connected in series, one end of the first resistor is connected with the 5V voltage output by the power module, the other end of the first resistor is connected with the second resistor, the other end of the second resistor is connected with the positive electrode of the first capacitor, and the negative electrode of the first capacitor is grounded. Specifically, the timing component plays a role in accurately controlling the drainage time. First, the power module outputs a 5V voltage connected to one end of the first resistor in series, and the current passes through the first resistor and the second resistor in turn, and then charges the first capacitor, with the negative electrode of the first capacitor grounded; the NE555 chip detects the voltage on the first capacitor in real time. In the initial stage, the voltage on the first capacitor is lower than 1 / 3 of the power supply voltage, at which time the NE555 timer is in a steady state and does not produce a state change signal. When an external trigger signal appears (such as system power-on), the power supply continuously charges the first capacitor through the first resistor and the second resistor. With the charging process, the voltage on the first capacitor rises, and when the voltage rises to 2 / 3 of the power supply voltage, the NE555 timer state changes, and outputs a state change signal to the single-chip microcomputer. By reasonably selecting the parameters of the first resistor, the second resistor and the first capacitor, a monostable circuit with a timing of about 6 hours is finally formed, that is, the timer state changes once every 6 hours, and the timing signal is transmitted to the single-chip microcomputer. After receiving the signal, the single-chip microcomputer controls the water pump driving module in combination with the water level information fed back by the water level detection module, to realize the timed drainage operation of the water storage tank.
[0033] The present embodiment realizes the precise timing function of about 6 hours through the cooperation of the timing component and the NE555 timer, and provides a stable and reliable time control mechanism for the water storage tank drainage. This precise timing drainage method can ensure that the sewage treatment equipment continuously receives sewage according to the set time interval, effectively solves the problem of low survival rate of bacterial groups due to insufficient nutrients caused by long-term lack of incoming water in the sewage treatment equipment, and maintains a healthy living environment for the bacterial groups in the sewage treatment equipment. At the same time, in combination with the water level detection module, the single-chip microcomputer can make more reasonable drainage decisions according to the actual water level, avoiding the situation of blind drainage or untimely drainage, ensuring that the water level of the water storage tank is within a safe range, and enabling the sewage treatment equipment to operate stably and efficiently, thereby improving the reliability and stability of the entire drainage and sewage treatment system.
[0034] Preferably, the water level detection module comprises a floating ball type water level sensor, the floating ball type water level sensor is arranged in the water storage tank, and the first contact, the second contact and the third contact of the floating ball type water level sensor respectively output water level signals to the single-chip microcomputer; specifically, first, the floating ball type water level sensor is vertically installed at a suitable position in the water storage tank to ensure that the floating ball can freely float up and down without being hindered. Then, the first contact, the second contact and the third contact of the sensor are respectively connected to three general input and output pins PA0, PA1 and PA2 of the single-chip microcomputer STM32F103C8T6 through wires, when the water level reaches the position of the corresponding contact, the level of the corresponding pin changes, and the single-chip microcomputer obtains the water level information by detecting the pin level. The floating ball type water level sensor has simple structure and high reliability, and can accurately detect the water level change in the water storage tank. By connecting the contacts of the sensor to the general input and output pins of the single-chip microcomputer, the single-chip microcomputer can obtain water level information in real time and accurately, providing reliable data support for subsequent drainage control, so that the drainage control device can flexibly control the start and stop of the water pump according to the actual water level.
[0035] Preferably, the input end of the power module is connected to a direct current power supply through a power adapter, the first output end of the power module outputs a 5V voltage through a voltage stabilizing chip, the first output end of the power module is connected to the main control module, the timing control module and the water level detection module, the second output end of the power module outputs a 12V voltage, the second output end of the power module is connected to the water pump driving module, and the power module is further connected with a power indicator lamp through a first current limiting resistor; specifically, the model of the voltage stabilizing chip is LM7805, the power module is connected to the input pin of the voltage stabilizing chip LM7805 through a power switch and a 9-12V direct current power supply; the output pin of the voltage stabilizing chip LM7805 outputs a 5V stable voltage to supply power to the single-chip microcomputer and the timer chip; preferably, a 100uF electrolytic capacitor and a 0.1uF ceramic capacitor are connected in parallel at the output end of the power module for filtering and reducing voltage fluctuation. The power indicator lamp LED is connected to the 5V power supply through a 220Ω current limiting resistor to indicate the power state.
[0036] Preferably, the water pump driving module comprises a motor driving chip, the input end of the motor driving chip is electrically connected to the power module and the single-chip microcomputer, and the output end of the motor driving chip is electrically connected to the water pump; specifically, the output end of the power module is connected to the power input pin of the L298N driving chip to ensure that the power voltage and power meet the requirements of the chip, and the motor driving chip can accurately convert the control signal of the single-chip microcomputer into the power for driving the water pump, so that the start, stop and running state of the water pump can be flexibly adjusted according to the water level and timing requirements.
[0037] Preferably, as Figure 6As shown, the reset circuit comprises a second capacitor and a third resistor, one end of the second capacitor is connected with the power module, the other end is grounded through the third resistor, and the connection point of the second capacitor and the third resistor is connected with the reset pin of the single-chip microcomputer. In the reservoir drainage control system based on the single-chip microcomputer STM32F103C8T6, the second capacitor is an electrolytic capacitor with a capacitance of 10 μF, and the third resistor is a resistor with a resistance of 10 kΩ. In addition, a reset button can also be included for manual reset. When the system is powered on, the power module starts to charge the second capacitor. In the initial charging stage, the second capacitor is equivalent to a short circuit, the voltage of the NRST pin of the single-chip microcomputer STM32F103C8T6 approaches 0 V, and the single-chip microcomputer enters a reset state. With the charging of the second capacitor, the voltage of the NRST pin of the single-chip microcomputer STM32F103C8T6 gradually rises, and when the voltage exceeds the reset threshold of the single-chip microcomputer, the single-chip microcomputer ends the reset state and starts to work normally. The embodiment provides a reliable power-on reset circuit, which can ensure that the internal state of the single-chip microcomputer is initialized every time the single-chip microcomputer is powered on, avoids the influence of abnormal states remaining from the last operation on the normal work of the system, and improves the stability and reliability of system startup.
[0038] Preferably, the alarm device further comprises a buzzer, an LED indicator and a triode, the base of the triode is connected to the single-chip microcomputer through a second current-limiting resistor for receiving a control signal of the single-chip microcomputer, the emitter of the triode is grounded, and the collector of the triode is linked with the buzzer and the LED indicator, and the buzzer and the LED indicator are electrically connected with the power module. Specifically, when the single-chip microcomputer detects an abnormal situation (such as a water level that is too high or a timing fault), the PB1 pin of the single-chip microcomputer STM32F103C8T6 outputs a high-level signal. This high-level signal is added to the base of the triode through the second current-limiting resistor, so that the triode is turned on. After being turned on, the power supply forms a loop through the triode and the alarm device, and the alarm device starts to work, and the buzzer sounds or the LED lights up; when the abnormal situation is resolved, the PB1 pin of the single-chip microcomputer STM32F103C8T6 outputs a low-level signal, the triode is cut off, and the alarm device stops working.
[0039] Preferably, the display module further comprises a liquid crystal display screen, and the liquid crystal display screen is electrically connected with the single-chip microcomputer through a parallel interface, for displaying the water level state of the reservoir, timing information and the working state of the water pump.
[0040] In addition to the above description, the following points need to be explained:
[0041] (1) The drawings of the embodiment of the present disclosure only relate to the structures involved in the embodiment of the present disclosure, and other structures can be referred to the general design;
[0042] (2) the control program of the water pump, the sensor and the like in the present disclosure are all mature conventional technologies in the prior art, and the application of the present application can be realized by the person skilled in the art according to the principles of the same function in the prior art, and the program part is not the innovation point of the present application;
[0043] (3) In the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other to obtain new embodiments.
[0044] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A water storage tank drainage control device, comprising a water storage tank, a water pump, and a sewage treatment device, characterized in that, It also includes a power supply module, a water level detection module, a timing control module, a water pump drive module, and a main control module. The power supply module is electrically connected to the main control module, the water level detection module, the timing control module, and the water pump drive module. The main control module includes a microcontroller, a crystal oscillator, and a reset circuit. The input terminal of the microcontroller is electrically connected to the water level detection module, the timing control module, the crystal oscillator, and the reset circuit, and the output terminal of the microcontroller is electrically connected to the water pump control module. The timing control module includes a timer and a timing component. The input terminal of the timer is electrically connected to the timing component, and the output terminal of the timer is electrically connected to the microcontroller.
2. The water storage tank drainage control device according to claim 1, characterized in that, The timing component includes a first resistor, a second resistor, and a first capacitor. The first resistor and the second resistor are connected in series. One end of the first resistor is electrically connected to the 5V voltage output by the power module, and the other end of the first resistor is electrically connected to the second resistor. The other end of the second resistor is connected to the positive terminal of the first capacitor, and the negative terminal of the first capacitor is grounded.
3. The water storage tank drainage control device according to claim 1, characterized in that, The water level detection module includes a float-type water level sensor, which is installed in the water storage tank. The first contact, second contact, and third contact of the float-type water level sensor respectively output water level signals to the microcontroller.
4. The water storage tank drainage control device according to claim 1, characterized in that, The input terminal of the power module is connected to a DC power supply through a power adapter. The first output terminal of the power module outputs a 5V voltage through a voltage regulator chip. The first output terminal of the power module is connected to the main control module, the timing control module, and the water level detection module. The second output terminal of the power module outputs a 12V voltage and is connected to the water pump drive module.
5. The water storage tank drainage control device according to claim 4, characterized in that, The power module is also connected to a power indicator light via a first current-limiting resistor.
6. The water storage tank drainage control device according to claim 1, characterized in that, The water pump drive module includes a motor drive chip. The input terminal of the motor drive chip is electrically connected to the power module and the microcontroller, respectively, and the output terminal of the motor drive chip is electrically connected to the water pump.
7. The water storage tank drainage control device according to claim 1, characterized in that, The reset circuit includes a second capacitor and a third resistor. One end of the second capacitor is connected to the power module, and the other end is grounded through the third resistor. The connection point of the second capacitor and the third resistor is connected to the reset pin of the microcontroller.
8. The water storage tank drainage control device according to any one of claims 1 to 7, characterized in that, It also includes an alarm device comprising a buzzer, an LED indicator, and a transistor. The base of the transistor is connected to the microcontroller through a second current-limiting resistor to receive control signals from the microcontroller. The emitter of the transistor is grounded, and the collector of the transistor is connected to the buzzer and the LED indicator. The buzzer and the LED indicator are electrically connected to the power module.
9. The water storage tank drainage control device according to claim 8, characterized in that, It also includes a display module, which includes an LCD screen. The LCD screen is electrically connected to the microcontroller through a parallel interface and is used to display the water level status of the reservoir, timing information, and the working status of the water pump.