Sewage detection circuit and sewage detection equipment

By introducing a signal compensation sub-circuit into the sewage detection circuit, the detection error caused by dirt is corrected, and the problems of high maintenance costs of sewage detection equipment and short water pipe life are solved, achieving accurate detection and reducing maintenance costs.

CN222299484UActive Publication Date: 2025-01-03HANGZHOU EZVIZ SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420876587.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2025-01-03
Estimated Expiration
2034-04-25

AI Technical Summary

Technical Problem

The existing sewage detection equipment has deviations in detection data due to accumulation of dirt during the use of water pipes, which has high maintenance costs and short service life of water pipes. We need to seek methods to reduce maintenance costs and extend the service life of water pipes.

Method used

A wastewater detection circuit is designed, including a signal compensation sub-circuit, a signal input sub-circuit and a signal output sub-circuit. The signal compensation sub-circuit generates a compensation signal to correct the errors caused by the influence of dirt, reduce the number of disassembly and wash times, reduce maintenance costs, and Extend the life of the water pipe.

Benefits of technology

Without removing the water washing pipe, relatively correct sewage detection results are achieved, reducing the maintenance cost of sewage detection and extending the service life of the water pipe.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222299484U_ABST
    Figure CN222299484U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a sewage detection circuit and sewage detection equipment. The sewage detection circuit comprises a signal compensation sub-circuit, a signal input sub-circuit and a signal output sub-circuit, the input end of the signal compensation sub-circuit is used for being connected with a compensation voltage signal end of the processor, the output end of the signal compensation sub-circuit is connected with the input end of the signal output sub-circuit, and the output end of the signal compensation sub-circuit is further used for being connected with a voltage value feedback end of the processor; the input end of the signal input sub-circuit is used for being connected with the voltage signal output end of a smudginess sensor, and the output end of the signal input sub-circuit is connected with the input end of the signal output sub-circuit. The output end of the signal output sub-circuit is used for being connected with the dirty signal reading end of the processor. The compensation signal generated by the signal compensation sub-circuit can correct errors caused by the influence of dirt accumulated in the water pipe, and the number of times of disassembly and cleaning is reduced, so that the maintenance cost of sewage detection is reduced, and the service life of the water pipe is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of cleaning equipment, in particular to a sewage detection circuit and sewage detection equipment. Background Art

[0002] In order to protect water resources and reduce water pollution, the quality of discharged sewage is often tested in industrial production and people's daily life. A common sewage detection principle in related technologies is as follows: Figure 1 As shown, a transmitting tube and a receiving tube are respectively provided at both ends of the water pipe. When detecting water quality, light is emitted from the transmitting tube, and the light passes through the water pipe to reach the receiving tube. The amount of light received by the receiving tube varies according to the degree of dirt and obstruction in the area through which the light passes. The less light received by the receiving tube, the higher the degree of dirtiness of the water in the water pipe. Therefore, the degree of dirtiness of the water in the water pipe can be detected according to the intensity of the light received by the receiving tube.

[0003] However, as the water pipes are used for a long time, dirt will accumulate on the pipes. The dirt on the pipes will affect the propagation of light, which will lead to deviations in the detection of water pollution data. The existing technology is to manually dismantle and clean the water pipes regularly to eliminate the interference of pipe dirt on water pollution detection data, but this method has high maintenance costs, is difficult to operate, and will cause wear and tear on the water pipes, reducing the service life of the water pipes. Utility Model Content

[0004] The purpose of the embodiment of the utility model is to provide a sewage detection circuit and sewage detection equipment to reduce the maintenance cost of sewage detection and increase the service life of water pipes. The specific technical solution is as follows:

[0005] The present invention provides a sewage detection circuit, the circuit comprising:

[0006] signal compensation subcircuit, signal input subcircuit, signal output subcircuit;

