CN202885911U - Overflow detection circuit - Google Patents
Overflow detection circuit Download PDFInfo
- Publication number
- CN202885911U CN202885911U CN 201220627797 CN201220627797U CN202885911U CN 202885911 U CN202885911 U CN 202885911U CN 201220627797 CN201220627797 CN 201220627797 CN 201220627797 U CN201220627797 U CN 201220627797U CN 202885911 U CN202885911 U CN 202885911U
- Authority
- CN
- China
- Prior art keywords
- spilling water
- testing circuit
- water
- chip microcomputer
- tank
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
The utility model relates to an overflow detection circuit which comprises a water storage container, a power supply line, an overflow detection line, a pull-down resistor, a current-limiting resistor and a singlechip microcomputer. One end of the power supply line is connected to water placed in the water storage container while the other end of the power supply line is connected with a power supply. An overflow detection point in the water storage container is placed at one end of the overflow detection line, and the pull-down resistor and the current-limiting resistor are respectively connected to the other end of the overflow detection line. The other end of the pull-down resistor is grounded while the other end of the current-limiting resistor is connected with an AD detection port of the singlechip microcomputer. When water in the water storage container overflows to the overflow detection point, the overflow detection circuit is conducted, resistances generated by water in the water storage container and the pull-down resistor are divided. The divided voltage is transferred to the AD detection port of the singlechip microcomputer through the current-limiting resistor, and the singlechip microcomputer compares the voltage valve detected by the AD detection port with a predetermined voltage range value. If the voltage value detected is in the predetermined voltage range value, water in the water storage container overflows. With the adoption of the overflow detection circuit, the overflow condition can be accurately detected, and the overflow detection circuit is low in cost and simple in structure.
Description
Technical field
The utility model relates to a kind of circuit that water level is carried out observing and controlling, more particularly, relates to a kind of spilling water testing circuit.
Background technology
In our daily life; we can often see that the phenomenon of spilling water appears in the small electric apparatus such as electric cooker, water heater, soy bean milk making machine when in use; and the inner not spilling water pick-up unit of these electrical equipment; do not make any conservation treatment in case there is water to overflow yet; be easy to like this burn electrical equipment; even cause fire, user's personal safety and composition of estate threatened greatly.Use in the prior art many be to detect high-low level with the IO mouth to have judged whether the spilling water situation, cardinal principle is to have utilized the on-off action of triode to realize, as shown in Figure 1, when the water of 10 li of tanks does not spill into check point A, power lead 20 and spilling water detection line 30 do not couple together, and at this moment the base stage of triode Q1 does not have voltage, can not make the triode conducting, so when not having spilling water, what the IO of single-chip microcomputer detection mouth detected is low level; When there being water to spill into check point, power lead and spilling water detection line link together by water, a driving voltage are provided so just can for the base stage of triode, make the triode conducting, at this moment we just can detect mouth at IO and detect high level, have so just realized the spilling water detection.But, adopt scheme as shown in Figure 1, have following defective: 1, different MCU is different to the voltage of high-low level identification; 2, the different water yields, different water quality, also have external environmental factor etc. all can cause the electric conductivity of water different; 3, can not guarantee fully that triode all is on off state at every turn, be in amplification, saturated other states are all possible.So, for above three kinds of problems, if the simple IO mouth detection high-low level that leans on judges whether spilling water, error is arranged, often erroneous judgement; And need the extra triode that increases, cause having increased cost.
The utility model content
The technical problems to be solved in the utility model is, for prior art to tank whether spilling water detect inaccurately, and increase the defective of cost, provide a kind of and can accurately detect spilling water situation and the low spilling water testing circuit of cost.
The technical scheme that its technical matters that solves the utility model adopts is: construct a kind of spilling water testing circuit, comprise a tank, a power lead, spilling water detection line, pull down resistor, current-limiting resistance, single-chip microcomputer, one end of power lead connects water, the other end of putting into tank and connects power supply, spilling water check point, the other end that one end of spilling water detection line is placed in the tank connect respectively pull down resistor and current-limiting resistance, the AD that the other end ground connection of pull down resistor, the other end of current-limiting resistance connect single-chip microcomputer detects mouth;
When the water in the tank spills into the spilling water check point, this spilling water testing circuit conducting, the resistance of the water generates in the tank and pull down resistor dividing potential drop, voltage after the dividing potential drop detects mouth through the AD that current-limiting resistance passes to single-chip microcomputer, single-chip microcomputer will detect mouthful magnitude of voltage that detects and the comparison of predeterminated voltage value range by AD, if the magnitude of voltage that detects illustrates that then tank has water to overflow in the predeterminated voltage value range.
In spilling water testing circuit described in the utility model, described single-chip microcomputer regularly detects a mouthful collection AD value by AD according to a Preset Time.
In spilling water testing circuit described in the utility model, described Preset Time is 5 seconds.
In spilling water testing circuit described in the utility model, the spilling water testing circuit also comprises the alarm unit that is connected with single-chip microcomputer, and described single-chip microcomputer is controlled alarm unit and sent alerting signal when detecting the tank spilling water.
In spilling water testing circuit described in the utility model, described alarm unit is loudspeaker.
In spilling water testing circuit described in the utility model, described alarm unit is LED light.
In spilling water testing circuit described in the utility model, described alarm unit comprises loudspeaker and LED light.
Implement spilling water testing circuit of the present utility model, has following beneficial effect: when the water in the tank spills into the spilling water check point, this spilling water testing circuit conducting, the resistance of the water generates in the tank and pull down resistor dividing potential drop, voltage after the dividing potential drop detects mouth through the AD that current-limiting resistance passes to single-chip microcomputer, single-chip microcomputer will detect mouthful magnitude of voltage that detects and the comparison of predeterminated voltage value range by AD, if the magnitude of voltage that detects illustrates that then tank has water to overflow in the predeterminated voltage value range; Whether in tank have water overflow, and circuit structure is simple, cost is low if can detect accurately, later maintenance is simple.
Description of drawings
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is spilling water testing circuit schematic diagram of the prior art;
Fig. 2 is spilling water testing circuit schematic diagram of the present utility model.
Embodiment
In order to make the purpose of this utility model clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
As shown in Figure 2, in spilling water testing circuit schematic diagram of the present utility model, comprise a tank 10, power lead 20, spilling water detection line 30, pull down resistor R2, current-limiting resistance R1, single-chip microcomputer 40, one end of power lead 20 connects water, the other end of putting into tank 10 and connects power supply VCC+5V, and spilling water check point A, the other end that an end of spilling water detection line 30 is placed in the tank 10 connect respectively pull down resistor R2 and current-limiting resistance R1; The AD that the other end ground connection of pull down resistor R2, the other end of current-limiting resistance R1 connect single-chip microcomputer 40 detects mouth, reaches by the first capacitor C 1 ground connection.In implementation, it is the chip of BJ8P162 that this single-chip microcomputer 40 adopts model, and pin P4.1/AINI detects mouth as AD.
When the water in the tank 10 spills into spilling water check point A, this spilling water testing circuit conducting (be power lead 20 and spilling water detection line 30 by water couple together conducting), the resistance of the water generates in the tank 10 and pull down resistor R2 dividing potential drop, voltage after the dividing potential drop detects mouth through the AD that current-limiting resistance R1 passes to single-chip microcomputer 40, single-chip microcomputer 40 will detect mouthful magnitude of voltage that detects and the comparison of predeterminated voltage value range by AD, if the magnitude of voltage that detects illustrates that then tank has water to overflow in the predeterminated voltage value range.
In specific implementation process, this single-chip microcomputer 40 regularly detects a mouthful collection AD value by AD according to a Preset Time, and this Preset Time can arrange according to actual needs, as being set to 5 seconds.Whether single-chip microcomputer 40 will detect mouthful a magnitude of voltage that gathers by AD carries out filtering and processes, and obtains effective AD value, and should effective AD value and the comparison of predeterminated voltage value range, have water to overflow to judge tank.Because pure water is different with electric conductivity and the resistance value of mixing the water of matter, so need to set in advance a voltage range value according to actual conditions.When the AD of single-chip microcomputer 40 detects mouthful magnitude of voltage that detects in predeterminated voltage value range scope, illustrate that tank 10 has water to overflow, otherwise think do not have water to overflow.
Further, this spilling water testing circuit also comprises the alarm unit 50 that is connected with single-chip microcomputer 40, and this single-chip microcomputer 40 is controlled alarm unit and sent warning message when detecting tank 10 spilling water.
Further, this alarm unit 50 is loudspeaker.In implementation process, when single-chip microcomputer 40 detects tank 10 spilling water, can control loudspeaker generation sound, easily reminding user.As shown in Figure 2, loudspeaker LS1 is connected to the port P5.3 of single-chip microcomputer 40 by triode Q1 and resistance R 4.
Further, this alarm unit 50 is LED light.In implementation process, when single-chip microcomputer 40 detects tank 10 spilling water, can control always shinny or flicker of LED light, with reminding user.As shown in Figure 2, LED lamp D1 is connected to the port P0.0/INT0 of single-chip microcomputer 40 by resistance R 3.
Further, this alarm unit 50 can also comprise loudspeaker and LED light simultaneously, when single-chip microcomputer 40 detects tank 10 spilling water, can control the always shinny or flicker of loudspeaker generation sound and control LED light, simultaneously by sound and light reminding user.As shown in Figure 2, loudspeaker LS1 is connected to the port P5.3 of single-chip microcomputer 40 by triode Q1 and resistance R 4; LED lamp D1 is connected to the port P0.0/INT0 of single-chip microcomputer 40 by resistance R 3.
In concrete the application, this spilling water testing circuit can be applied on the small electric apparatus such as electric cooker, water heater, soy bean milk making machine, whether have spilling water, and carry out warning reminding if can detect easily.Electric cooker, water heater, the soy bean milk making machine used are carried out spilling water detect, when spilling water occurring, the user can take corresponding safeguard measure, so as not to burning electrical equipment, even causes fire, and user's personal safety and composition of estate threatened greatly.By adopting this spilling water testing circuit, whether can detect easily spilling water, and then carry out respective handling, can improve greatly the serviceable life of electric cooker etc.
Adopt spilling water testing circuit of the present utility model, by an AD detection mouthful detection magnitude of voltage that uses single-chip microcomputer, and with the magnitude of voltage that detects and the voltage range value of presetting relatively, overflow to have judged whether water.Adopt this detection mode can judge accurately whether tank has water to overflow, promote accuracy rate; This spilling water testing circuit is simple in structure, and applicability is wide, and portable good, later maintenance is simple; Adopt this spilling water testing circuit cost low, can be product savings cost.
The above only is preferred embodiment of the present utility model; not in order to limit the utility model; all any modifications of within spirit of the present utility model and principle, doing, be equal to and replace and improvement etc., all should be included within the protection domain of the present utility model.
Claims (7)
1. spilling water testing circuit, it is characterized in that, comprise tank (10), power lead (20), spilling water detection line (30), pull down resistor (R2), current-limiting resistance (R1), single-chip microcomputer (40), one end of power lead (20) connects the water of putting into tank (10), the other end connects power supply, one end of spilling water detection line (30) is placed the spilling water check point (A) in the tank (10), the other end connects respectively pull down resistor (R2) and current-limiting resistance (R1), the AD that the other end ground connection of pull down resistor (R2), the other end of current-limiting resistance (R1) connect single-chip microcomputer (40) detects mouth;
When the water in the tank spills into the spilling water check point, this spilling water testing circuit conducting, the resistance of the water generates in the tank and pull down resistor dividing potential drop, voltage after the dividing potential drop detects mouth through the AD that current-limiting resistance passes to single-chip microcomputer, single-chip microcomputer will detect mouthful magnitude of voltage that detects and the comparison of predeterminated voltage value range by AD, if the magnitude of voltage that detects illustrates that then tank has water to overflow in the predeterminated voltage value range.
2. spilling water testing circuit according to claim 1 is characterized in that, described single-chip microcomputer (40) regularly detects a mouthful collection AD value by AD according to a Preset Time.
3. spilling water testing circuit according to claim 2 is characterized in that, described Preset Time is 5 seconds.
4. spilling water testing circuit according to claim 2, it is characterized in that, the spilling water testing circuit also comprises the alarm unit (50) that is connected with single-chip microcomputer (40), and described single-chip microcomputer (40) is controlled alarm unit (50) and sent alerting signal when detecting the tank spilling water.
5. spilling water testing circuit according to claim 4 is characterized in that, described alarm unit (50) is loudspeaker.
6. spilling water testing circuit according to claim 4 is characterized in that, described alarm unit (50) is LED light.
7. spilling water testing circuit according to claim 4 is characterized in that, described alarm unit (50) comprises loudspeaker and LED light.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220627797 CN202885911U (en) | 2012-11-23 | 2012-11-23 | Overflow detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220627797 CN202885911U (en) | 2012-11-23 | 2012-11-23 | Overflow detection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202885911U true CN202885911U (en) | 2013-04-17 |
Family
ID=48077325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220627797 Expired - Fee Related CN202885911U (en) | 2012-11-23 | 2012-11-23 | Overflow detection circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202885911U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105987736A (en) * | 2015-02-28 | 2016-10-05 | 佛山市顺德区美的电热电器制造有限公司 | Water level detection circuit, water level detection and self-inspection method and device |
-
2012
- 2012-11-23 CN CN 201220627797 patent/CN202885911U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105987736A (en) * | 2015-02-28 | 2016-10-05 | 佛山市顺德区美的电热电器制造有限公司 | Water level detection circuit, water level detection and self-inspection method and device |
CN105987736B (en) * | 2015-02-28 | 2019-03-08 | 佛山市顺德区美的电热电器制造有限公司 | Water level detection circuit, water level detecting and self checking method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203893911U (en) | Water level detection circuit | |
CN202885911U (en) | Overflow detection circuit | |
CN107516933A (en) | A kind of electronic monitoring equipment battery intelligent switching system | |
CN203414136U (en) | Liquid-level sensor circuit | |
CN206344700U (en) | New energy battery prior-warning device | |
CN206557187U (en) | A kind of multifunctional gas detector | |
CN202504046U (en) | Fish tank thermostatic control device | |
CN203207805U (en) | Water dispenser | |
CN206038257U (en) | Purifier and be used for water leakage detection device of purifier | |
CN206002220U (en) | There is the temperature transmitter of DTU broken string alarm | |
CN202421484U (en) | Detecting module of electric leakage detector | |
CN204229601U (en) | High sensitivity water sensor circuit | |
CN207472952U (en) | A kind of power-fail detection circuit and protection circuit | |
CN202853050U (en) | Detection device for preventing input/output (I/O) port humidifier from drying out | |
CN205538790U (en) | Spring electrode fault detection alarm device | |
CN206557304U (en) | Power failure detection circuit | |
CN206178062U (en) | Electric power system's malfunction alerting ware | |
CN106019062B (en) | A kind of residual current coil breakage detection device and its detection method | |
CN214795231U (en) | Detection circuit for descaling device of gas water heater | |
CN104282121A (en) | High-sensitivity water sensor and amplifier circuit | |
CN205262546U (en) | Car sewage case water level detection circuit | |
CN205080716U (en) | Combustible gas leaks alarm | |
CN204330933U (en) | A kind of detection of electrical leakage warning circuit | |
CN203414554U (en) | Volume-adjustable circuit on and off testing device | |
CN203616376U (en) | Module current detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130417 Termination date: 20181123 |