Infrared-based sewage smudginess degree detection circuit

By using a constant current source driving circuit composed of infrared transmitting and receiving diodes, op amps and transistors in the sewage detection circuit, the signal error problem caused by the difference in conduction voltage of different diodes is solved, and the stability of sewage dirt detection is achieved and Improved accuracy.

CN222280467UActive Publication Date: 2024-12-31SUZHOU SUANXING NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420398287.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-12-31
Estimated Expiration
2034-03-01

AI Technical Summary

Technical Problem

The existing sewage dirt detection circuit has different forward conduction voltages of different light emitting diodes, resulting in different luminous intensity due to the fixed power supply voltage, resulting in signal errors and affecting detection accuracy.

Method used

The wastewater dirt degree detection circuit is adopted based on infrared, and a constant current source driving circuit is formed through the op amp and transistor to provide a constant current source to the transmitting diode to avoid signal errors caused by the difference in conduction voltage of different diodes. It uses infrared transmission and reception. The diode performs infrared emission and reception between the two side walls of the sewage bucket, and automatically adjusts the luminous intensity of the emitting diode to stabilize the forward conduction voltage of the receiving diode.

Benefits of technology

The detection stability and accuracy are improved, signal errors caused by the difference in conduction voltages of different diodes are avoided, and accurate detection of sewage dirt.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222280467U_ABST
    Figure CN222280467U_ABST
Patent Text Reader

Abstract

The utility model discloses a sewage smudginess degree detection circuit based on infrared, comprising a power supply module comprising a power supply input end, a voltage converter assembly respectively connected with the power supply input end, and a three-terminal regulator assembly; the sewage smudginess degree signal acquisition module comprises an infrared transmitting assembly and an infrared receiving assembly which are respectively connected with the power supply input end power supply module; the transmitting side of the infrared transmitting assembly and the receiving side of the infrared receiving assembly at the power input end are located on the opposite sides of a to-be-detected position respectively. And the detection control module comprises a control chip, and the power input end control chip is connected with the power input end infrared receiving assembly. The utility model discloses a sewage smudginess degree detection circuit based on infrared, which has good detection stability and detection accuracy. And the signal error of the receiving diode caused by the difference of the break-over voltages of different diodes is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of detection, in particular to an infrared-based sewage dirtiness detection circuit. Background Art

[0002] In the prior art, a more commonly used circuit is to fix the power supply voltage of the transmitting diode and judge the degree of contamination of the sewage by detecting the forward voltage of the receiving diode. Due to the differences in the forward conduction voltages of different light-emitting diodes, the fixed power supply voltage will cause the light-emitting diodes to have different luminous intensities. The received light intensities are different, and the degree of contamination of the sewage obtained by different emitting diodes has large errors. Summary of the invention

[0003] The utility model overcomes the shortcomings of the prior art and provides an infrared-based sewage dirtiness detection circuit with good detection stability and detection accuracy. An operational amplifier and a triode form a constant current source drive circuit to provide a constant current source for a transmitting diode. When the light-emitting diodes are under the same current, the signal error of the receiving diode caused by the difference in the conduction voltage of different diodes is avoided.

[0004] In order to achieve the above-mentioned purpose, the technical solution adopted by the utility model is: a sewage dirtiness detection circuit based on infrared, comprising:

[0005] A power supply module, comprising a power input terminal, a voltage converter component respectively connected to the power input terminal, and a three-terminal voltage regulator component;

[0006] The sewage dirtiness signal acquisition module comprises an infrared emitting component and an infrared receiving component respectively connected to the power supply module at the power input end; the emitting side of the infrared emitting component at the power input end and the receiving side of the infrared receiving component are respectively located at opposite sides of the location to be detected;

[0007] The infrared emission component at the power input end includes a voltage-dividing resistor group connected to the output end of the voltage converter component, the middle connection node of the voltage-dividing resistor group at the power input end is connected to the in-phase input end of the operational amplifier, the output end of the operational amplifier at the power input end is connected to one end of the emission diode IR through the emission group triode, and the other end of the emission diode IR is connected to the power supply module;

[0008] The infrared receiving component at the power input end includes a receiving diode PT corresponding to the transmitting diode IR at the power input end, one end of the receiving diode PT at the power input end is connected to the power supply module, and the other end of the receiving diode PT at the power input end is connected to the detection control module;

[0009] The detection control module comprises a control chip, and the power input end control chip is connected with the power input end infrared receiving component.

[0010] In a preferred embodiment of the utility model, the voltage-dividing resistor group in the infrared emitting component includes a voltage-dividing resistor R2 connected to the output end of the voltage converter component and a voltage-dividing resistor R6 connected in series with the voltage-dividing resistor R2, the other end of the voltage-dividing resistor R6 is grounded, and the voltage-dividing resistor R6 is connected in parallel with a capacitor C2, and the connection node between the voltage-dividing resistor R2 and the voltage-dividing resistor R6 is connected to the in-phase input end of the operational amplifier at the power input end through a resistor R3.

[0011] In a preferred solution of the utility model, the output end of the operational amplifier is connected to the base of the transistor Q1 of the transmitting group transistor through the resistor R5, the emitter of the transistor Q1 is divided into two paths, one path is connected to the inverting input end of the operational amplifier through the resistor R7, and the other path is grounded through the resistor R8, the collector of the transistor Q1 at the power input end is connected to the negative electrode of the receiving diode PT, and the positive electrode of the receiving diode PT is connected to the output end of the voltage converter component; one control end of the operational amplifier at the power input end is grounded, and the other control end of the operational amplifier at the power input end leads to two paths, one path is connected to the output end of the voltage converter component, and the other path is grounded through the capacitor C3.