[0007] The input end of the signal compensation subcircuit is used to connect to the compensation voltage signal end of the processor, the output end of the signal compensation subcircuit is connected to the input end of the signal output subcircuit, and the output end of the signal compensation subcircuit is also used to connect to the voltage value feedback end of the processor;

[0008] The input end of the signal input subcircuit is used to connect to the voltage signal output end of the dirt sensor, and the output end of the signal input subcircuit is connected to the input end of the signal output subcircuit;

[0009] The output end of the signal output subcircuit is used to connect to the dirty signal reading end of the processor.

[0010] In a possible implementation, the signal compensation subcircuit includes: a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor, and a first operational amplifier:

[0011] The first end of the first resistor is used to connect to the compensation voltage signal end of the processor, the second end of the first resistor is connected to the first end of the first capacitor and the first end of the first operational amplifier, and the second end of the first capacitor and the second end of the first operational amplifier are grounded;

[0012] The first end of the second resistor is connected to the third end of the first operational amplifier, the fourth end of the first operational amplifier, and the first end of the third resistor, and the second end of the second resistor is used to connect to the voltage value feedback end of the processor;

[0013] The fifth terminal of the first operational amplifier is used to connect to the positive electrode of the first power supply;

[0014] A first end of the second capacitor is connected to the second end of the third resistor and the input end of the signal output subcircuit, and a second end of the second capacitor is grounded.

[0015] In a possible implementation, the signal input subcircuit includes: a fourth resistor, a fifth resistor, a third capacitor, a fourth capacitor, and a second operational amplifier:

[0016] The first end of the fourth resistor is used to connect the voltage signal output end of the dirt sensor, the second end of the fourth resistor is connected to the first end of the third capacitor and the first end of the second operational amplifier, and the second end of the third capacitor and the second end of the second operational amplifier are grounded;

[0017] The first end of the fifth resistor is connected to the third end of the second operational amplifier and the fourth end of the second operational amplifier, the second end of the fifth resistor is connected to the first end of the fourth capacitor and the input end of the signal output subcircuit, and the second end of the fourth capacitor is grounded;

[0018] The fifth terminal of the second operational amplifier is used to connect to the positive electrode of the first power supply.

[0019] In a possible implementation, the signal output subcircuit includes: a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a fifth capacitor, a sixth capacitor, and a third operational amplifier:

[0020] The first end of the sixth resistor is connected to the first end of the fifth capacitor, the first end of the third operational amplifier, the output end of the signal compensation subcircuit, and the output end of the signal input subcircuit; the second end of the sixth resistor and the second end of the fifth capacitor are grounded;

[0021] The first end of the seventh resistor is connected to the first end of the eighth resistor and the third end of the third operational amplifier, the second end of the seventh resistor and the second end of the third operational amplifier are grounded, and the second end of the eighth resistor is connected to the first end of the ninth resistor and the fourth end of the third operational amplifier;

[0022] The fifth terminal of the third operational amplifier is used to connect to the positive electrode of the first power supply;

[0023] The first end of the sixth capacitor is connected to the second end of the ninth resistor, the second end of the sixth capacitor is grounded, and the second end of the ninth resistor is used to connect to the dirty signal reading end of the processor.

[0024] In a possible implementation, the sewage detection circuit further includes: a dirt sensor, wherein a voltage signal output end of the dirt sensor is connected to an input end of the signal input subcircuit.

[0025] In a possible implementation, the dirt sensor includes: a transmitting tube circuit and a receiving tube circuit:

[0026] The transmitting tube subcircuit and the receiving tube subcircuit are arranged on both sides of the pipeline to be tested, and the voltage signal output end of the receiving tube subcircuit is connected to the input end of the signal input subcircuit.

[0027] In a possible implementation, the transmitting tube circuit includes: a transmitting end resistor, a light emitting diode:

[0028] The first end of the transmitter resistor is used to connect to the positive electrode of the second power supply, the second end of the transmitter resistor is connected to the anode of the light emitting diode, and the cathode of the light emitting diode is grounded.

