CN208172589U - Safe drinking water monitor control system - Google Patents

Safe drinking water monitor control system Download PDF

Info

Publication number
CN208172589U
CN208172589U CN201820339707.9U CN201820339707U CN208172589U CN 208172589 U CN208172589 U CN 208172589U CN 201820339707 U CN201820339707 U CN 201820339707U CN 208172589 U CN208172589 U CN 208172589U
Authority
CN
China
Prior art keywords
capacitor
water
power supply
inductance
diode
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
Application number
CN201820339707.9U
Other languages
Chinese (zh)
Inventor
牟德文
何满基
何燮强
刘凤桃
彭惠玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Electronic Information Advanced Technical School
Original Assignee
Guangdong Electronic Information Advanced Technical School
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Electronic Information Advanced Technical School filed Critical Guangdong Electronic Information Advanced Technical School
Priority to CN201820339707.9U priority Critical patent/CN208172589U/en
Application granted granted Critical
Publication of CN208172589U publication Critical patent/CN208172589U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The utility model discloses a kind of safe drinking water monitor control systems, including master board, sensor, Automatic water valve, alarming device and power supply device, the master board is separately connected sensor, Automatic water valve, alarming device and power supply device, the sensor is water quality detection sensor, the Automatic water valve includes steering engine and water valve, steering engine is for the automatic control to water valve, the steering engine is mainly made of steering wheel, train of reduction gears, position feedback potentiometer 5k, direct current generator, electronic control panel, and the master board includes single-chip microcontroller and power circuit.The utility model structure is simple, and rationally, real-time detection water quality ensures water safety for design.

Description