[0012] In a preferred solution of the utility model, the positive electrode of the receiving diode PT in the infrared receiving component is connected to the output end of the voltage converter component, and the negative electrode of the receiving diode PT at the power input end leads to two paths, one of which is grounded through a resistor R4, and the other is connected to one end of the resistor R1. The other end of the resistor R1 is divided into two paths, one of which is grounded through a capacitor C1, and the other is connected to the control chip of the detection control module as an output end.

[0013] In a preferred embodiment of the present invention, the power input terminal includes a power lead-in terminal VB, and the power input terminal VB leads to two paths, one of which is grounded through a capacitor C12, and the other is grounded through a series resistor R77 and a resistor R10. The connection node between the resistor R77 and the resistor R10 is connected to one end of the resistor R75, and the other end of the resistor R75 is a connection node P. The connection node P is output through a series diode D2 and a resistor RS1 as the input end of the voltage converter component and the three-terminal regulator component.

[0014] In a preferred embodiment of the utility model, the voltage converter assembly includes: a step-down DC-DC converter connected to a resistor RS1, a capacitor EC3 and a capacitor C8 are connected in parallel between the input end of the step-down DC-DC converter and the ground end of the power input end, a resistor R76 and a capacitor C11 are connected in parallel at the output end of the step-down DC-DC converter, a diode D4 is connected in parallel at both ends of the resistor R76 and the capacitor C11, and the output end of the step-down DC-DC converter is connected to one end of an inductor L1, and the other end of the inductor L1 is connected through the capacitor EC1 and Capacitor C7 is grounded, and the connection end of the inductor L1 and the capacitor C7 is led out to connect to the VCC port of the step-down DC-DC converter as the VCC power supply end; and / or, the three-terminal voltage regulator component at the power input end includes: a three-terminal voltage regulator transistor U2 connected to the resistor RS1, and the input end of the three-terminal voltage regulator transistor U2 is grounded through the capacitor C6, the output end of the three-terminal voltage regulator transistor U2 is grounded through the parallel capacitor EC2 and the capacitor C10, and the output end of the three-terminal voltage regulator transistor U2 is led out to connect to the control chip of the detection control module as the power supply end.

[0015] In a preferred solution of the utility model, the power supply module is also connected to a cleaning motor drive module, and the cleaning motor drive module at the power input end is also connected to a control chip of the power input end detection control module;

[0016] The cleaning motor drive module at the power input end includes: a series connection of a resistor R36, a resistor R38, and a resistor R40 connected to a connection node P, and the resistor R40 is connected to the collector of the transistor Q13, the emitter of the transistor Q13 is grounded, the base of the transistor Q13 is connected to the DRSM interface of the control chip of the detection control module through a resistor R46, and the emitter of the transistor Q13 and the base of the transistor Q13 are connected through a resistor R48; and the collector of the transistor Q9 and the base of the transistor Q9 are connected through a resistor R38; the emitter of the transistor Q9 and the base of the transistor Q9 are connected through a diode D14, the cathode of the diode D14 is connected to the G11 interface of the control chip, the connection node of the resistor R36 and the resistor R38 is connected to the P channel MOS tube Q7, and the P channel The input and output ends of the P-channel MOS tube Q7 are connected through capacitors C26 and C27 connected in series, the control end of the P-channel MOS tube Q7 is connected to the emitter of the transistor Q9, and the output end of the P-channel MOS tube Q7 is divided into three paths, one of which is connected to the FBM+ of the cleaning motor through resistor BEAD1, and the other is connected to the FBM- of the cleaning motor through capacitors C30, C32 and resistor BEAD3, and a diode D12 is connected between the capacitor C32 and the output end of the P-channel MOS tube Q7, and the connection end of the capacitor C32 and the resistor BEAD3 is connected to the ground through a resistor R44, and the two ends of the resistor R44 are respectively connected to the resistor R42 and the capacitor C35, and the other end of the resistor R42 is connected to the other end of the capacitor C35 and leads to an end connected to the SMCS interface of the control chip.

[0017] In a preferred solution of the utility model, the power supply module is also connected to a cleaning water pump driving module, and the cleaning water pump driving module at the power input end is also connected to a control chip of the power input end detection control module;

[0018] The cleaning water pump driving module at the power input end includes: a series resistor R37, a resistor R39, and a resistor R41 connected to the connection node P, and the resistor R41 is connected to the collector of the transistor Q14, the emitter of the transistor Q14 is grounded, the base of the transistor Q14 is connected to the DRPM interface of the control chip of the detection control module through the resistor R47, and the emitter of the transistor Q14 is connected to the base of the transistor Q14 through the resistor R49; the collector of the transistor Q10 is connected to the base of the transistor Q10 through the resistor R39, the emitter of the transistor Q10 is connected to the base of the transistor Q10 through the diode D15, the cathode of the diode D15 is connected to the G12 interface of the control chip, the connection node of the resistor R37 and the resistor R39 is connected to the P channel MOS tube Q8, The input and output ends of the P-channel MOS tube Q8 are connected through capacitors C28 and C29 connected in series. The control end of the P-channel MOS tube Q8 is connected to the emitter of the transistor Q10. The output end of the P-channel MOS tube Q8 is divided into three paths. One path is connected to the WM+ of the cleaning water pump through the resistor BEAD2, and the other path is connected to the WM- of the cleaning water pump through the capacitors C31, C33 and the resistor BEAD4. A diode D13 is connected between the capacitor C33 and the output end of the P-channel MOS tube Q8. The connection end of the capacitor C33 and the resistor BEAD4 is connected to the ground through a resistor R45. The two ends of the resistor R45 are respectively connected to the resistor R43 and the capacitor C36. The other end of the resistor R43 is connected to the other end of the capacitor C36 and leads to one end connected to the PMCS interface of the control chip.