[0029] In a possible implementation, the receiving tube circuit includes: a receiving end resistor and a photoresistor:

[0030] The first end of the receiving end resistor is used to connect to the positive electrode of the second power supply, the second end of the receiving end resistor is connected to the first end of the photoresistor and the input end of the signal input subcircuit, and the second end of the photoresistor is grounded.

[0031] In a possible implementation, the sewage detection circuit also includes a first analog-to-digital converter and a second analog-to-digital converter, the output end of the signal compensation subcircuit is connected to the voltage value feedback end of the processor through the first analog-to-digital converter, and the output end of the signal output subcircuit is connected to the dirty signal reading end of the processor through the second analog-to-digital converter.

[0032] An embodiment of the utility model provides a sewage detection device, comprising a processor and any sewage detection circuit described in the utility model.

[0033] Beneficial effects of the embodiments of the utility model:

[0034] The embodiment of the utility model provides a sewage detection circuit and sewage detection equipment, the circuit includes: a signal compensation subcircuit, a signal input subcircuit, and a signal output subcircuit; the input end of the signal compensation subcircuit is used to connect the compensation voltage signal end of the processor, the output end of the signal compensation subcircuit is connected to the input end of the signal output subcircuit, and the output end of the signal compensation subcircuit is also used to connect the voltage value feedback end of the processor; the input end of the signal input subcircuit is used to connect the voltage signal output end of the dirt sensor, the output end of the signal input subcircuit is connected to the input end of the signal output subcircuit; the output end of the signal output subcircuit is used to connect the dirt signal reading end of the processor. Since the present application adds a signal compensation subcircuit on the basis of the signal input subcircuit, the compensation signal generated by the signal compensation subcircuit can correct the error caused by the dirt accumulated in the water pipe, so that a relatively correct detection result can be obtained without disassembling and cleaning the water pipe, reducing the number of times of disassembling and cleaning, thereby reducing the maintenance cost of sewage detection and increasing the service life of the water pipe.

[0035] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the utility model 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 utility model. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0037] Figure 1 It is the principle diagram of sewage detection in the related technology;

[0038] Figure 2 A first schematic diagram of a sewage detection circuit and a sewage detection device according to an embodiment of the utility model;

[0039] Figure 3 A schematic diagram of a signal compensation subcircuit in a sewage detection circuit according to an embodiment of the utility model;

[0040] Figure 4 A schematic diagram of a signal input subcircuit in a sewage detection circuit according to an embodiment of the utility model;

[0041] Figure 5A schematic diagram of a signal output subcircuit in a sewage detection circuit according to an embodiment of the utility model;

[0042] Figure 6 A second schematic diagram of a sewage detection circuit and a sewage detection device according to an embodiment of the utility model;

[0043] Figure 7 A schematic diagram of a dirt sensor in a sewage detection circuit according to an embodiment of the utility model;

[0044] Figure 8 A schematic diagram of a transmitting tube circuit in a sewage detection circuit according to an embodiment of the utility model;

[0045] Fig. 9 A schematic diagram of a receiving tube circuit in a sewage detection circuit according to an embodiment of the utility model;

[0046] Fig.10 This is a third schematic diagram of the sewage detection circuit and sewage detection device according to an embodiment of the present utility model. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field based on this application belong to the scope of protection of the utility model.

[0048] The sewage detection equipment in the related art usually consists of a transmitting tube and a receiving tube. The detection principle is shown in Figure 1 , the transmitting tube and the receiving tube are installed on both sides of the water pipe to be tested. When testing the water quality, the transmitting tube emits light. Since the dirt in the water will hinder the propagation of light, the amount of light received by the receiving tube will change with the degree of dirtiness of the water. Obviously, when the water is less dirty, the receiving tube receives more light. Conversely, when the water is more dirty, the receiving tube receives less light. By converting the light received by the receiving tube into an electrical signal, the degree of dirtiness of the water can be intuitively seen. When less light is received, the smaller the current value formed, the larger the corresponding voltage value; when more light is received, the larger the current value formed, the smaller the corresponding voltage value.

