Summary of the invention
The objective of the invention is at the above-mentioned shortcoming that exists in the prior art, a kind of complete moving SDI sludge density index (SDI) mensuration and tester thereof are provided.
Technical scheme of the present invention is that former water is regulated feed pressure through ball valve and pressure-regulating valve is 30psi, through 0.45 μ m micro-filtrate membrane filtration, flow into electromagnetic flow transmitter (including electromagnetic flow sensor), and be per 200 pulse/premium on currency by four photosensitive operating key strobe pulse equivalents on its dial plate, at this moment promptly, whenever flow through 200 electric pulses of 1 liter of former water output of electromagnetic flow transmitter, 4-20mA analog signals on its electric impulse signal or its electromagnetic flow transmitter output terminal is sent into single-chip microcomputer, single-chip microcomputer was gathered the pulsatile once signal every 5 minutes, 15 minutes circulation primary, record is under the 30psi feed pressure, 0.45 the μ m micro-filtrate membrane filtration 500ml needed time of former water, and deposit ram in slice in, and calculate SDI, send into display and show; Its SDI tester comprises ball valve, pressure-regulating valve, tensimeter, vent valve, 0.45 μ m microfiltration membranes, it is characterized in that: also comprise electromagnetic flow transmitter (including electromagnetic flow sensor), the microcomputer single-chip microcomputer that connects its electromagnetic flow transmitter electric pulse output terminal, the keyboard that connects its single-chip microcomputer man-machine conversation mouth that is communicated with its filtering membrane outlet, the display and " watchdog circuit-WATCHDOG " that be connected the single-chip microcomputer mouth that connects its single-chip data delivery outlet.
Under identical 30psi feed pressure, with a certain amount of needed time of former water of 0.45 μ m micro-filtrate membrane filtration be different, the time that promptly sends 200 pulses is long more, SDI is high more; Otherwise SDI is low more.
The invention has the beneficial effects as follows can be for water treatment field provides full-automatic SDI index measurement method and tester thereof, and the SDI that can time saving and energy savingly finish sewage measures, to promote the extensive utilization of resurgent water, conserve water resource.
Embodiment
With reference to Fig. 1 concrete structure of tester of the present invention as can be known, comprise ball valve, pressure-regulating valve, tensimeter, vent valve, 0.45 μ m microfiltration membranes, it is characterized in that: also comprise electromagnetic flow transmitter (the including electromagnetic flow sensor) U1 that is communicated with its filtering membrane outlet, by resistance R 1 be connected with R2 its electromagnetic flow transmitter electric pulse output terminal microcomputer single-chip microcomputer U2, connect its single-chip microcomputer man-machine conversation mouth keyboard U3, connect the display U4 and " watchdog circuit-WATCHDOG " U5 that is connected the single-chip microcomputer mouth of its single-chip data delivery outlet P1.
U1 can select the 7ME5033 type electromagnetic flow transmitter (built-in electromagnetic flow sensor) of SIEMENS company for use.
U2 can select the MCS-51 of atmel corp series monolithic 89C52 for use.
U3 can select and turn over button/DOWN, turn over button/UP and start button/START three button keyboards for use.
U4 can select 128 * 64 liquid crystal dot matrix module display screen displays of OCMJ company for use.
U5 can select the IMP831L watchdog circuit for use.
With reference to Fig. 2 and Fig. 3 as can be known U2 mouth P2.7 (A15) 25 pin be connected and turn over button/DOWN, P2.6 (A14) 24 pin connect liquid crystal display and turn over button/UP, are connected start button/START with P2.5 (A13) 23 pin.
U2 mouth PO.7, input port/INT1, reset/RST is connected watchdog circuit LMP813L with ground/GND.U2 mouth P1.5 pin 1, P1.6 pin 2, P1.7 pin 3, P1.4 pin 44, P1.3 pin 43, P1.2 pin 42, P1.1 pin 41, P1.0 pin 40, P2.2, P2.1, P2.0 are connected U4 with P2.3O.
The electric impulse signal uo=12V of above-mentioned electromagnetic flow transmitter output terminal is 5V through 12K resistance R 1 and R2 dividing potential drop, receives on the input/INT1 pin of 89C52 single-chip microcomputer.
U2VCC power supply 38 pin and EANPP/29 pin connect+5V.
Keyboard is system's control knob, and with being connected as mentioned above of single card microcomputer mouth, start button/START, liquid crystal display are turned over and turned over button/DOWN under button/UP and the liquid crystal display page or leaf and connect+5V (Fig. 3) by 3 1K pull-up resistor R10, R17 and R18 respectively.When button was not all pressed, P2.5, P2.6, P2.7 were high level; After any one button was pressed, corresponding single-chip microcomputer mouth was a low level.
The manual reset of watchdog circuit IMP831L/MR mouth pin 1 connects a hand-reset button and connects house dog output/WD (WATCHDOG) O pin 8 by a diode D1, power supply/VCC pin 2 connects+5V, ground/GND of ground/GND pin 3 ground connection and 89C52, output/PFO pin 5 connects input/INT pin 1 of 89C52, house dog input/WDI pin 6 connects output/PO.7 pin of 89C52, reset/the RESET pin connects the RST pin of 89C52.
Watchdog circuit is one to be independent of the monostable parts outside the U2, and available monostable circuit or the counter that carries impulse source constitute.Just export a pulse during U2 operate as normal at set intervals, to temporary stable state, when the duration of temporary stable state was designed longlyer than the triggered time of U2, stable state just can not be got back to by the monostable system with monostable system triggers.The signal of exporting when utilizing it to return stable state just can make U2 withdraw from endless loop as reset signal.
Do not detect the WDI signal that U2 sends here in 1.6S, the IMP831 timer internal will make house dog output/WDO pin be in low level state.This pin can make RESET output high level by the MR pin, and the single-chip microcomputer that resets.
If WDI is unsettled or be connected to a three state circuit, the function of house dog then is under an embargo, if promptly by clear 0 and WDI is unsettled or be connected to a three state circuit, the function of house dog then is under an embargo, promptly by clear 0 and do not count.If generation reset signal, WatchDog Timer also can be under an embargo.When invalid and WDI input detects the high level that is as short as 50ns or low transition when reset signal, WatchDog Timer will begin the counting of 1.6s.Reset WatchDog Timer and start the once new count cycle of the saltus step meeting of WDI end.
128 * 64 liquid crystal dot matrix module display screens of OCMJ company can directly link to each other with eight bit microprocessors, can directly carry out row, column and drive.So not only can display digit information (can show 30 groups of 90 data, divide 30 pages of demonstrations), and can Chinese display information, friendly interface has strengthened interactive function.
1,2,3 pin of its module display screen connect+5V and power supply ground, 4,5,6 pin meet P20, P21 and the P22 of U2 respectively, 7,8,9,10 and 11 pin connect 44,43,42,41 and 40 pin of U2 respectively, 12,13 and 14 pin meet 1,2 and 3 of U2 respectively, 15 pin meet the P23 of CPU, 16 pin are unsettled, and 17 and 18 pin meet a 10K variable resistor R3.
Main program flow of the present invention: open the device power supply (DPS) switch, monolithic system is at first carried out initialization, initialization is finished, system all normal after, enter the waiting status of preliminary work, if all external conditions all are ready to, start the start key, system begins flow is added up, be added to 500 milliliters after, write down the used time, after 15 minutes, record is added to 500 milliliters of required times once more, draws the SDI value by system-computed then, delivering to liquid crystal display shows, can then get back to the flow process leading portion as not inquiring about this moment by the numerical value of storage before key is inquired about up and down, waits for new beginning once.