[0019] In a preferred solution of the utility model, the power supply module is also connected to a key module, and the power input end key module is also connected to a control chip of the power input end detection control module;

[0020] The power input terminal button module includes: an interface component JP1 connected to the connection node P;

[0021] One interface of the interface component JP1 is connected to the resistor R31, the other end of the resistor R31 is grounded through the capacitor C23, the two ends of the capacitor C23 are connected in parallel with the resistor R35, and the two ends of the capacitor C23 are respectively connected to the base and emitter of the transistor Q6, and the collector of the transistor Q6 is connected to the Clean interface of the control chip;

[0022] One interface of the interface component JP1 is connected to the resistor R27, the other end of the resistor R27 is grounded through the capacitor C21, the two ends of the capacitor C21 are connected in parallel with the resistor R32, and the two ends of the capacitor C21 are respectively connected to the base and emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the Clean interface of the control chip;

[0023] An interface of the interface component JP1 leads to two paths, one of which is connected through a resistor R13, a diode D9, and a diode D6, and then connected to the MOS tube Q2 through a resistor R14 and a resistor R12, and connected to the output end of the three-terminal voltage-stabilizing transistor U2 through a resistor R11, and the two ends of the resistor R14 are respectively connected to the base of the transistor Q3 and the emitter of the transistor Q3, the collector of the transistor Q3 and the base of the transistor Q3 are connected through a resistor R20, and the collector of the transistor Q4 and the control end of the MOS tube Q2 are grounded at a common point; the other path is connected to the MOS tube Q4 through a diode D5 and a resistor R24, and a capacitor C19 is connected in parallel between the output end and the control end of the MOS tube Q4, a diode ZD1 and a resistor R26 are connected in parallel between the output end and the control end of the MOS tube Q4, and the input and output ends of the MOS tube Q4 are connected to the output power supply of the output end of the three-terminal voltage-stabilizing transistor U2.

[0024] In a preferred solution of the utility model, the power supply module is also connected to an indicator light module, and the power input end indicator light module is also connected to a control chip of the power input end detection control module;

[0025] The power input terminal indicator light module includes: a plurality of indicator light circuits of different colors connected to the control chip;

[0026] And / or, the control chip of the power input detection control module is also connected to an external interface module, and the power input external interface module includes: an external interface J1 connected to the TX port of the control chip; or a display circuit and a JP11 interface circuit connected to the STX port and the SRX port of the control chip; and external interfaces JP10, JP4-JP6, and JP7 connected to the TX port of the control chip.

[0027] Compared with the prior art, the utility model has the following beneficial effects:

[0028] The utility model discloses an infrared-based sewage dirtiness detection circuit, which has good detection stability and detection accuracy. An operational amplifier and a triode form a constant current source drive circuit to provide a constant current source for a transmitting diode. When the light-emitting diodes are under the same current, the signal error of the receiving diode caused by the difference in the conduction voltage of different diodes is avoided.

[0029] The utility model utilizes infrared emitting and receiving diodes to perform infrared emitting and receiving between the two side walls of the sewage bucket. The circuit can automatically adjust the luminous intensity of the emitting diode according to the dirtiness of the sewage to change the forward conduction voltage of the receiving diode so as to stabilize it at a fixed value. The forward conduction voltage of the light-emitting diode is judged by software, and the voltage signals of the two points of clean water and complete shielding are obtained for calibration so as to relatively calibrate the dirtiness of the sewage. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The utility model is further described below in conjunction with the accompanying drawings and embodiments.

[0031] Figure 1 This is a schematic diagram of the application structure of an infrared-based sewage dirtiness detection circuit of the utility model;

[0032] Figure 2 This is a circuit structure diagram of a sewage contamination degree signal acquisition module of an infrared-based sewage contamination degree detection circuit of the utility model;

[0033] Figure 3 This is a circuit structure diagram of a power supply module of an infrared-based sewage contamination degree detection circuit of the utility model;

[0034] Figure 4 This is a circuit structure diagram of a cleaning motor drive module and a cleaning water pump drive module based on an infrared sewage dirtiness detection circuit of the utility model;

[0035] Figure 5 This is a circuit structure diagram of a detection control module of a sewage dirtiness detection circuit based on infrared according to the utility model;

[0036] Figure 6 This is a circuit structure diagram of an interface component JP1 of a detection control module and an indicator light module of a sewage dirtiness detection circuit based on infrared according to the utility model;

[0037] Figure 7 This is a circuit structure diagram of an interface component external interface J1, a display circuit, a JP11 interface circuit, an external interface JP10, an external interface JP4-external interface JP6, and an external interface JP7 of a detection control module of a sewage dirtiness detection circuit based on infrared of the utility model;

[0038] Figure 8 The utility model discloses a test parameter chart of a sewage dirtiness degree detection circuit based on infrared. DETAILED DESCRIPTION

[0039] The technical solution of the utility model is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the utility model and the specific features in the embodiments are detailed descriptions of the technical solution of the utility model, rather than limitations on the technical solution of the utility model. In the absence of conflict, the embodiments of the utility model and the technical features in the embodiments can be combined with each other.

[0040] The term "and / or" is only a description of the association relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " generally indicates that the related objects are in an "or" relationship. Embodiment 1

[0041] like Figure 1 , Figure 2 , Figure 8 As shown, an infrared-based sewage pollution degree detection circuit includes: a power supply module, a detection control module, and a sewage pollution degree signal acquisition module that are electrically connected to each other.