[0049] Since some dirt in the water will adhere to the inner wall of the water pipe, the attached dirt will accumulate over time, affecting the propagation of light and causing large errors in sewage detection data. The commonly used method at present is to manually dismantle and clean the water pipe regularly, which has high maintenance costs, and frequent cleaning will cause wear and tear of the water pipe, reducing the service life of the water pipe.

[0050] In order to reduce the maintenance cost of sewage detection and increase the service life of water pipes, the embodiment of the utility model provides a sewage detection circuit and a sewage detection device, which are described in detail below:

[0051] See also Figure 2 , Figure 2 This is a schematic diagram of a sewage detection circuit according to an embodiment of the utility model, wherein the circuit comprises:

[0052] A signal compensation subcircuit 101, a signal input subcircuit 102, and a signal output subcircuit 103;

[0053] The input end of the signal compensation subcircuit 101 is used to connect to the compensation voltage signal end of the processor, the output end of the signal compensation subcircuit 101 is connected to the input end of the signal output subcircuit 103, and the output end of the signal compensation subcircuit 101 is also used to connect to the voltage value feedback end of the processor;

[0054] The input end of the signal input subcircuit 102 is used to connect to the voltage signal output end of the dirt sensor, and the output end of the signal input subcircuit 102 is connected to the input end of the signal output subcircuit 103;

[0055] The output end of the signal output subcircuit 103 is used to connect to the dirty signal reading end of the processor.

[0056] The voltage signal generated by the dirt sensor is transmitted to the signal input subcircuit 102, and is output to the signal output subcircuit 103 after filtering and other operations of the signal input subcircuit 102; at the same time, the voltage signal generated by the processor for compensating for water pipe dirt is transmitted to the signal compensation subcircuit 101, and is output to the signal output subcircuit 103 after filtering and other operations of the signal compensation subcircuit 101. The signal output subcircuit 103 uses the voltage signal output by the signal compensation subcircuit 101 to correct the voltage signal output by the signal input subcircuit 102, and sends the corrected voltage signal to the dirt signal reading end of the processor, so that the processor can read the corrected voltage signal to determine the degree of dirtiness of the water body. In addition, the voltage value feedback end of the processor can also read the voltage signal output by the signal compensation subcircuit 101, so as to adjust the voltage signal output by the compensation voltage signal end of the processor to ensure the accuracy of the voltage signal used to compensate for water pipe dirtiness.

[0057] In the embodiment of the utility model, since the utility model adds a signal compensation subcircuit 101 on the basis of the signal input subcircuit 102, the compensation signal generated by the signal compensation subcircuit 101 can correct the error caused by the dirt accumulated in the water pipe, so that a relatively correct detection result can be obtained without disassembling the water pipe for cleaning, reducing the number of times of disassembly and cleaning, thereby reducing the maintenance cost of sewage detection and increasing the service life of the water pipe. In addition, the voltage signal output by the signal compensation subcircuit 101 is obtained in real time through the voltage value feedback end of the processor, and the processor can adjust the voltage signal output by its own compensation voltage signal end in real time, and use the negative feedback principle to further ensure the accuracy of the compensation signal, so that relatively accurate sewage detection data can be obtained.

[0058] The signal compensation subcircuit 101 is used to transmit a compensation voltage signal, and may be composed of a filter structure and an operational amplifier, etc., and may be specifically configured according to actual conditions. Figure 3 The signal compensation sub-circuit 101 includes: a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a second capacitor C2, and a first operational amplifier U1:

[0059] The first end of the first resistor R1 is used to connect to the compensation voltage signal end of the processor, the second end of the first resistor R1 is connected to the first end of the first capacitor C1 and the first end of the first operational amplifier U1, and the second end of the first capacitor C1 and the second end of the first operational amplifier U1 are grounded;

[0060] The first end of the second resistor R2 is connected to the third end of the first operational amplifier U1, the fourth end of the first operational amplifier U1, and the first end of the third resistor R3, and the second end of the second resistor R2 is used to connect to the voltage value feedback end of the processor;

[0061] The fifth terminal of the first operational amplifier U1 is used to connect to the positive electrode VCC of the first power supply;

[0062] A first end of the second capacitor C2 is connected to the second end of the third resistor R3 and the input end of the signal output sub-circuit 103 , and a second end of the second capacitor C2 is grounded.

[0063] In one example, the compensation voltage signal terminal of the processor can be a PWM (Pulse Width Modulation) port, which can output a voltage signal with a specified duty cycle, and obtain a DC voltage signal after filtering by the first resistor R1 and the first capacitor C1, and then output from the fourth terminal after amplification by the first operational amplifier U1. The signal output from the fourth terminal of the first operational amplifier U1 is divided into two paths, one of which is filtered by the third resistor R3 and the second capacitor C2 and sent to the signal output subcircuit 103; the other is transmitted to the voltage value feedback terminal of the processor after passing through the second resistor R2, and the output voltage value is read by the voltage value feedback terminal of the processor. The processor can change the output voltage value by controlling the duty cycle of the PWM port to perform signal compensation. The voltage value of the positive electrode VCC of the first power supply can be set according to the actual needs of the first operational amplifier U1, and is not specifically limited in this application.

[0064] In the embodiment of the utility model, a specific implementation method of the signal compensation subcircuit 101 is given, and the output of the compensation voltage signal is realized through the first operational amplifier U1 and two groups of filtering structures. The generated compensation signal can correct the error caused by the influence of dirt accumulated in the water pipe, so that a relatively correct detection result can be obtained without disassembling the water pipe for cleaning, thereby reducing the number of times the machine is disassembled for cleaning, thereby reducing the maintenance cost of sewage detection and increasing the service life of the water pipe.

[0065] The signal input subcircuit 102 is used to transmit the voltage signal detected by the dirt sensor, and can be composed of a filter structure and an operational amplifier, etc., and can be specifically configured according to actual conditions. Figure 4 The signal input subcircuit 102 includes: a fourth resistor R4, a fifth resistor R5, a third capacitor C3, a fourth capacitor C4, and a second operational amplifier U2:

[0066] The first end of the fourth resistor R4 is used to connect the voltage signal output end of the dirt sensor, the second end of the fourth resistor R4 is connected to the first end of the third capacitor C3 and the first end of the second operational amplifier U2, and the second end of the third capacitor C3 and the second end of the second operational amplifier U2 are grounded;

[0067] A first end of the fifth resistor R5 is connected to a third end of the second operational amplifier U2 and a fourth end of the second operational amplifier U2, a second end of the fifth resistor R5 is connected to a first end of the fourth capacitor C4 and an input end of the signal output subcircuit 103, and a second end of the fourth capacitor C4 is grounded;

[0068] The fifth terminal of the second operational amplifier U2 is used to connect to the positive electrode VCC of the first power supply.

[0069] The voltage signal output by the dirt sensor is filtered by the fourth resistor R4 and the third capacitor C3, and then amplified by the second operational amplifier U2 and output from the fourth terminal. The output voltage value is filtered by the fifth resistor R5 and the fourth capacitor C4, and corrected by the voltage signal output by the signal compensation subcircuit 101, and then sent to the signal output subcircuit 103.

[0070] In an embodiment of the utility model, a specific implementation method of the signal input subcircuit 102 is given, and the output of the voltage signal detected by the dirt sensor is realized through the second operational amplifier U2 and two sets of filtering structures. In the signal output subcircuit 103, the voltage signal output by the signal input subcircuit 102 is corrected using the voltage signal output by the signal compensation subcircuit 101, and a more accurate input signal is obtained, so that the signal output subcircuit 103 can generate a more accurate output signal.