Safe drinking water monitor control system
Technical field
The utility model belongs to monitoring device technical field, more particularly to a kind of safe drinking water monitor control system.
Background technique
Tap water comes out to from water factory needs regular hour and distance in resident family, may touch pollution during this Object, if it is suspension, but if we can further be seen that microorganism is contained in the inside, ordinary people can not know. It often will detect that exceeded coli-group, bacterium colony, especially salmonella in tap water.Contemporary society is substance and spirit It is all very rich.Everybody thought healthy good days, and people pay much attention to the safety of itself.Especially we Household water problem in daily life.And the current safety all without a kind of equipment real-time detection water in household water, it uses Very big risk can all be brought when water to everybody at any time.Only there is water quality on-line detector in Running-water Company at present, is all Import, price is very expensive.For the detection automatic control device of household water safety, do not occur such production also in the market temporarily Product.
See in the news of on August 3rd, 2009 major TV stations of province:Municipal government of Inner Mongolia Autonomous Region Chifeng August 2 days Message is provided:When 1 day 17, Chifeng City Xincheng District contaminated event of tap water has caused 4307 people to see a doctor.3 from 2 days, red Peak city makes corresponding adjustment to the medical program of patient caused by originally water contamination accident, is seen and treated patients and is switched to simultaneously by 8 medical institutions Echelon is seen and treated patients.July 29, two The Third Affiliated Hospital of Peking University of municipal government of Chifeng invitation, Beijing Ditan Hospital intestines problems are special Chifeng is arrived at by family, instructs medical treatment to work, has worked out medical treatment scheme.Disease Control and Prevention Center of Chifeng City continues that stream tune group is sent to arrive Each designated medical organization and community carry out epidemiological survey work, and laboratory, which is worked extra shifts or extra hours, examines the sample acquired successively It surveys.Hygiene department issues 58 parts of reform advice book by checking altogether, and accredits 2 supervisors and enter Xincheng District Kowloon limited water supplies Responsible company, round-the-clock supervision and check, emphasis reinforce the disinfection supervision of reservoir, water supply line.This event shocks generation People, more than 4000 people are poisoned due to originally water pollution, and how we should face the serious problem of this water safety, and can use The quality problems of what method detection household water?
Therefore, household water safety is very crucial.Above-mentioned technical problem how is overcome to become those skilled in the art urgently Technical problem to be solved.
Utility model content
The purpose of this utility model is just to provide a kind of safe drinking water monitor control system, can be fully solved above-mentioned existing The shortcoming of technology.
The purpose of this utility model is realized by following technical proposals:
A kind of safe drinking water monitor control system, including master board, sensor, Automatic water valve, alarming device and electricity Source device, the master board are separately connected sensor, Automatic water valve, alarming device and power supply device, and the sensor is water Quality detection sensor, the Automatic water valve include steering engine and water valve, and for steering engine for the automatic control to water valve, the steering engine is main It is made of steering wheel, train of reduction gears, position feedback potentiometer 5k, direct current generator, electronic control panel, the electronic control panel connection Direct current generator, direct current generator connect train of reduction gears, and train of reduction gears connects steering wheel and position feedback potentiometer 5k, the position Feedback potentiometer 5k connection electronic control panel is used for feedback signal, and the master board includes single-chip microcontroller and power circuit, institute Power circuit connection power supply device is stated, power circuit is respectively single-chip microcontroller, steering engine, sensor and alarming device power supply, the electricity Source circuit includes diode D2, diode D3, LED light, capacitor C9, capacitor C10, capacitor C11, capacitor C12, inductance L2, resistance And switching regulator, the diode D2 are anti-reverse diode, the capacitor C9 and capacitor C10 are filter capacitor, described The anode of the anode connection power supply device output interface of diode D2, the cathode of diode D2 are separately connected the defeated of switching regulator Enter the positive terminal at end, the positive terminal of capacitor C9 and capacitor C10, the output end of the switching regulator is separately connected inductance L2's The cathode of one end and diode D3, the other end of inductance L2 be separately connected the positive terminal of capacitor C11, capacitor C12 positive terminal and The port R of switching regulator, one end of the port the R connection resistance of switching regulator, the other end connection LED light of resistance is just Pole, the cathode of the LED light, the negative pole end of capacitor C12, the negative pole end of capacitor C11, the anode of diode D3, capacitor C10 The cathode of negative pole end, the negative pole end of capacitor C9 and power supply device output interface while the port OFF/ON of connection switch voltage-stablizer, The grounding ports connection port OFF/ON of the switching regulator is simultaneously grounded.
Further, the port R of the switching regulator is connected with system power supply circuit, and system power supply circuit includes SPX1117M-3.3 voltage-stablizer, capacitor C13, inductance L3, electrolytic capacitor C15, inductance L4 and capacitor 16, the switching regulator The port R be separately connected the input terminal of SPX1117M-3.3 voltage-stablizer and the anode of capacitor C13, the SPX1117M-3.3 is steady Two output ends of depressor are separately connected anode and one end of inductance L3 of electrolytic capacitor C15 simultaneously, and the other end of inductance L3 connects Connect the anode of capacitor C16, one end of the cathode connection inductance L4 of capacitor C16, the other end connection of inductance L4, electrolytic capacitor C15 Cathode and the cathode of capacitor C13 connect ground terminal and the ground connection of SPX1117M-3.3 voltage-stablizer simultaneously.
Further, the single-chip microcontroller uses LPC2131.
Further, the alarming device uses combined aural and visual alarm.
It further, further include LED display, LED display connects master board.
Compared with prior art, the beneficial effects of the utility model are:Structure is simple, and design is reasonable, at home originally Water quality detection sensor, real-time detection water quality safety are installed on water main valve;Sensor signal analysis is carried out simultaneously using master board Control steering engine is switched on or off water source, is simultaneously emitted by alarm, resident can be according to alarm pause water.Once overproof water quality, This system device automatic alarm and will cut off water supply, and resident can adjust with water, realize and ask residents ' health, safety The guarantee of topic.The utility model has huge potential market, can be widely applied to industry and civil field.Especially supply The parts such as water, food, chemical industry, pharmacy.It slightly adjusts, can be used for gutter oil, regeneration machine oil etc. food and industry security Detection.
Detailed description of the invention
Fig. 1 is the control principle drawing of the utility model;
Fig. 2 is the power circuit diagram of master board;
Fig. 3 is 12V potential circuit figure;
Fig. 4 is system power supply circuit diagram;
Fig. 5 is Experiment of Electrical Conductivity schematic diagram;
Fig. 6 is the working principle diagram of steering engine.
Specific embodiment
The utility model is further described with attached drawing combined with specific embodiments below.
As shown in figures 1 to 6, a kind of safe drinking water monitor control system, including master board, sensor, automatic water Valve, alarming device and power supply device, the master board are separately connected sensor, Automatic water valve, alarming device and power supply device, The power supply device is the power supply of whole system device.The sensor is water quality detection sensor, preferably conductivity sensor, sheet Embodiment also carries out technology elaboration by taking conductivity sensor as an example.The Automatic water valve includes steering engine and water valve, utilizes steering engine control The opening and closing of gate valve.The steering engine is mainly mechanical, electrical by steering wheel, train of reduction gears, position feedback potentiometer 5k, direct current Sub- control panel composition, the electronic control panel connect direct current generator, and direct current generator connects train of reduction gears, train of reduction gears connection Steering wheel and position feedback potentiometer 5k, the position feedback potentiometer 5k connection electronic control panel are used for feedback signal.The police Showing device uses combined aural and visual alarm, including buzzer and LED alarm lamp.The present apparatus further includes LED display and positioning device etc., LED display connects master board with positioning device, and LED display is used for the status display of testing result, and positioning device is used for Positioning, can connect waterworks, problem water quality region be determined by positioning device, in order to rectify and improve.
The principle of this system is, using conductivity sensor as basic water quality detection element, to turn by simulation numeral After changing circuit, single-chip microcontroller (MCU) manageable digital signal in master board is converted by the analog signal of sensor, it is single After piece machine receives and processes, compared with the threshold value (water quality minimum safe standard value) of setting, PWM is exported according to comparison result (pulse width modulation) controls steering engine.If overproof water quality, water valve is closed, red LED alarm lamp is glittering, buzzer It rings;Water quality is normal, and green LED alarm lamp is glittering, and buzzer stops.
The master board includes single-chip microcontroller and power circuit, and the single-chip microcontroller uses LPC2131, and the power circuit connects Connect power supply device.Power circuit is respectively single-chip microcontroller, steering engine, sensor and alarming device power supply, to realize connection power circuit Different components or component etc. different voltages are provided, the present embodiment illustrates the design of 5V voltage, 12 voltages and 3.3V voltage Scheme is not limited only to this, can draw inferences about other cases from one instance.The power circuit includes diode D2, diode D3, LED light, capacitor C9, capacitor C10, capacitor C11, capacitor C12, inductance L2, resistance and switching regulator, the diode D2 are anti-reverse two pole Pipe, the capacitor C9 and capacitor C10 are filter capacitor, and the anode connection power supply device output interface of the diode D2 is just Pole, the cathode of diode D2 are separately connected the positive terminal of the input terminal of switching regulator, the positive terminal of capacitor C9 and capacitor C10, The output end of the switching regulator is separately connected one end of inductance L2 and the cathode of diode D3, the other end difference of inductance L2 Connect positive terminal, the positive terminal of capacitor C12 and the port R of switching regulator of capacitor C11, the port the R connection of switching regulator One end of resistance, the anode of the other end connection LED light of resistance, the cathode of the LED light, the negative pole end of capacitor C12, capacitor The negative pole end of C11, the anode of diode D3, the negative pole end of capacitor C10, the negative pole end of capacitor C9 and power supply device output interface The grounding ports connection port OFF/ON of the port OFF/ON of cathode while connection switch voltage-stablizer, the switching regulator simultaneously connects Ground.
The port R of the switching regulator is connected with system power supply circuit, and system power supply circuit includes SPX1117M-3.3 The port R of voltage-stablizer, capacitor C13, inductance L3, electrolytic capacitor C15, inductance L4 and capacitor 16, the switching regulator connects respectively Connect the input terminal of SPX1117M-3.3 voltage-stablizer and the anode of capacitor C13, two outputs of the SPX1117M-3.3 voltage-stablizer End while anode and the one end of inductance L3 for being separately connected electrolytic capacitor C15, the other end connection capacitor C16 of inductance L3 is just Pole, capacitor C16 cathode connection inductance L4 one end, inductance L4 the other end connection, electrolytic capacitor C15 cathode and capacitor The cathode of C13 connects ground terminal and the ground connection of SPX1117M-3.3 voltage-stablizer simultaneously.
Wherein, the master board is based on ARM7TDMI-S core, single supply power supply and LQFP64 using PHILIPS company The LPC2131 of encapsulation.It is main to realize:Detection, the control of water valve steering engine of household water water electric conductivity etc..LPC2131 characteristic: LPC2131 is 16/32 ARM7TDMI-STM CPU that real-time simulation and tracking are supported based on one, and with 32k and The high speed flash storage of 512kB insertion, the memory interface of 128 bit widths and unique accelerating structure enable 32 codes It is enough to be run at maximum clock rate 60MHz;In-system programming/in-service units are realized by boot load module in piece (ISP/IAP).Single sector or full wafer erasing time are 400ms.256 byte line programming times are 1ms; RT and Embedded Trace interface carry out debugging in real time and high speed to code by RealMonitorTM software in piece and track;1 (LPC2131) or the A/D converter on 2 (LPC2138) 10,8 tunnels 16 tunnel simulation inputs, are provided altogether, when the conversion in each channel Between down to 2.44u;1 10 D/A converters can produce different simulation outputs (being only applicable to LPC2138);2 32 Timer/counter (channel is compared on the capture of 4 tunnel of band and 4 tunnels), PWM unit (output of 6 tunnels) and house dog;Real-time clock has only Vertical power supply and clock, can greatly reduce power consumption in energy-saving mode;Multiple serial line interfaces, including 2 16C550 industry marks Quasi- UART, 2 High Speed I 2C interfaces (400kbit/s), SPITM and with buffer function and data length changeable SSP;Vector interrupt controller can configure priority and vector address;In small-sized LQFP64 encapsulation comprising up to 47 general purpose Is/ O mouthfuls (5V voltage can be born);Up to 9 edges or the external interrupt pin of level triggers;Pass through (the setting of 100us of PLL in piece Time) the CPU operation frequency for being up to 60MHz can be achieved;Crystal oscillator frequency range in piece:1~30MHz;Low-power consumption mode:It is idle And power down;Power consumption can be optimized by enable/forbidding external function and Peripheral clock to divide individually;It will be handled by external interrupt Device wakes up from power-down mode;Single supply has electrification reset (POR) and detection of power loss (BOD) circuit, CPU operation voltage model It encloses:3.0V~3.6V (± 10 ﹪ of 3.3V), the I/O mouthfuls of voltages that can bear 5V.
The mainboard of the power circuit of master board is multi-group power power supply, and wherein conductivity module operating voltage is 9V, rudder Machine is 6V, and single-chip microcontroller or CPU operating voltage are 3.3V, and battery supply inputs normal voltage 24V via interface J4, steady by switching Then power supply pressure stabilizing is obtained 3.3V voltage by SPX1117M-3.3 by power supply pressure stabilizing to 5V by depressor LM2575-5;24V passes through 3.8V voltage is obtained after LM2576-ADJ, obtains 12V voltage through LM7812.The voltage stabilizing chip of design 5V power circuit is on mainboard LM2575-5 switching power source chip.The 24V power supply of input passes through after filter capacitor C9, C10 through anti-reverse diode IN5819 LM2575-5 obtains 5V voltage design, as shown in Figure 2.The voltage stabilizing chip for designing 12V power circuit is LM7812.The 24V of input Power supply obtains 12V voltage, as shown in Figure 3 through anti-reverse diode IN5819 after LM7812.As shown in Fig. 4, LDO chip is adopted With SPX1117M-3.3, feature is that output electric current is big, and output voltage precision is high, and stability is high, due to LPC2131 and LPC2138 microcontroller has independent analog power and simulation ground pin, in order to reduce noise and error probability, analog power It should be isolated with digital power, system power supply circuit realizes isolated from power using the inductance L3 and L4 of 10uH.SPX1117 series For LDO chip output current up to 800mA, the precision of output voltage also has current limit and Thermal protection function within ± 1% Energy.When use its output end need one at least the capacitor of 10uF come improve 8 state of wink response and stability.Due to ARM chip At a high speed, low-power consumption and low-work voltage cause its noise margin low, and to the ripple of power supply, transient response performance, source is steady always It is qualitative can power supply reliability etc. it is various require it is higher.The reset circuit of robot mainboard uses the power supply prison stored with I2C Chip CAT1025JI-30 is controlled, the reliability of system, reset circuit are improved.
Present apparatus sensor, which mainly uses can detecte, judges pure water, distillation water, tap water, general river water etc. Conductivity sensor.The inverse of resistivity is conductivity, the ρ of σ=1/.It specializes, the measurement temperature of conductivity is normal temperature (25℃).Conductivity has very big correlation with temperature, is the principal element for influencing conductivity.The conductivity of metal is with temperature Increase and reduce.The conductivity of semiconductor increases with increasing for temperature.In one section of temperature codomain, conductivity can be by It is approximately directly proportional to temperature.In order to which substance to be compared is in the conductivity of different temperatures situation, it is necessary to set a common ginseng Examine temperature.The correlation of conductivity and temperature, can be expressed as often, slope of the conductivity to upper temperature profile.There are also be exactly Doping level, the doping level of solid-state semiconductor will cause the very big variation of conductivity.Increasing doping level will cause high conductance Rate.The conductivity height of aqueous solution depends upon its concentration for including solute salt or other chemical impurities that can be decomposed into electrolyte. The conductivity of water sample is measurement water containing salt component, the important indicator containing ion component, impure ingredient etc..Water is purer Only, conductivity is lower (resistivity is higher).The conductivity of water is noted down often with specific conductance;Specific conductance is water in 25 DEG C of temperature The conductivity of degree.The measuring principle of conductivity is will to be parallel to each other and distance is two pieces of pole plates (or cylinder electrode) of fixed value L, Be put into detected solution, the both ends of pole plate plus certain potential (in order to avoid solution electrolysis, usually sine voltage, 1~3kHz of frequency).Then pass through conductance between conductivity gauge measuring pad.The measurement of conductivity needs to understand fully two aspects.One is The conductance of solution, the other is in solution 1/A geometrical relationship.Conductance can be obtained by the measurement of electric current, voltage.This survey Amount principle is applied in current directly display in measuring instrumentss.
And K=L/A
Effective pole plate of A --- measuring electrode;
The distance of L --- two-plate;
This value is then referred to as electrode constant.There are in the case where uniform electric field between electrode, electrode constant can pass through Geometric dimension calculates.When two areas be 1cm rectangular pole plate, between be separated by 1cm composition electrode when, the constant K=of this electrode 1cm-1.If measuring electric conductivity value G=1000 μ s, the conductivity K=1000 μ s/cm of detected solution to electrode with this.General feelings Under condition, electrode constant must be determined with standard solution.Standard solution is generally all using KCl solution this is because the electricity of KCl It is highly stable at the different temperature and concentration levels of conductance, accurately.The KCl solution of 0.1mol/l conductivity at 25 DEG C is 12.88ms/cm.Itself the result shows that:Variation in different water quality has a variation in the nearly Europe 1M, the variable quantity of electric current very little we The parameter of conductance electrode is detected using common balanced bridge.If RX is conductance electrode impedance variation amount.As shown in Figure 5.
Its experimental facilities:One piece of control panel, 12V DC voltage one, one, multimeter, voltage display instrument one, cup 3 It is a.Experiment condition:Room temperature, normal pressure.
As a result:
Water sample Conductivity output voltage
Drinking water 1 0.748V
Drinking water 2 0.736V
Drinking water 3 0.742V
Tap water 1 1.262V
Tap water 2 1.258V
Tap water 3 1.265V
Contaminant water 1 2.133V
Contaminant water 2 2.527V
It is obtained through experimental data:Identical in temperature, under normal pressure, conductivity output voltage is close linear with the variation of water quality. When water body is contaminated, voltage that the voltage of conductivity output voltage significantly greater than exports under normal circumstances.Therefore, with measurement water Conductivity have scientific basis to monitor water quality.By consulting the actual conditions detected in national water standard and experiment, The good general conductivity of water quality is below 1.280V, once conductivity is more than 1.280V, does not then meet safe standard for drinking.For This, it be more than 1.280V is alarm threshold that this system, which need to set conductivity, while device starts, and cuts off the water supply.
This system device is reequiped using common tap oneself and in such a way that steering engine combines, and the control at water source is carried out, It, as long as being able to achieve the function of water source control, can be only limitted to used in research experiment described in sheet depending on actual installation situation, It is not set forth in detail.With tap by water valve (experiment switch), torsion is 11N or so.Water valve is controlled using steering engine, this Steering engine torsion is 3.2KG/CM.In general, steering engine is mainly made of following components, and steering wheel, train of reduction gears, position are anti- Present potentiometer 5k, direct current generator, electronic control panel etc..Its working principle is that:Electronic control panel receives the control from signal wire Signal controls direct current generator rotation, and direct current generator drives series of gears group, output steering wheel is driven to after deceleration.The output of steering engine What axis and position feedback potentiometer were connected to, position feedback potentiometer is driven while steering wheel rotates, potentiometer will export one Voltage signal is fed back to electronic control panel, then electronic control panel according to position determine motor rotation direction and Speed, to reach target stopping.The basic structure of steering engine:Such as motor just have brush and it is brushless, gear have plastics with Point of metal, output shaft are divided into sliding and rolling, and shell is divided into plastics and aluminium alloy, speed be divided into it is quick at a slow speed, Volume is divided into large, medium and small three kinds etc., and combination is different, and price is also multifarious.For example, its medium and small steering engine is commonly referred to as micro- rudder, It is medium-sized under conditions of same material more than one times, metal gear is plastic gear more than one times.Inhomogeneity is selected as needed Type.The input line of steering engine shares three, and it is power supply line that red is intermediate, and one side black is ground wire, this both threads gives steering engine to provide The most basic energy guarantees that the mainly rotation of motor consumes.Specification that there are two types of power supplys, first is that 4.8V, first is that 6.0V, right respectively Different torque standards is answered, i.e. output torque is different, and 6.0V is corresponding to want larger, specifically sees application conditions;In addition single line It is control signal wire, the generally white of Futaba, the generally orange colour of JR.It will also be noted that a bit, SANWA's is certain The steering engine lead power supply line of model is intermediate on side, needs to recognize.But remember that red is power supply, black is ground wire, one As will not get wrong.The control signal of steering engine be the period be 20ms pulsewidth modulation (PWM) signal, wherein pulse width from The position of 0.5ms-2.5ms, corresponding steering wheel are 0-180 degree, are changed linearly.That is, providing it with certain arteries and veins Width, its output shaft remain in a corresponding angle, and no matter how extraneous torque changes, until providing it with one The pulse signal of a other width, it can just change in output angle to new corresponding position.There is a benchmark inside steering engine Circuit, generates period 20ms, and the reference signal of width 1.5ms has a comparator, by external signal compared with reference signal Compared with direction and size being judged, to generate the turn signal of motor.It can be seen that steering engine is a kind of driving of position servo Device, slewing area is no more than 180 degree, suitable in those need angle constantly to change and can keep driving.Analogy Say the joint of robot, rudder face of aircraft etc..
Size (Dimensions):40.4×19.8×36.0mm
Weight (Weight):37.2g
Operating rate (Operating speed):0.23sec/60°(4.8V),0.19sec/60°(6.0V)
Output torque (Output torque):3.2kg.cm (4.8V), 4.1kg.cm (6.0V)
Steering engine has the characteristics that following some simultaneously:Volume compact is easily installed;Output torque is big, and stability is good;Control letter It is single, it is convenient for and digital display circuit interface.Exactly because steering engine has many good qualities, so, it is not only applied only in model plane movement now, Various electronic products are had spread over, using also more and more extensive in robot control.Steering engine uses micro- single-chip microcontroller control System:The control signal of exactly steering engine is a pulse-width signal, so very convenient and digital display circuit carries out interface.As long as can produce The digital device of the control signal of raw standard may serve to control steering engine, analogy PLC, single-chip microcontroller etc..It is described herein to utilize 51 The method that series monolithic generates the control signal of steering engine to be controlled, programming language C51.Single-chip microcontroller is not control flaps Why the best way of machine introduces this method, for no other reason than that being realized when research with 2051, but is not detailed, only does It briefly introduces, as long as whatsoever method is able to achieve the technical program.16 internal counters there are two 2051, we The pulse signal of period 20ms is just generated with it, as needed, changes output pulse width.Basic ideas (please compare following as follows Program):Crystal oscillator frequency is 12M, and 2,051 1 clock cycle are 12 crystal oscillator periods, exactly 1/1000ms, and counter is every It is counted once every 1/1000ms.By taking counter 1 as an example, the initial value of pulsewidth is first set, 1.5ms is initially in program, is followed in for It can be changed at any time by changing a value in ring, then set counter and count initial value as a, it is a high position that juxtaposition, which exports p12,. At the end of counting, it is exactly 1 using1 of void timer0 (void) interrupt that flip-flop number, which overflows interrupt function, In subfunction, changing output p12 is reverse phase (jumping at this time is low level), is subtracting high-order use with 20000 (representing the 20ms period) Time a, be exactly the time of this week interim low level, c=20000-a, and set counter initial value at this time as c, until timing Device generates spilling again and interrupts, and repeats a upper process.
Solar battery can be selected in this power supply device.Solar battery is that a pair of of light has response and can convert light energy into electricity The device of power.The material of photovoltaic effect can be generated there are many planting, such as:Monocrystalline silicon, polysilicon, amorphous silicon, GaAs, selenium indium copper Deng.Their electricity generating principle is essentially identical, and light power generation process is now described by taking crystal as an example.P-type crystal silicon can obtain N through overdoping phosphorus Type silicon forms P-N junction.When light irradiates solar battery surface, a part of photon is absorbed by silicon materials;The energy of photon passes Silicon atom has been passed, has made electronics that transition have occurred, has become free electron and gathers in P-N junction two sides and form potential difference, has worked as outside When connecting circuit, under the action of 14 voltage, it will there is electric current to flow through external circuit and generate certain output power.This mistake The essence of journey is the process that photon energy is converted into electric energy.
Assembling and installation:
Assembling:Mounting flange, ring flange are mounted on steering engine at water tap, steering engine is fixed on sink, and with Master board is connected, master board is mounted on sink surface and is connected with sensor, sensor electrode is installed on sink side just In detection water quality.
Installation:The present apparatus has one water outlet of a water inlet, is installed on the main valve of household water.
For the effect of testing instruments, compared provided with three groups of experiments
Experiment one:Pure water flow detection
Method:It takes one barrel of pure water to flow it through device, sees the reaction of device;
As a result:Device is reactionless;
Explanation:Contamination-free in pure water, conductivity is low, and sensor is reactionless.
Experiment two:Ordinary tap water flow detection
Method:One barrel of water is taken in running water pipe, flows it through device;
As a result:Device is reactionless;
Experimental data:Water sample send laboratory inspection, and measuring conductivity is 1.267V;
Explanation:This tap water is cleaner.Meet safety when drink condition, device not will call the police.
Experiment three:Contaminated water flowing detection
Method:One barrel of dirty water is taken into pond, flows it through device, while being sealed one bottle up for safekeeping and being sent lab analysis;
As a result:Device starting, water valve is automatically closed, while buzzer loudly issues alarm.
Experimental data:The water sample fetched is tested and analyzed in laboratory, discovery conductivity is 2.823V;
Explanation:When water pollutant is exceeded, when not meeting safety and drinking condition, the present apparatus can flexibly start;
It tests in summary, conclusion is:The present apparatus can be good at realizing the real-time detection to tap water.Once water quality is super Mark, device automatic alarm and will cut off water supply, and resident can adjust with water, realize to residents ' health, safety problem Guarantee.
Finally, herein it is further proposed that selecting conductivity why to detect household water:It is detection in initial experiment Microorganism in the tap water of household water, but the microorganism detection method in tap water is as follows:
Viable bacteria counting method:Bacterium solution to be measured is subjected to gradient dilution, the dilution bacterium solution of certain volume and suitable solid is taken to train It supports base uniformly to mix before solidification, or bacterium solution is coated in the solid medium tablets solidified.After heat insulating culture, plate is used For the clump count of upper appearance multiplied by bacterium solution dilution, can calculate original bacteria liquid contains bacterium number.Generally to occur on the plate of diameter 9cm 50-500 bacterium colony is advisable.But method is more troublesome, and operator need to have masterful technique.The method of plate culture count can not only obtain Viable bacteria contains bacterium number in bacterium solution out, and the bacterium in bacterium solution has been carried out first separation culture simultaneously, obtains monoclonal.
Above method is very complicated, and equipment is also expensive, and the time is long, and can not on-line checking.So determining pure using detecting Common conductivity meter carries out on-line checking household water in water.
Safety drinking water detecting and controlling system has huge potential market, can be widely applied to industry and civilian neck Domain.The especially parts such as water supply, food, chemical industry, pharmacy.It slightly improves, it may also be used for food and the work such as gutter oil, regeneration machine oil The detection of industry safety.
The above is only the preferred embodiment of the utility model only, is not intended to limit the utility model, all at this Made any modifications, equivalent replacements, and improvements etc., should be included in the utility model within the spirit and principle of utility model Protection scope within.