[0042] Specifically, the power supply module includes a power input terminal, a voltage converter component respectively connected to the power input terminal, and a three-terminal voltage regulator component. The power input terminal includes a power introduction terminal VB, and the power input terminal VB leads to two paths, one of which is grounded through a capacitor C12, and the other is grounded through a series resistor R77 and a resistor R10, and the connection node of the resistor R77 and the resistor R10 is connected to one end of the resistor R75, and the other end of the resistor R75 is a connection node P, and the connection node P is output as the input end of the voltage converter component and the three-terminal voltage regulator component through a series diode D2 and a resistor RS1. Further, the voltage converter assembly includes: a step-down DC-DC converter connected to the resistor RS1, a capacitor EC3 and a capacitor C8 are connected in parallel between the input end of the step-down DC-DC converter and the ground end of the power input end, a resistor R76 and a capacitor C11 are connected in series in parallel at the output end of the step-down DC-DC converter, a diode D4 is connected in parallel at both ends of the resistor R76 and the capacitor C11, and the output end of the step-down DC-DC converter is connected to one end of the inductor L1, and the other end of the inductor L1 is connected through the capacitor EC1 and the capacitor C7 connected in parallel. The inductor L1 is connected to the ground, and the connection end of the inductor L1 and the capacitor C7 is connected to the VCC port of the step-down DC-DC converter as the VCC power supply end; and / or, the three-terminal voltage regulator component at the power input end includes: a three-terminal voltage regulator transistor U2 connected to the resistor RS1, and the input end of the three-terminal voltage regulator transistor U2 is grounded through the capacitor C6, the output end of the three-terminal voltage regulator transistor U2 is grounded through the parallel capacitor EC2 and the capacitor C10, and the output end of the three-terminal voltage regulator transistor U2 is connected to the power supply end and connected to the control chip of the detection control module.

[0043] Specifically, the sewage dirtiness signal acquisition module includes an infrared emitting component and an infrared receiving component respectively connected to the power supply module at the power input end; the emitting side of the infrared emitting component at the power input end and the receiving side of the infrared receiving component are respectively located at opposite sides of the location to be detected. The detection control module includes a control chip, and the control chip at the power input end is connected to the infrared receiving component at the power input end.

[0044] Furthermore, the infrared emitting component at the power input end includes a voltage-dividing resistor group connected to the output end of the voltage converter component, the intermediate connection node of the voltage-dividing resistor group at the power input end is connected to the in-phase input end of the operational amplifier, the output end of the operational amplifier at the power input end is connected to one end of the emitting diode IR through the emitting group transistor, and the other end of the emitting diode IR is connected to the power supply module; the voltage-dividing resistor group in the infrared emitting component includes a voltage-dividing resistor R2 connected to the output end of the voltage converter component and a voltage-dividing resistor R6 connected in series with the voltage-dividing resistor R2, the other end of the voltage-dividing resistor R6 is grounded, and the voltage-dividing resistor R6 is connected in parallel with a capacitor C2, and the connection node between the voltage-dividing resistor R2 and the voltage-dividing resistor R6 is connected to the in-phase input end of the operational amplifier at the power input end through a resistor R3. The output end of the operational amplifier is connected to the base of the transistor Q1 of the transmitting group transistor through the resistor R5. The emitter of the transistor Q1 is divided into two paths, one of which is connected to the inverting input end of the operational amplifier through the resistor R7, and the other is grounded through the resistor R8. The collector of the transistor Q1 at the power input end is connected to the negative electrode of the receiving diode PT, and the positive electrode of the receiving diode PT is connected to the output end of the voltage converter component; one control end of the operational amplifier at the power input end is grounded, and the other control end of the operational amplifier at the power input end leads to two paths, one of which is connected to the output end of the voltage converter component, and the other is grounded through the capacitor C3.

[0045] Furthermore, the infrared receiving component includes a receiving diode PT corresponding to the transmitting diode IR at the power input end, one end of the receiving diode PT at the power input end is connected to the power supply module, and the other end of the receiving diode PT at the power input end is connected to the detection control module; the positive electrode of the receiving diode PT in the infrared receiving component is connected to the output end of the voltage converter component, and the negative electrode of the receiving diode PT at the power input end is led out in two ways, one is grounded through a resistor R4, and the other is connected to one end of the resistor R1, and the other end of the resistor R1 is divided into two ways, one is grounded through a capacitor C1, and the other is connected to the control chip of the detection control module as an output end.

[0046] Working principle:

[0047] When the voltage of the sampling resistor R8 in the circuit changes, it is fed back to the inverting input of the operational amplifier. The difference between it and the voltage of the non-inverting input is amplified by the operational amplifier. The larger the difference, the higher the output voltage of the operational amplifier. The output changes the base current of the transistor, thereby changing the voltage drop between the emitter and the collector, so that the voltage of the sampling resistor remains unchanged, and finally the load current remains constant.

[0048] To achieve a constant current output of 12.5mA: According to the virtual circuit of the op amp: Vref=V+; V-=V2;

[0049] According to the virtual short of the op amp: V+=V-; then: V2=Vref;

[0050] Vref voltage is divided by resistor: Vref=5V*R6 / (R2+R6) =1.25V;

[0051] The voltage across R8: V2 = 1.25V;

[0052] Then the current of R8 is: I=V2 / R8=1.25V / 100R=12.5mA; because the current of R8 and IR is equal everywhere in a loop, IR can also achieve a constant current of 12.5mA.

[0053] The current flowing through the emitting diode IR is constant at 12.5mA, and there will be no problem of inconsistent luminous intensity due to inconsistent diode currents of different batches and different conduction voltage specifications; when the dirtiness of the water in the sewage pipe changes, the receiving diode PT generates currents of different sizes due to different levels of sewage dirtiness, and then different voltages are generated at both ends of the sampling resistor R4. The relative voltage value is obtained after being collected by the ADC port of the MCU, and the collected voltage is judged, thereby relatively judging the dirtiness of the sewage.