[0071] The signal output subcircuit 103 is used to superimpose the two received voltage signals, and can be composed of a signal superposition structure, a filtering structure, and an operational amplifier, etc., which can be specifically configured according to actual conditions. Figure 5 The signal output sub-circuit 103 includes: a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a fifth capacitor C5, a sixth capacitor C6, and a third operational amplifier U3:

[0072] The first end of the sixth resistor R6 is connected to the first end of the fifth capacitor C5, the first end of the third operational amplifier U3, the output end of the signal compensation subcircuit 101, and the output end of the signal input subcircuit 102; the second end of the sixth resistor R6 and the second end of the fifth capacitor C5 are grounded;

[0073] The first end of the seventh resistor R7 is connected to the first end of the eighth resistor R8 and the third end of the third operational amplifier U3, the second end of the seventh resistor R7 and the second end of the third operational amplifier U3 are grounded, and the second end of the eighth resistor R8 is connected to the first end of the ninth resistor R9 and the fourth end of the third operational amplifier U3;

[0074] The fifth terminal of the third operational amplifier U3 is used to connect to the positive electrode VCC of the first power supply;

[0075] The first end of the sixth capacitor C6 is connected to the second end of the ninth resistor R9, the second end of the sixth capacitor C6 is grounded, and the second end of the ninth resistor R9 is used to connect to the dirty signal reading end of the processor.

[0076] The signal superposition structure composed of the sixth resistor R6 and the fifth capacitor C5 can superimpose the voltage signals output by the signal compensation subcircuit 101 and the signal input subcircuit 102. After the output voltage of the signal compensation subcircuit 101 is superimposed with the output voltage of the signal input subcircuit 102, it is amplified by the third operational amplifier U3 and output from the fourth terminal. The output voltage value is filtered by the ninth resistor R9 and the sixth capacitor C6 and sent to the dirty signal reading terminal of the processor. Among them, the amplification factor of the third operational amplifier U3 can be controlled by the resistance values ​​of the seventh resistor R7 and the eighth resistor R8.

[0077] In an embodiment of the utility model, a specific implementation method of the signal output subcircuit 103 is given, and the superposition of the detection signal and the compensation signal is realized by the signal superposition structure, and the output of the superimposed voltage signal is realized by the third operational amplifier U3 and the filtering structure; in the signal output subcircuit 103, the voltage signal output by the signal input subcircuit 102 is corrected by the voltage signal output by the signal compensation subcircuit 101, and a more accurate input signal is obtained, so that the signal output subcircuit 103 can generate a more accurate output signal.

[0078] In one possible implementation, see Figure 6 The sewage detection circuit further includes: a dirt sensor, wherein the voltage signal output end of the dirt sensor is connected to the input end of the signal input subcircuit 102. The dirt sensor converts the detected light signal into a voltage signal, and transmits the generated voltage signal to the signal input subcircuit 102.

[0079] The dirt sensor may include a light signal emitting part and a light signal detecting part. In one possible implementation, see Figure 7 The dirt sensor includes: a transmitting tube circuit 201 and a receiving tube circuit 202: the transmitting tube circuit 201 and the receiving tube circuit 202 are arranged on both sides of the pipeline to be tested, and the voltage signal output end of the receiving tube circuit 202 is connected to the input end of the signal input subcircuit 102.

[0080] The transmitting tube circuit 201 is used to transmit an optical signal. In a possible implementation, see Figure 8 The transmitting tube circuit 201 includes: a transmitting end resistor R11, a light emitting diode:

[0081] The first end of the transmitter resistor R11 is used to connect to the positive electrode VDD of the second power supply, the second end of the transmitter resistor R11 is connected to the anode of the light emitting diode, and the cathode of the light emitting diode is grounded.