Claims (5)

1. a kind of safe drinking water monitor control system, it is characterised in that:Including master board, sensor, Automatic water valve, warning Device and power supply device, the master board are separately connected sensor, Automatic water valve, alarming device and power supply device, the biography Sensor is water quality detection sensor, and the Automatic water valve includes steering engine and water valve, and steering engine is described for the automatic control to water valve Steering engine is mainly made of steering wheel, train of reduction gears, position feedback potentiometer 5k, direct current generator, electronic control panel, the electronics control Making sheet connects direct current generator, and direct current generator connects train of reduction gears, and train of reduction gears connects steering wheel and position feedback potentiometer 5k, The position feedback potentiometer 5k connection electronic control panel is used for feedback signal, and the master board includes single-chip microcontroller and power supply Circuit, the power circuit connect power supply device, and power circuit is respectively that single-chip microcontroller, steering engine, sensor and alarming device are powered, The power circuit includes diode D2, diode D3, LED light, capacitor C9, capacitor C10, capacitor C11, capacitor C12, inductance L2, resistance and switching regulator, the diode D2 are anti-reverse diode, and the capacitor C9 and capacitor C10 are filtered electrical Hold, the anode of the anode connection power supply device output interface of the diode D2, it is steady that the cathode of diode D2 is separately connected switch The positive terminal of the input terminal of depressor, the positive terminal of capacitor C9 and capacitor C10, the output end of the switching regulator are separately connected electricity Feel one end of L2 and the cathode of diode D3, the other end of inductance L2 is being separately connected the positive terminal of capacitor C11, capacitor C12 just Extreme and switching regulator the port R, one end of the port the R connection resistance of switching regulator, the other end of resistance connect LED light Anode, the cathode of the LED light, the negative pole end of capacitor C12, the negative pole end of capacitor C11, the anode of diode D3, capacitor C10 Negative pole end, capacitor C9 negative pole end and power supply device output interface cathode simultaneously connection switch voltage-stablizer the end OFF/ON Mouthful, the grounding ports connection port OFF/ON of the switching regulator is simultaneously grounded.
2. safe drinking water monitor control system according to claim 1, it is characterised in that:The R of the switching regulator Port is connected with system power supply circuit, and system power supply circuit includes SPX1117M-3.3 voltage-stablizer, capacitor C13, inductance L3, electrolysis Capacitor C15, inductance L4 and capacitor 16, the port R of the switching regulator are separately connected the input of SPX1117M-3.3 voltage-stablizer Two output ends of the anode at end and capacitor C13, the SPX1117M-3.3 voltage-stablizer are separately connected electrolytic capacitor C15's simultaneously One end of anode and inductance L3, the anode of the other end connection capacitor C16 of inductance L3, the cathode connection inductance L4's of capacitor C16 One end, the other end connection of inductance L4, the cathode of the cathode of electrolytic capacitor C15 and capacitor C13 connect SPX1117M-3.3 simultaneously The ground terminal of voltage-stablizer and ground connection.
3. safe drinking water monitor control system according to claim 1, it is characterised in that:The single-chip microcontroller uses LPC2131。
4. safe drinking water monitor control system according to claim 1, it is characterised in that:The alarming device uses sound Light crossing-signal.
5. safe drinking water monitor control system according to claim 1, it is characterised in that:It further include LED display, LED display connects master board.
CN201820339707.9U 2018-03-12 2018-03-12 Safe drinking water monitor control system Expired - Fee Related CN208172589U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820339707.9U CN208172589U (en) 2018-03-12 2018-03-12 Safe drinking water monitor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820339707.9U CN208172589U (en) 2018-03-12 2018-03-12 Safe drinking water monitor control system