[0054] During the application process, by sampling clean water and completely dirty sewage, the voltages of the two endpoints are obtained as a reference. The voltages sampled from sewage with different degrees of dirtiness are between the voltage of clean water and the voltage of completely dirty sewage, which can characterize the degree of dirtiness of the sewage more linearly.

[0055] The principle of the circuit is: on the basis of effectively realizing sewage pollution detection, it can effectively reduce material costs and improve the stability of the system; because the power supply current of the emitting diode is fixed, it can effectively reduce the impact of different luminous intensities caused by the difference in conduction voltage drops of different diodes, and the actual collection consistency is high. Embodiment 2

[0056] like Figure 1 , Figure 2 , Figure 8 As shown, an infrared-based sewage dirtiness detection circuit includes: a power supply module, a detection control module, a sewage dirtiness signal acquisition module, a cleaning motor drive module, and a cleaning water pump drive module that are electrically connected to each other.

[0057] Specifically, the power supply module includes a power input terminal, a voltage converter component respectively connected to the power input terminal, and a three-terminal voltage regulator component. The power input terminal includes a power introduction terminal VB, and the power input terminal VB leads to two paths, one of which is grounded through a capacitor C12, and the other is grounded through a series resistor R77 and a resistor R10, and the connection node of the resistor R77 and the resistor R10 is connected to one end of the resistor R75, and the other end of the resistor R75 is a connection node P, and the connection node P is output as the input end of the voltage converter component and the three-terminal voltage regulator component through a series diode D2 and a resistor RS1. Further, the voltage converter assembly includes: a step-down DC-DC converter connected to the resistor RS1, a capacitor EC3 and a capacitor C8 are connected in parallel between the input end of the step-down DC-DC converter and the ground end of the power input end, a resistor R76 and a capacitor C11 are connected in series in parallel at the output end of the step-down DC-DC converter, a diode D4 is connected in parallel at both ends of the resistor R76 and the capacitor C11, and the output end of the step-down DC-DC converter is connected to one end of the inductor L1, and the other end of the inductor L1 is connected through the capacitor EC1 and the capacitor C7 connected in parallel. The inductor L1 is connected to the ground, and the connection end of the inductor L1 and the capacitor C7 is connected to the VCC port of the step-down DC-DC converter as the VCC power supply end; and / or, the three-terminal voltage regulator component at the power input end includes: a three-terminal voltage regulator transistor U2 connected to the resistor RS1, and the input end of the three-terminal voltage regulator transistor U2 is grounded through the capacitor C6, the output end of the three-terminal voltage regulator transistor U2 is grounded through the parallel capacitor EC2 and the capacitor C10, and the output end of the three-terminal voltage regulator transistor U2 is connected to the power supply end and connected to the control chip of the detection control module.

[0058] Specifically, the sewage dirtiness signal acquisition module includes an infrared emitting component and an infrared receiving component respectively connected to the power supply module at the power input end; the emitting side of the infrared emitting component at the power input end and the receiving side of the infrared receiving component are respectively located at opposite sides of the location to be detected. The detection control module includes a control chip, and the control chip at the power input end is connected to the infrared receiving component at the power input end.

[0059] Furthermore, the infrared emitting component at the power input end includes a voltage-dividing resistor group connected to the output end of the voltage converter component, the intermediate connection node of the voltage-dividing resistor group at the power input end is connected to the in-phase input end of the operational amplifier, the output end of the operational amplifier at the power input end is connected to one end of the emitting diode IR through the emitting group transistor, and the other end of the emitting diode IR is connected to the power supply module; the voltage-dividing resistor group in the infrared emitting component includes a voltage-dividing resistor R2 connected to the output end of the voltage converter component and a voltage-dividing resistor R6 connected in series with the voltage-dividing resistor R2, the other end of the voltage-dividing resistor R6 is grounded, and the voltage-dividing resistor R6 is connected in parallel with a capacitor C2, and the connection node between the voltage-dividing resistor R2 and the voltage-dividing resistor R6 is connected to the in-phase input end of the operational amplifier at the power input end through a resistor R3. The output end of the operational amplifier is connected to the base of the transistor Q1 of the transmitting group transistor through the resistor R5. The emitter of the transistor Q1 is divided into two paths, one of which is connected to the inverting input end of the operational amplifier through the resistor R7, and the other is grounded through the resistor R8. The collector of the transistor Q1 at the power input end is connected to the negative electrode of the receiving diode PT, and the positive electrode of the receiving diode PT is connected to the output end of the voltage converter component; one control end of the operational amplifier at the power input end is grounded, and the other control end of the operational amplifier at the power input end leads to two paths, one of which is connected to the output end of the voltage converter component, and the other is grounded through the capacitor C3.

[0060] Furthermore, the infrared receiving component includes a receiving diode PT corresponding to the transmitting diode IR at the power input end, one end of the receiving diode PT at the power input end is connected to the power supply module, and the other end of the receiving diode PT at the power input end is connected to the detection control module; the positive electrode of the receiving diode PT in the infrared receiving component is connected to the output end of the voltage converter component, and the negative electrode of the receiving diode PT at the power input end is led out in two ways, one is grounded through a resistor R4, and the other is connected to one end of the resistor R1, and the other end of the resistor R1 is divided into two ways, one is grounded through a capacitor C1, and the other is connected to the control chip of the detection control module as an output end.

