Water level detection system, method and equipment
By installing an oscillator on the outer wall of the water tank for signal voltage division, the problem of traditional water level sensors being affected by scale and steam is solved, and high-reliability water level measurement for a variety of water tank types is achieved. It is suitable for metal and non-metal water tanks.
Patent Information
- Application Number
- CN202410605272.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-03
AI Technical Summary
Existing water level sensors are easily affected by scale and evaporated water vapor in water tanks, and are not suitable for metal water tanks, limiting the use environment.
Design a water level detection system that uses an oscillator located on the outer wall of the water tank to divide the signal. It obtains water level information through signal input, output and processing circuits, avoiding the problem of traditional sensors placed in the water. It uses rectification and filtering circuits to process signals, which is suitable for many applications. types of water tanks.
It improves the reliability and applicability of water level measurement, avoids the influence of scale and steam, is suitable for metal and non-metal water tanks, and improves the accuracy and stability of measurement.
Smart Images

Figure CN118583246A
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of water level detection, and in particular to a water level detection system, method and equipment. [Background technology]
[0002] At present, the commonly used water level sensors include float sensors, photoelectric sensors and capacitive sensors. The float sensor is a fixed contact measuring instrument. When in use, it is placed in the water and moves up and down as the water level in the water tank changes, and the output value changes accordingly; the photoelectric sensor emits light from the internal transmitting tube, and the receiver receives the refracted light to judge the water level in the water tank; the capacitive sensor judges the water level by detecting the change in capacitance value. However, the float sensor is easily affected by the scale accumulated in the water tank, causing the problem of getting stuck; when the photoelectric sensor is humidified in the water tank, the water level judgment is easily affected by the evaporation of water vapor, resulting in misjudgment of the water level; the capacitive sensor needs to use a non-metallic water tank, and the stainless steel water tank is currently used more, so the use environment is limited. [Summary of the invention]
[0003] Based on this, it is necessary to propose a water level detection system, method and equipment to address the above problems.
[0004] The specific technical solution of the first embodiment of the present invention is: a water level detection system, the system comprising: an oscillator, a signal input circuit, a signal output circuit and a signal processing circuit; the oscillator is located on the outer wall of the water tank, the input end of the signal input circuit is connected to the input end of the oscillator, the input end of the signal output circuit is connected to the output end of the oscillator, and the output end of the signal output circuit is connected to the signal processing circuit; the signal input circuit is used to input a working signal to the oscillator; the oscillator is used to divide the working signal according to the load of the water tank; the load includes the oscillator and the water in the water tank; the signal output circuit is used to output the divided working signal to the signal processing circuit; the signal processing circuit is used to obtain the water level in the water tank according to the divided working signal.
[0005] Preferably, the system also includes a rectifier circuit; the output end of the rectifier circuit is connected to the input end of the signal output circuit, and the rectifier circuit is used to rectify the divided working signal to obtain a DC voltage signal; the signal processing circuit is also used to obtain the water level in the water tank according to the DC voltage signal.
[0006] Preferably, the system also includes a filtering circuit; the output end of the filtering circuit is connected to the input end of the rectifier circuit, and the filtering circuit is used to filter the DC voltage signal to obtain a filtered DC voltage signal; the signal processing circuit is also used to obtain the water level in the water tank based on the filtered DC voltage signal.
[0007] Preferably, the signal processing circuit includes an ADC conversion module and a central processing module; the input end of the ADC conversion module is connected to the output end of the signal output circuit, and the output end of the ADC conversion module is connected to the input end of the central processing module; the ADC conversion module is used to obtain the voltage value in the divided working signal, and send the voltage value to the central processing module; the central processing module is used to obtain the water level in the water tank according to the voltage value.
[0008] Preferably, the equivalent circuit in which the oscillator divides the working signal according to the load of the water tank includes: a first capacitor, a second capacitor, an inductor and a resistor; one end of the first capacitor and one end of the second capacitor are connected to the signal input circuit, the other end of the first capacitor and one end of the resistor are connected to the signal output circuit, the other end of the second capacitor is connected to one end of the inductor, and the other end of the inductor is connected to the other end of the resistor.
[0009] Preferably, the vibrator includes a piezoelectric ceramic chip or a vibration motor.
[0010] The specific technical solution of the second embodiment of the present invention is: a water level detection method, the method comprising: a signal input circuit inputs a working signal to an oscillator; the oscillator divides the working signal according to the load of the water tank; the load includes the oscillator and the water in the water tank; the signal output circuit outputs the divided working signal to a signal processing circuit; the signal processing circuit obtains the water level in the water tank according to the divided working signal.
[0011] Preferably, the working signal is a high-frequency sinusoidal signal after being divided by a voltage-dividing resistor.
[0012] Preferably, the divided working signal is obtained using the following formula:
[0013] V out =V cc *Z / (Z+R0)
[0014] Among them, V out is the working signal after voltage division, V cc is the working signal, Z is the equivalent impedance of the oscillator, and R0 is the voltage dividing resistor.
[0015] Preferably, the method further comprises: generating an alarm when the voltage value of the divided working signal is less than a preset voltage threshold.
[0016] The specific technical solution of the third embodiment of the present invention is: a water level detection device, including a water level detection system as described in any one of the first embodiments of the present application.
[0017] The embodiments of the present invention have the following beneficial effects:
[0018] The vibrator in the present invention is located on the outer wall of the water tank, so as to avoid placing the sensor in the water and not be affected by the scale and steam accumulated in the water tank; the signal input circuit inputs the working signal to the vibrator; the vibrator divides the working signal according to the load of the water tank; the signal output circuit outputs the divided working signal to the signal processing circuit; the signal processing circuit obtains the water level in the water tank according to the divided working signal. The patented method can be widely applied to various types of water tanks such as metal and non-metal, and is not limited by the use environment. In addition, since the vibrator is located on the outer wall of the water tank, the reliability of water level measurement is improved.
Brief Description of the Drawings
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] in:
[0021] Figure 1 It is a structural diagram of the water level detection system;
[0022] Figure 2 This is the circuit diagram of the water level detection system;
[0023] Figure 3 is the circuit diagram of the filter circuit;
[0024] Figure 4 is a circuit diagram of a rectifier circuit;
[0025] Figure 5 is the equivalent circuit diagram of the oscillator;
[0026] Figure 6 is a flow chart of steps of a water level detection method;
[0027] Figure 7 It is a schematic diagram of the relationship between output voltage and water level;
[0028] Figure 8 It is a flow chart of the steps of low water level alarm;
[0029] Fig. 9 The figure shows the internal structure of a computer device in one embodiment.
[0030] Among them, 101, water tank; 102, oscillator; 103, signal input circuit; 104, signal output circuit; 105, signal processing circuit; 201, transformer; 202, phase shifter; 203, rectifier; 204, superposition network; 205, load. [Specific implementation method]
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] The terms "first", "second", etc. in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other steps or modules that are inherent to these processes, methods, products or devices.
[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0034] See also Figure 1, is a structural schematic diagram of a water level detection system in the first embodiment of the present application, so that the water level detection system is not limited by the use environment and the reliability of water level measurement is improved. The system includes: a water tank 101, an oscillator 102, a signal input circuit 103, a signal output circuit 104 and a signal processing circuit 105; the oscillator 102 is located on the outer wall of the water tank 101, the input end 103 of the signal input circuit is connected to the input end of the oscillator 102, the input end of the signal output circuit 104 is connected to the output end of the oscillator 102, and the output end of the signal output circuit 104 is connected to the signal processing circuit 105; the signal input circuit 105 is used to input a working signal to the oscillator 102; the oscillator 102 is used to divide the working signal according to the load of the water tank; the load includes the oscillator and the water in the water tank; the signal output circuit 104 is used to output the divided working signal to the signal processing circuit; the signal processing circuit 105 is used to obtain the water level in the water tank according to the divided working signal.
[0035] Specifically, the vibrator is installed on the side wall of the water tank, such as fixing it with glue. The vibrator includes two pins, positive and negative, for connecting to the working circuit; the working circuit includes a signal input circuit, a signal output circuit and a signal processing circuit; the signal input circuit is used to drive the vibrator to work, and the vibrator divides the working signal according to the load of the water tank; the more water in the water tank, the greater the load; the signal output circuit outputs the divided working signal to the signal processing circuit, such as the input working signal is 10V, and the output divided signal is 5V; the signal processing circuit obtains the water level in the water tank according to the divided working signal.
[0036] Specifically, the vibrator can be a device or structure that can generate equivalent impedance, such as a piezoelectric ceramic chip or a vibration motor; the piezoelectric ceramic chip can generate ultrasonic waves with a lower frequency, and the vibration motor can generate ultrasonic waves with a higher frequency. Specifically, the higher the frequency, the longer the transmission distance of the information carried by the ultrasonic wave, but the penetration becomes smaller; the lower the frequency, the shorter the transmission distance of the information carried by the ultrasonic wave, but the penetration becomes higher. By setting the operating frequency of the piezoelectric ceramic chip or the vibration motor, the vibrator can generate ultrasonic waves with an optimal frequency.
[0037] The vibrator in the embodiment of the present application is located on the outer wall of the water tank, avoiding placing the sensor in water and being affected by scale and steam accumulated in the water tank; the signal input circuit inputs a working signal to the vibrator; the vibrator divides the working signal according to the load of the water tank; the signal output circuit outputs the divided working signal to the signal processing circuit; the signal processing circuit obtains the water level in the water tank according to the divided working signal, which is not limited by the use environment, thereby improving the reliability of water level measurement.
[0038] In a specific embodiment, the system further includes a rectifier circuit; the output end of the rectifier circuit is connected to the input end of the signal output circuit, and the rectifier circuit is used to rectify the divided working signal to obtain a DC voltage signal; the signal processing circuit is also used to obtain the water level in the water tank according to the DC voltage signal. Specifically, the rectifier circuit converts the divided working signal of the AC into a DC voltage signal; the function of rectification is to convert AC into DC. The rectifier circuit is a circuit that uses the unidirectional conductivity of the diode to convert the positive and negative AC voltage into a unidirectional pulsating voltage. The rectifier circuit can be a bridge rectifier circuit. Under the action of the AC current source, the rectifier diode of the bridge rectifier circuit is periodically turned on and off, so that the load obtains pulsating DC. In the positive half cycle of the power supply, the diode is turned on, so that the current on the load is exactly the same as the voltage waveform. In the negative half cycle of the power supply voltage, the diode is in a reverse cut-off state, carrying the voltage of the negative half cycle of the power supply, and the load voltage is almost zero.
[0039] In the specific embodiments, see Figure 2 , the system also includes a filter circuit; the output end of the filter circuit is connected to the input end of the rectifier circuit, and the filter circuit is used to filter the DC voltage signal to obtain a filtered DC voltage signal; the signal processing circuit is also used to obtain the water level in the water tank according to the filtered DC voltage signal. Specifically, the main function of the filter circuit is to reduce the AC component in the pulsating DC voltage, retain its DC component, reduce the ripple factor of the output voltage, and make the overall waveform smoother. The filter circuit is often used after the rectifier circuit to filter out the ripple in the rectified output voltage. The filter circuit usually includes reactive elements, such as capacitors and inductors, which have an energy storage function in the circuit. The combination of capacitors and inductors can form different types of filter circuits, including low-pass, high-pass, band-pass and band-stop filters. In the filter circuit, capacitors and inductors have different impedance characteristics for currents of different frequencies, thereby achieving the passage or blocking of currents of a specific frequency or a specific frequency range. For example, the voltage of the capacitor cannot change suddenly, so the voltage across the load can be smoothed. Inductors store energy when current increases and release energy when current decreases, thereby smoothing the load current.
[0040] In the specific embodiments, see Figure 3, is a circuit diagram of a filter circuit in the present application, which is composed of a resistor and a capacitor, a first resistor, a second resistor and a capacitor are connected in series between an input terminal and a ground in sequence, an output terminal is provided at the connection point of the first resistor and the second resistor, and a frequency domain with a frequency higher than the maximum phase lag frequency is used, and the maximum phase lag frequency is a frequency higher than the cut-off frequency determined by the combined resistance value of the first resistor and the second resistor and the electrostatic capacitance value of the capacitor, so as to have the following characteristics: as the frequency of the input signal increases, the relative phase lag of the output signal relative to the input signal decreases. In addition, in the filter circuit, the resistance value of the first resistor and the resistance value of the second resistor are determined by a predetermined ratio. Specifically, a resistor R1, a resistor R2 and a capacitor C are connected in series between the input terminal I and the ground G in sequence, and an output terminal O for taking out the output signal is provided at the connection point of the first resistor, i.e., the resistor R1, and the second resistor, i.e., the resistor R2. The cut-off frequency fclp of the low-pass filter circuit is determined by the time constant determined by the combined resistance value R (i.e., R1+R2) of the resistor R1 and the resistor R2 and the capacitance value of the capacitor C.
[0041] The filter circuit can also be composed of a resistor and a capacitor, a variable resistor with three terminals and a capacitor are connected in series between the input terminal and the ground, an output terminal is provided on the middle terminal of the variable resistor, and a frequency domain with a frequency higher than the maximum phase lag frequency is used, and the maximum phase lag frequency is a frequency higher than the cut-off frequency determined by the resistance value of the variable resistor and the electrostatic capacitance value of the capacitor, so as to have the following characteristics: as the frequency of the input signal increases, the relative phase lag of the output signal relative to the input signal decreases. The previous filter circuit uses the cut-off frequency to output only a predetermined frequency domain, and does not use other frequency domains. The filter circuit of this embodiment adopts a structure that can use a frequency domain that would not be imagined to be used in the previous filter circuit, so that a filter circuit that can correct the phase characteristic can be obtained. By adopting the filter circuit of the present invention, the input signal is filtered in a frequency domain with a frequency higher (lower) than the maximum phase lag frequency (maximum phase advance frequency), and the phase characteristic that cannot be obtained by the previous filter circuit can be exerted, wherein the maximum phase lag frequency (maximum phase advance frequency) is located in a frequency domain with a frequency higher (lower) than the cut-off frequency. That is, the filter circuit of the present invention can determine the frequency range to be used by the ratio of the resistor and the capacitor, and thus can appropriately use a phase characteristic different from the conventional one according to the frequency component of the signal to be processed.
[0042] In the specific embodiments, see Figure 4, is a circuit diagram of the rectifier circuit in the present application; transformer 201, phase shifter 202, rectifier 203, superposition network 204 and load 205. The transformer is a transformer with two equal voltage output stages, which is used to change the input full-wave sinusoidal voltage into two full-wave sinusoidal voltages with the same phase and output them to the phase shifter. The input full-wave sinusoidal voltage comes from the inverter in the switching power supply. In this embodiment, there are multiple output windings with the same voltage in the output stage of the transformer with the same voltage. The phase shifter is composed of a phase-shifting capacitor and a phase-shifting inductor, which is used to change the input two full-wave sinusoidal voltages with the same phase into two full-wave sinusoidal voltages with different phases and output them to the rectifier. Its function is to convert the equal-voltage and equal-phase signals output by the transformer into equal-voltage multi-phase signals. The rectifier is composed of two bridge rectifier circuits, wherein the first bridge rectifier circuit outputs a full-wave sinusoidal voltage to the superposition network, that is, the superposition of two half-wave sinusoidal voltages with a phase difference of 180°, and the second bridge rectifier circuit outputs a full-wave sinusoidal voltage with a phase difference of 90° from the full-wave sinusoidal voltage output by the first bridge rectifier circuit to the superposition network, and the output of the two bridge rectifier circuits is equivalent to the superposition of four half-wave sinusoidal voltages with a phase difference of 90°. The superposition network is a group of wire connection combinations, which are used to superimpose four half-wave sinusoidal voltages of different phases according to the corresponding phase difference and apply them to the load. One of the wires superimposes one output of the above two bridge rectifier circuits to one end of the load, and the other wire superimposes the other output of the above two bridge rectifier circuits to the other end of the load. The phase difference is the phase difference between multiple sinusoidal voltages. In this embodiment, the multi-channel signal phase difference is multiplied by the phase shifter output signal route to form a phase cycle. The load is a post-stage circuit load driven by a switching power supply.
[0043] In a specific embodiment, the signal processing circuit includes an ADC conversion module and a central processing module; the input end of the ADC conversion module is connected to the output end of the signal output circuit, and the output end of the ADC conversion module is connected to the input end of the central processing module; the ADC conversion module is used to obtain the voltage value in the divided working signal and send the voltage value to the central processing module; the central processing module is used to obtain the water level in the water tank according to the voltage value. Specifically, the central processing module can be a single-chip microcomputer, which collects the AD value of the output signal of the circuit through the single-chip microcomputer to calculate the actual voltage.
[0044] In the specific embodiments, see Figure 5The equivalent circuit of the oscillator for dividing the working signal according to the load of the water tank includes: a first capacitor C0, a second capacitor C1, an inductor L and a resistor R1; one end of the first capacitor C0 and one end of the second capacitor C1 are connected to the signal input circuit, the other end of the first capacitor C0 and one end of the resistor R1 are connected to the signal output circuit, the other end of the second capacitor C1 is connected to one end of the inductor L, and the other end of the inductor L is connected to the other end of the resistor R1.
[0045] Specifically, the equivalent impedance of the oscillator is defined as Z, and the equivalent series impedance of C1, L, and R1 on the right is C0 on the left is the static capacitor, and its equivalent impedance is Equivalent impedance w is the angular frequency of the alternating electric field, and “||” indicates parallel connection. The right side is the dynamic impedance region, and the series resonance angular frequency The left side is the static impedance area. Generally, the mechanical quality factor of the oscillator is relatively large, so at the series resonant frequency w s Nearby, left The change with frequency is very small and can be approximately regarded as a constant, so the oscillator equivalent impedance Z is linked to the dynamic impedance area on the right, and w = w s When the load resonates, the corresponding impedance is minimum and the output AC voltage amplitude is minimum. When the oscillator is working, it is always working in a detuned state; in the process from no-load to full of water, the angular frequency w gradually moves away from the resonant frequency point w s , the equivalent impedance Z of the oscillator gradually decreases, and the output AC voltage amplitude also gradually decreases.
[0046] In the specific embodiments, see Figure 6 , a water level detection method is provided for the second embodiment of the present application, the method comprising:
[0047] Step 301, the signal input circuit inputs a working signal to the oscillator;
[0048] Step 302: the vibrator divides the working signal according to the load of the water tank; the load includes the vibrator and the water in the water tank;
[0049] Step 303: the signal output circuit outputs the divided working signal to the signal processing circuit;
[0050] Step 304: The signal processing circuit obtains the water level in the water tank according to the divided working signal.
[0051] Specifically, when the oscillator is working, it is always working in a detuned state; when the water tank is from empty to full of water, the angular frequency w gradually moves away from the resonant frequency point w s, the oscillator equivalent impedance Z gradually decreases, and the output AC voltage amplitude also gradually decreases. The signal processing circuit can obtain the water level in the water tank according to the voltage value of the working signal after voltage division.
[0052] In the method in the embodiment of the present application, the vibrator is located on the outer wall of the water tank to avoid placing the sensor in water and not being affected by scale and steam accumulated in the water tank; the signal input circuit inputs a working signal to the vibrator; the vibrator divides the working signal according to the load of the water tank; the signal output circuit outputs the divided working signal to the signal processing circuit; the signal processing circuit obtains the water level in the water tank according to the divided working signal, which is not limited by the use environment, thereby improving the reliability of water level measurement.
[0053] In summary, the embodiments of the present application have the following advantages: ① The vibrator does not need to be placed in water and can be installed non-contactly, which solves the problem of complex structural installation; ② The sensor does not need to be placed in water to avoid water erosion, and there is no need to consider the problem of getting stuck on the water tank structure, thereby improving reliability.
[0054] In a specific embodiment, the working signal is a high-frequency sinusoidal signal divided by a voltage-dividing resistor. A high-frequency sinusoidal signal can be transmitted farther than other waveform signals in long-distance communication, so the high-frequency sinusoidal signal can be used as a carrier to carry information.
[0055] In a specific embodiment, the divided working signal is obtained using the following formula:
[0056] V out =V cc *Z / (Z+R0)
[0057] Among them, V out is the working signal after voltage division, V cc is the working signal, Z is the equivalent impedance of the oscillator, and R0 is the voltage divider resistor. Specifically, resistor R0 is used for voltage division. The input power amplitude of the circuit is defined as V cc , the oscillator voltage divider amplitude is defined as V out According to the voltage divider formula, we can get V out =V cc *Z / (Z+R0); see Figure 7 , we can see that the larger the equivalent impedance Z, the greater the V out Therefore, when the water is full, the equivalent impedance Z is the smallest and the partial pressure V out minimum; when the water level in the water tank gradually decreases to zero, Z gradually increases, V out Keep growing.
[0058] In a specific embodiment, the method further includes: issuing an alarm when the voltage value of the divided working signal is less than a preset voltage threshold.
[0059] For details, please refer to Figure 8 , determine the lowest water level boundary of the water tank, and obtain the voltage value Vdoor of the lowest water level boundary, collect the working signal corresponding to the current water level in the water tank in real time, and obtain the voltage value Vout of the working signal. When Vdoor is greater than Vout, there is no water in the water tank, and an alarm is issued; when Vdoor is less than or equal to Vout, there is water in the water tank.
[0060] In a specific embodiment, a waterproof coating is provided on the outside of the vibrator to prevent water from entering the vibrator.
[0061] In a specific embodiment, the third embodiment of the present application provides a water level detection device, including a water level detection system as described in any one of the first embodiments of the present application. In the device in the embodiment of the present application, the vibrator is located on the outer wall of the water tank to avoid placing the sensor in the water and not being affected by the scale and steam accumulated in the water tank; the signal input circuit inputs the working signal to the vibrator; the vibrator divides the working signal according to the water level in the water tank; the signal output circuit outputs the divided working signal to the signal processing circuit; the signal processing circuit obtains the water level in the water tank according to the divided working signal, which is not limited by the use environment and improves the reliability of water level measurement.
[0062] In a specific embodiment, a vibrator is used to measure the water level in the water tank. The core of the vibrator is piezoelectric ceramics or a vibration motor, etc. Its equivalent impedance will change with the water level. The load is connected to a voltage divider circuit, and the actual water level can be determined by collecting the output voltage amplitude.
[0063] Fig. 9 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal, a server, or a gateway. Fig. 9 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement each step in the above method embodiment. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement each step in the above method embodiment. Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0064] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0065] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0066] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A water level detection system, characterized in that: The system comprises: an oscillator, a signal input circuit, a signal output circuit and a signal processing circuit; The vibrator is located on the outer wall of the water tank, the input end of the signal input circuit is connected to the input end of the vibrator, the input end of the signal output circuit is connected to the output end of the vibrator, and the output end of the signal output circuit is connected to the signal processing circuit; The signal input circuit is used to input a working signal to the vibrator; The vibrator is used to divide the voltage of the working signal according to the load of the water tank; the load includes the vibrator and the water in the water tank; The signal output circuit is used to output the divided working signal to the signal processing circuit; The signal processing circuit is used to obtain the water level in the water tank according to the divided working signal.
2. The water level detection system according to claim 1, characterized in that: The system also includes a rectifier circuit; The output end of the rectifier circuit is connected to the input end of the signal output circuit, and the rectifier circuit is used to rectify the divided working signal to obtain a DC voltage signal; The signal processing circuit is also used to obtain the water level in the water tank according to the DC voltage signal.
3. The water level detection system according to claim 2, characterized in that: The system also includes a filtering circuit; The output end of the filter circuit is connected to the input end of the rectifier circuit, and the filter circuit is used to filter the DC voltage signal to obtain a filtered DC voltage signal; The signal processing circuit is also used to obtain the water level in the water tank according to the filtered DC voltage signal.
4. The water level detection system according to claim 1, characterized in that: The signal processing circuit includes an ADC conversion module and a central processing module; The input end of the ADC conversion module is connected to the output end of the signal output circuit, and the output end of the ADC conversion module is connected to the input end of the central processing module; The ADC conversion module is used to obtain the voltage value in the divided working signal and send the voltage value to the central processing module; The central processing module is used to obtain the water level in the water tank according to the voltage value.
5. The water level detection system according to claim 1, characterized in that: The equivalent circuit of the vibrator dividing the working signal according to the load of the water tank includes: a first capacitor, a second capacitor, an inductor and a resistor; One end of the first capacitor and one end of the second capacitor are connected to the signal input circuit, the other end of the first capacitor and one end of the resistor are connected to the signal output circuit, the other end of the second capacitor is connected to one end of the inductor, and the other end of the inductor is connected to the other end of the resistor.
6. The water level detection system according to claim 1, characterized in that: The vibrator includes a piezoelectric ceramic chip or a vibration motor.
7. A water level detection method, characterized in that: The method comprises: The signal input circuit inputs a working signal to the oscillator; The vibrator divides the working signal according to the load of the water tank; the load includes the vibrator and the water in the water tank; The signal output circuit outputs the divided working signal to the signal processing circuit; The signal processing circuit obtains the water level in the water tank according to the divided working signal.
8. The water level detection method according to claim 7, characterized in that: The working signal is a high-frequency sinusoidal signal after being divided by a voltage-dividing resistor.
9. The water level detection method according to claim 8, characterized in that: The working signal after voltage division is obtained by the following formula: In out =V cc *Z / (Z+R0) Among them, V out is the working signal after voltage division, V cc is the working signal, Z is the equivalent impedance of the oscillator, and R0 is the voltage dividing resistor.
10. The water level detection method according to claim 7, characterized in that: The method further comprises: When the voltage value of the divided working signal is less than a preset voltage threshold, an alarm is triggered.
11. A water level detection device, characterized in that: The invention comprises a water level detection system as claimed in any one of claims 1 to 6.