Publications (1)

Publication Number Publication Date
CN208172589U true CN208172589U (en) 2018-11-30

Family

ID=64374696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820339707.9U Expired - Fee Related CN208172589U (en) 2018-03-12 2018-03-12 Safe drinking water monitor control system

Country Status (1)

Country Link
CN (1) CN208172589U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802566A (en) * 2019-01-03 2019-05-24 杭州电子科技大学 A kind of direct current biasing module for Medical Devices cloud system
CN110032091A (en) * 2019-04-17 2019-07-19 国家康复辅具研究中心 Intelligent walk helper control circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802566A (en) * 2019-01-03 2019-05-24 杭州电子科技大学 A kind of direct current biasing module for Medical Devices cloud system
CN110032091A (en) * 2019-04-17 2019-07-19 国家康复辅具研究中心 Intelligent walk helper control circuit
CN110032091B (en) * 2019-04-17 2021-04-13 国家康复辅具研究中心 Intelligent walking aid control circuit

Similar Documents

Publication Publication Date Title
CN104700506B (en) Safety cut-off type remote-control intelligent mass flow gas meter, flow meter and its management system
CN204166424U (en) Simple intelligent High-accuracy direct current electronic load
CN208172589U (en) Safe drinking water monitor control system
CN105605790A (en) Interactive gas water heater controller of temperature difference power generation terminal
CN105432428A (en) ARM-based water-saving irrigation intelligent system and implementation method thereof
CN106082404A (en) A kind of hydrogen manufacturing generating means drive circuit
CN205749513U (en) A kind of transformer insulation oil on-line monitoring system based on PIC single chip microcomputer
CN203561906U (en) Microenvironment intelligent control system
CN206072476U (en) A kind of valve control device adjusted for fluid flow
CN201489335U (en) Intelligent control circuit system of water dispenser
CN219016825U (en) Internet of things control circuit for water purifier
CN106191906B (en) A kind of automatically controlled pressure release device for producing hydrogen
CN107830224A (en) A kind of water quality monitoring valve for sewage disposal system exit
CN107359690A (en) Control device based on maximum photovoltaic power point tracking
CN204374703U (en) A kind of intelligent controlling device being applied to socket
CN103267317A (en) Energy-saving heat flow control system
CN102038968B (en) Indoor air purifier capable of controlling concentration of pollutants and purifying method thereof
CN207124478U (en) Control device based on maximum photovoltaic power point tracking
CN207366542U (en) Water quality monitoring system based on big data
CN204705901U (en) A kind of solar energy automatic tracking control device
CN206399481U (en) Automatic water quality monitoring system
CN209193688U (en) A kind of moving emergency Multifunctional water purifying device with big data
CN209149355U (en) Single-pass valve electric device intelligent observing and controlling system based on wind light mutual complementing
CN205403971U (en) Control by temperature change motor adjusting device
CN102664390A (en) Digital general protection observing and controlling device

Legal Events

Date Code Title Description
GR01 Patent grant
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: 20181130

Termination date: 20190312