[0061] Specifically, the power supply module is also connected to a cleaning motor drive module, and the cleaning motor drive module at the power input end is also connected to the control chip of the detection control module at the power input end; the cleaning motor drive module at the power input end includes: a series resistor R36, a resistor R38, and a resistor R40 connected to the connection node P, and the resistor R40 is connected to the collector of the transistor Q13, the emitter of the transistor Q13 is grounded, the base of the transistor Q13 is connected to the DRSM interface of the control chip of the detection control module through the resistor R46, and the emitter of the transistor Q13 and the base of the transistor Q13 are connected through the resistor R48; and the collector of the transistor Q9 and the base of the transistor Q9 are connected through the resistor R38; the emitter of the transistor Q9 and the base of the transistor Q9 are connected through the diode D14, the cathode of the diode D14 is connected to the G11 interface of the control chip, and the resistor 36. The connection node of resistor 38 is connected to the P-channel MOS tube Q7. The input end and the output end of the P-channel MOS tube Q7 are connected through capacitors C26 and C27 connected in series. The control end of the P-channel MOS tube Q7 is connected to the emitter of the transistor Q9. The output end of the P-channel MOS tube Q7 is divided into three paths. One path is connected to the FBM+ of the cleaning motor through resistor BEAD1, and the other path is connected to the FBM- of the cleaning motor through capacitors C30, C32 and resistor BEAD3. A diode D12 is connected between the capacitor C32 and the output end of the P-channel MOS tube Q7. The connection end of the capacitor C32 and the resistor BEAD3 is connected to the ground through a resistor R44. The two ends of the resistor R44 are respectively connected to the resistor R42 and the capacitor C35. The other end of the resistor R42 is connected to the other end of the capacitor C35 and leads to an end connected to the SMCS interface of the control chip.

[0062] Specifically, Figure 1-Figure 8As shown, the power supply module is also connected to a cleaning water pump driving module, and the cleaning water pump driving module at the power input end is also connected to the control chip of the detection control module at the power input end; the cleaning water pump driving module at the power input end includes: a resistor R37, a resistor R39, and a resistor R41 connected in series to the connection node P, and the resistor R41 is connected to the collector of the transistor Q14, the emitter of the transistor Q14 is grounded, the base of the transistor Q14 is connected to the DRPM interface of the control chip of the detection control module through the resistor R47, and the emitter of the transistor Q14 is connected to the base of the transistor Q14 through the resistor R49; the collector of the transistor Q10 is connected to the base of the transistor Q10 through the resistor R39, the emitter of the transistor Q10 is connected to the base of the transistor Q10 through the diode D15, the cathode of the diode D15 is connected to the G12 interface of the control chip, and the resistor The connection node of R37 and resistor R39 is connected to the P-channel MOS tube Q8. The input end and the output end of the P-channel MOS tube Q8 are connected through the capacitors C28 and C29 connected in series. The control end of the P-channel MOS tube Q8 is connected to the emitter of the transistor Q10. The output end of the P-channel MOS tube Q8 is divided into three paths. One path is connected to the WM+ of the cleaning water pump through the resistor BEAD2, and the other path is connected to the WM- of the cleaning water pump through the capacitors C31, C33 and resistor BEAD4. A diode D13 is connected between the capacitor C33 and the output end of the P-channel MOS tube Q8. The connection end of the capacitor C33 and the resistor BEAD4 is connected to the ground through the resistor R45. The two ends of the resistor R45 are respectively connected to the resistor R43 and the capacitor C36. The other end of the resistor R43 is connected to the other end of the capacitor C36 and leads to one end connected to the PMCS interface of the control chip.

[0063] Specifically, Figure 1-Figure 8As shown, the power supply module is also connected to a key module, and the power input end key module is also connected to the control chip of the power input end detection control module; the power input end key module includes: an interface component JP1 connected to the connection node P; an interface of the interface component JP1 is connected to a resistor R31, the other end of the resistor R31 is grounded through a capacitor C23, both ends of the capacitor C23 are connected in parallel with a resistor R35, and both ends of the capacitor C23 are respectively connected to the base and emitter of the transistor Q6, and the collector of the transistor Q6 is connected to the Clean interface of the control chip; an interface of the interface component JP1 is connected to a resistor R27, the other end of the resistor R27 is grounded through a capacitor C21, both ends of the capacitor C21 are connected in parallel with a resistor R32, and both ends of the capacitor C21 are respectively connected to the base and emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the Clean interface of the control chip. One interface of the interface component JP1 leads to two paths, one of which is connected through a resistor R13, a diode D9, and a diode D6, and then connected to the MOS tube Q2 through a resistor R14 and a resistor R12, and the resistor R11 is connected to the output end of the three-terminal voltage-stabilizing transistor U2, and the two ends of the resistor R14 are respectively connected to the base of the transistor Q3 and the emitter of the transistor Q3, the collector of the transistor Q3 and the base of the transistor Q3 are connected through a resistor R20, and the collector of the transistor Q4 and the control end of the MOS tube Q2 are grounded at a common point; the other path is connected to the MOS tube Q4 through a diode D5 and a resistor R24, and a capacitor C19 is connected in parallel between the output end and the control end of the MOS tube Q4, a diode ZD1 and a resistor R26 are connected in parallel between the output end and the control end of the MOS tube Q4, and the input and output ends of the MOS tube Q4 are connected to the output power supply of the output end of the three-terminal voltage-stabilizing transistor U2.

[0064] Specifically, Figure 1-Figure 8 As shown, the power supply module is also connected to an indicator light module, and the power input indicator light module is also connected to the control chip of the power input detection control module; the power input indicator light module includes: a plurality of indicator light circuits of different colors connected to the control chip; and / or, the control chip of the power input detection control module is also connected to an external interface module, and the power input external interface module includes: an external interface J1 connected to the TX port of the control chip; or a display circuit and a JP11 interface circuit connected to the STX port and the SRX port of the control chip; an external interface JP10, an external interface JP4-external interface JP6, and an external interface JP7 connected to the TX port of the control chip.

[0065] Working principle:

[0066] Different voltages are provided through a power supply module in an infrared-based sewage dirtiness detection circuit to meet the needs of different voltages in the circuit, and the dirtiness of the sewage in the sewage pipe is detected through a sewage dirtiness signal acquisition module connected to the detection control module. The rotation of the cleaning motor drive module and the spraying of the cleaning water pump drive module are driven according to the dirtiness of the sewage in the sewage pipe. Other matching modules adopt conventional combinations and functions in the prior art, such as an indicator light module for displaying the working status of the circuit, a display circuit for displaying working information, and a button module for manual operation. On the basis of effectively realizing sewage dirtiness detection, it can effectively reduce material costs and improve system stability; because the power supply current of the emitting diode is fixed, the influence of different luminous intensities caused by the difference in conduction voltage drops of different diodes can be effectively reduced, and the actual collection consistency is high.

[0067] Based on the ideal embodiment of the utility model, through the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the invention. The technical scope of the invention is not limited to the content in the specification, and must be determined according to the scope of the claims.

Claims

1. A sewage contamination detection circuit based on infrared, characterized in that: include: A power supply module, comprising a power input terminal, a voltage converter component respectively connected to the power input terminal, and a three-terminal voltage regulator component; The sewage dirtiness signal acquisition module comprises an infrared emitting component and an infrared receiving component respectively connected to the power supply module; the emitting side of the infrared emitting component and the receiving side of the infrared receiving component are respectively located at opposite sides of the location to be detected; The infrared emission component includes a voltage-dividing resistor group connected to the output end of the voltage converter component, the middle connection node of the voltage-dividing resistor group is connected to the in-phase input end of the operational amplifier, the output end of the operational amplifier is connected to one end of the emission diode IR through the emission group triode, and the other end of the emission diode IR is connected to the power supply module; The infrared receiving component includes a receiving diode PT corresponding to the transmitting diode IR, one end of the receiving diode PT is connected to the power supply module, and the other end of the receiving diode PT is connected to the detection control module; The detection control module comprises a control chip, and the control chip is connected to the infrared receiving component.

2. The infrared-based sewage contamination detection circuit according to claim 1 is characterized in that: The voltage-dividing resistor group in the infrared emitting component includes a voltage-dividing resistor R2 connected to the output end of the voltage converter component and a voltage-dividing resistor R6 connected in series with the voltage-dividing resistor R2, the other end of the voltage-dividing resistor R6 is grounded, and the voltage-dividing resistor R6 is connected in parallel with a capacitor C2, and the connection node between the voltage-dividing resistor R2 and the voltage-dividing resistor R6 is connected to the in-phase input end of the operational amplifier through a resistor R3.

3. The infrared-based sewage contamination detection circuit according to claim 2 is characterized in that: The output end of the operational amplifier is connected to the base of the transistor Q1 of the transmitting group transistor through the resistor R5, the emitter of the transistor Q1 is divided into two paths, one path is connected to the inverting input end of the operational amplifier through the resistor R7, and the other path is grounded through the resistor R8, the collector of the transistor Q1 is connected to the negative electrode of the receiving diode PT, and the positive electrode of the receiving diode PT is connected to the output end of the voltage converter component; One control terminal of the operational amplifier is grounded, and the other control terminal of the operational amplifier leads to two paths, one of which is connected to the output terminal of the voltage converter component, and the other is grounded through the capacitor C3.

4. The infrared-based sewage contamination detection circuit according to claim 3 is characterized in that: The positive electrode of the receiving diode PT in the infrared receiving component is connected to the output end of the voltage converter component, and the negative electrode of the receiving diode PT leads to two paths, one of which is grounded through a resistor R4, and the other is connected to one end of the resistor R1. The other end of the resistor R1 is divided into two paths, one of which is grounded through a capacitor C1, and the other is connected to the control chip of the detection control module as an output end.

5. The infrared-based sewage contamination detection circuit according to claim 1 is characterized in that: The power input end includes a power introduction end VB, and the power introduction end VB leads to two paths, one of which is grounded through a capacitor C12, and the other is grounded through a series resistor R77 and a resistor R10. The connection node between the resistor R77 and the resistor R10 is connected to one end of the resistor R75, and the other end of the resistor R75 is a connection node P. The connection node P is output through a series diode D2 and a resistor RS1 as the input end of the voltage converter component and the three-terminal regulator component.

6. The infrared-based sewage contamination detection circuit according to claim 5 is characterized in that: The voltage converter assembly includes: a step-down DC-DC converter connected to a resistor RS1, a capacitor EC3 and a capacitor C8 are connected in parallel between an input end and a ground end of the step-down DC-DC converter, a resistor R76 and a capacitor C11 are connected in parallel to an output end of the step-down DC-DC converter, a diode D4 is connected in parallel to both ends of the resistor R76 and the capacitor C11, and the output end of the step-down DC-DC converter is connected to one end of an inductor L1, and the other end of the inductor L1 is grounded through a capacitor EC1 and a capacitor C7 connected in parallel, and a connection end of the inductor L1 and the capacitor C7 is connected to a VCC port of the step-down DC-DC converter as a VCC power supply end; And / or, the three-terminal voltage regulator component includes: a three-terminal voltage regulator transistor U2 connected to the resistor RS1, and the input end of the three-terminal voltage regulator transistor U2 is grounded through the capacitor C6, the output end of the three-terminal voltage regulator transistor U2 is grounded through the parallel capacitor EC2 and the capacitor C10, and the output end of the three-terminal voltage regulator transistor U2 is led out as a power supply end connected to the control chip of the detection control module.