[0082] The voltage of the positive electrode VDD of the second power supply can be set according to the actual needs of the light-emitting diode, and is not specifically limited in this application. The transmitting end resistor R11 is used to limit the current of the light-emitting diode to reduce the burning of the light-emitting diode. After the light-emitting diode of the transmitting tube circuit 201 is turned on, it emits light, and the light passes through the water pipe to be tested to reach the receiving tube circuit 202. The receiving tube circuit 202 converts the received light into a voltage signal and sends it to the signal input subcircuit 102.

[0083] The receiving tube circuit 202 is used to convert the received optical signal into an electrical signal. In a possible implementation, see Fig. 9 The receiving tube circuit 202 includes: a receiving end resistor R12, a photoresistor:

[0084] The first end of the receiving end resistor R12 is used to connect to the positive electrode VDD of the second power supply, the second end of the receiving end resistor R12 is connected to the first end of the photoresistor and the input end of the signal input subcircuit 102, and the second end of the photoresistor is grounded.

[0085] The transmitting tube circuit 201 emits light, which passes through the water pipe to be tested and reaches the photoresistor of the receiving tube circuit 202. The received light affects the resistance value of the photoresistor, causing the voltage divider between the photoresistor and the receiving end resistor R12 to change, thereby changing the output voltage. The output voltage value is transmitted to the input end of the signal input subcircuit 102.

[0086] In one possible implementation, see Fig.10 The sewage detection circuit also includes a first analog-to-digital converter ADC1 and a second analog-to-digital converter ADC2. The output end of the signal compensation subcircuit 101 is connected to the voltage value feedback end of the processor through the first analog-to-digital converter ADC1, and the output end of the signal output subcircuit 103 is connected to the dirty signal reading end of the processor through the second analog-to-digital converter ADC2.

[0087] ADC1 and ADC2 are used to convert analog signals into digital signals, thereby facilitating the processor to read the data.

[0088] An embodiment of the utility model further provides a sewage detection device, comprising a processor and any sewage detection circuit described in the utility model.

[0089] The voltage value feedback terminal of the processor can receive the voltage signal output by the signal compensation subcircuit 101, thereby using the negative feedback principle to adjust the duty cycle of the voltage signal output by the compensation voltage signal terminal to achieve the function of adjusting the compensation signal. The dirty signal reading terminal of the processor can receive a relatively accurate voltage signal after superposition, so as to correct the error caused by the dirt accumulated in the water pipe, so that a relatively correct detection result can be obtained without disassembling and cleaning the water pipe, reducing the number of times the machine is disassembled for cleaning, thereby reducing the maintenance cost of sewage detection and increasing the service life of the water pipe.

[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0091] Each embodiment in this specification is described in a related manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referenced to each other.