7. The infrared-based sewage contamination detection circuit according to claim 1 is characterized in that: The power supply module is also connected to a cleaning motor drive module, and the cleaning motor drive module is also connected to the control chip of the detection control module; The cleaning motor drive module includes: a series resistor R36, a resistor R38, and a resistor R40 connected to a connection node P, and the resistor R40 is connected to the collector of the transistor Q13, the emitter of the transistor Q13 is grounded, the base of the transistor Q13 is connected to the DRSM interface of the control chip of the detection control module through a resistor R46, and the emitter of the transistor Q13 and the base of the transistor Q13 are connected through a resistor R48; and the collector of the transistor Q9 and the base of the transistor Q9 are connected through a resistor R38; the emitter of the transistor Q9 and the base of the transistor Q9 are connected through a diode D14, the cathode of the diode D14 is connected to the G11 interface of the control chip, the connection node of the resistor R36 and the resistor R38 is connected to the P channel MOS tube Q7, and the P channel M The input and output ends of the OS tube Q7 are connected through capacitors C26 and C27 connected in series. The control end of the P-channel MOS tube Q7 is connected to the emitter of the transistor Q9. The output end of the P-channel MOS tube Q7 is divided into three paths. One path is connected to the FBM+ of the cleaning motor through resistor BEAD1, and the other path is connected to the FBM- of the cleaning motor through capacitors C30, C32 and resistor BEAD3. A diode D12 is connected between the capacitor C32 and the output end of the P-channel MOS tube Q7. The connection end of the capacitor C32 and the resistor BEAD3 is connected to the ground through a resistor R44. The two ends of the resistor R44 are respectively connected to the resistor R42 and the capacitor C35. The other end of the resistor R42 is connected to the other end of the capacitor C35 and leads to an end connected to the SMCS interface of the control chip.

8. The infrared-based sewage contamination detection circuit according to claim 1 is characterized in that: The power supply module is also connected to a cleaning water pump driving module, and the cleaning water pump driving module is also connected to the control chip of the detection control module; The cleaning water pump driving module includes: a series resistor R37, a resistor R39, and a resistor R41 connected to a connection node P, and the resistor R41 is connected to the collector of the transistor Q14, the emitter of the transistor Q14 is grounded, the base of the transistor Q14 is connected to the DRPM interface of the control chip of the detection control module through the resistor R47, and the emitter of the transistor Q14 is connected to the base of the transistor Q14 through the resistor R49; the collector of the transistor Q10 is connected to the base of the transistor Q10 through the resistor R39, the emitter of the transistor Q10 is connected to the base of the transistor Q10 through the diode D15, the cathode of the diode D15 is connected to the G12 interface of the control chip, the connection node of the resistor R37 and the resistor R39 is connected to the P channel MOS tube Q8, and the P channel The input and output ends of the P-channel MOS tube Q8 are connected through capacitors C28 and C29 connected in series, the control end of the P-channel MOS tube Q8 is connected to the emitter of the transistor Q10, and the output end of the P-channel MOS tube Q8 is divided into three paths, one of which is connected to the WM+ of the cleaning water pump through the resistor BEAD2, and the other is connected to the WM- of the cleaning water pump through the capacitors C31, C33 and the resistor BEAD4, and a diode D13 is connected between the capacitor C33 and the output end of the P-channel MOS tube Q8, and the connection end of the capacitor C33 and the resistor BEAD4 is connected to the ground through the resistor R45, and the two ends of the resistor R45 are respectively connected to the resistor R43 and the capacitor C36, and the other end of the resistor R43 is connected to the other end of the capacitor C36 and leads to one end connected to the PMCS interface of the control chip.

9. The infrared-based sewage contamination detection circuit according to claim 1 is characterized in that: The power supply module is also connected to a key module, and the key module is also connected to the control chip of the detection control module; The key module comprises: an interface member JP1 connected to the connection node P; One interface of the interface component JP1 is connected to the resistor R31, the other end of the resistor R31 is grounded through the capacitor C23, the two ends of the capacitor C23 are connected in parallel with the resistor R35, and the two ends of the capacitor C23 are respectively connected to the base and emitter of the transistor Q6, and the collector of the transistor Q6 is connected to the Clean interface of the control chip; One interface of the interface component JP1 is connected to the resistor R27, the other end of the resistor R27 is grounded through the capacitor C21, the two ends of the capacitor C21 are connected in parallel with the resistor R32, and the two ends of the capacitor C21 are respectively connected to the base and emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the Clean interface of the control chip; An interface of the interface component JP1 leads to two paths, one of which is connected through a resistor R13, a diode D9, and a diode D6, and then connected to the MOS tube Q2 through a resistor R14 and a resistor R12, and connected to the output end of the three-terminal voltage-stabilizing transistor U2 through a resistor R11, and the two ends of the resistor R14 are respectively connected to the base of the transistor Q3 and the emitter of the transistor Q3, the collector of the transistor Q3 and the base of the transistor Q3 are connected through a resistor R20, and the collector of the transistor Q4 and the control end of the MOS tube Q2 are grounded at a common point; the other path is connected to the MOS tube Q4 through a diode D5 and a resistor R24, and a capacitor C19 is connected in parallel between the output end and the control end of the MOS tube Q4, a diode ZD1 and a resistor R26 are connected in parallel between the output end and the control end of the MOS tube Q4, and the input and output ends of the MOS tube Q4 are connected to the output power supply of the output end of the three-terminal voltage-stabilizing transistor U2.

10. The infrared-based sewage contamination detection circuit according to claim 1, characterized in that: The power supply module is also connected to an indicator light module, and the indicator light module is also connected to the control chip of the detection control module; The indicator light module includes: a plurality of indicator light circuits of different colors connected to the control chip; And / or, the control chip of the detection control module is also connected to an external interface module, and the external interface module includes: an external interface J1 connected to the TX port of the control chip; or a display circuit and a JP11 interface circuit connected to the STX port and the SRX port of the control chip; an external interface JP10, an external interface JP4-external interface JP6, and an external interface JP7 connected to the TX port of the control chip.