[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A sewage detection circuit, characterized in that: The circuit comprises: signal compensation subcircuit, signal input subcircuit, signal output subcircuit; The input end of the signal compensation subcircuit is used to connect to the compensation voltage signal end of the processor, the output end of the signal compensation subcircuit is connected to the input end of the signal output subcircuit, and the output end of the signal compensation subcircuit is also used to connect to the voltage value feedback end of the processor; The input end of the signal input subcircuit is used to connect to the voltage signal output end of the dirt sensor, and the output end of the signal input subcircuit is connected to the input end of the signal output subcircuit; The output end of the signal output subcircuit is used to connect to the dirty signal reading end of the processor.

2. The sewage detection circuit according to claim 1, characterized in that: The signal compensation subcircuit includes: a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor, and a first operational amplifier: The first end of the first resistor is used to connect to the compensation voltage signal end of the processor, the second end of the first resistor is connected to the first end of the first capacitor and the first end of the first operational amplifier, and the second end of the first capacitor and the second end of the first operational amplifier are grounded; The first end of the second resistor is connected to the third end of the first operational amplifier, the fourth end of the first operational amplifier, and the first end of the third resistor, and the second end of the second resistor is used to connect to the voltage value feedback end of the processor; The fifth terminal of the first operational amplifier is used to connect to the positive electrode of the first power supply; A first end of the second capacitor is connected to the second end of the third resistor and the input end of the signal output subcircuit, and a second end of the second capacitor is grounded.

3. The sewage detection circuit according to claim 1, characterized in that: The signal input subcircuit includes: a fourth resistor, a fifth resistor, a third capacitor, a fourth capacitor, and a second operational amplifier: The first end of the fourth resistor is used to connect the voltage signal output end of the dirt sensor, the second end of the fourth resistor is connected to the first end of the third capacitor and the first end of the second operational amplifier, and the second end of the third capacitor and the second end of the second operational amplifier are grounded; The first end of the fifth resistor is connected to the third end of the second operational amplifier and the fourth end of the second operational amplifier, the second end of the fifth resistor is connected to the first end of the fourth capacitor and the input end of the signal output subcircuit, and the second end of the fourth capacitor is grounded; The fifth terminal of the second operational amplifier is used to connect to the positive electrode of the first power supply.

4. The sewage detection circuit according to claim 1, characterized in that: The signal output subcircuit includes: a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a fifth capacitor, a sixth capacitor, and a third operational amplifier: The first end of the sixth resistor is connected to the first end of the fifth capacitor, the first end of the third operational amplifier, the output end of the signal compensation subcircuit, and the output end of the signal input subcircuit; the second end of the sixth resistor and the second end of the fifth capacitor are grounded; The first end of the seventh resistor is connected to the first end of the eighth resistor and the third end of the third operational amplifier, the second end of the seventh resistor and the second end of the third operational amplifier are grounded, and the second end of the eighth resistor is connected to the first end of the ninth resistor and the fourth end of the third operational amplifier; The fifth terminal of the third operational amplifier is used to connect to the positive electrode of the first power supply; The first end of the sixth capacitor is connected to the second end of the ninth resistor, the second end of the sixth capacitor is grounded, and the second end of the ninth resistor is used to connect to the dirty signal reading end of the processor.

5. The sewage detection circuit according to claim 1, characterized in that: The sewage detection circuit further includes: a dirt sensor, wherein a voltage signal output end of the dirt sensor is connected to an input end of the signal input subcircuit.

6. The sewage detection circuit according to claim 5, characterized in that: The dirt sensor includes: a transmitting tube circuit and a receiving tube circuit: The transmitting tube subcircuit and the receiving tube subcircuit are arranged on both sides of the pipeline to be tested, and the voltage signal output end of the receiving tube subcircuit is connected to the input end of the signal input subcircuit.

7. The sewage detection circuit according to claim 6, characterized in that: The transmitting tube circuit includes: transmitting end resistor, light emitting diode: The first end of the transmitter resistor is used to connect to the positive electrode of the second power supply, the second end of the transmitter resistor is connected to the anode of the light emitting diode, and the cathode of the light emitting diode is grounded.

8. The sewage detection circuit according to claim 6, characterized in that: The receiving tube circuit includes: receiving end resistor, photoresistor: The first end of the receiving end resistor is used to connect to the positive electrode of the second power supply, the second end of the receiving end resistor is connected to the first end of the photoresistor and the input end of the signal input subcircuit, and the second end of the photoresistor is grounded.

9. The sewage detection circuit according to claim 1, characterized in that: The sewage detection circuit also includes a first analog-to-digital converter and a second analog-to-digital converter. The output end of the signal compensation subcircuit is connected to the voltage value feedback end of the processor through the first analog-to-digital converter, and the output end of the signal output subcircuit is connected to the dirty signal reading end of the processor through the second analog-to-digital converter.

10. A sewage detection device, characterized in that: It comprises a processor and the sewage detection circuit described in any one of claims 1-9.