A kind of integrated control device for preventing circulating line leakage
Technical field
The present invention relates to a kind of integrated control device for being used to prevent circulating line leakage, belong to the model that circulating line controls
Farmland.
Background technology
Hot duct that daily life resident uses, the section of tubing of industrial application belong to circulating line, can convey
Other liquid such as hot water, cold water and gas.During the use of circulating line, because of the reason such as service life, the temperature difference be huge,
Be likely to occur the leakage problem of circulating line, the optimal settling mode that pipe leakage occurs be exactly it is timely find and alarm,
Pipeline is closed in time, prevents the expansion of loss.What particularly resident lived is substantially building, is let out once hot duct occurs
Leakage, the life of resident downstairs and actively loss loss can be related to, can also be related to the deactivation and economic loss of elevator.Industrial cycle pipe
Loss caused by road leakage may cause serious production accident with regard to self-evident when serious.Therefore it is badly in need of a kind of energy now
Enough prevent the integrated control device of circulating line leakage.
The content of the invention
It is an object of the invention to provide one kind can automatic detection circulating line leak and can realize circulating line leakage
Shi Zidong closes circulating line and provides the integrated control device of alarm.
The technical scheme that just uses to achieve these goals of the present invention for:A kind of prevention circulating line leakage
Integrated control device includes power module, integration module, data acquisition module, valve control module, quartz (controlled) oscillator;
The integration module is STM8S103F3 single-chip microcomputers, 6 to 20 pins is provided with, for connecting integrated control device
Each module;
The power module provides 5V power supplys, including power module socket, power module for each module of integrated control device
Socket is provided with 2 pins, and power module socket pin 1 provides 5V power supplys, power module for each module of its integrated control device
Socket pin 2 is directly connected to circuit board digitally;
The data acquisition module is used for the flow or flow velocity for gathering up-hill line and downstream pip, and transfers data to
Integration module, including data acquisition module block socket, up-hill line data acquisition unit, downstream pip data acquisition unit, data acquisition
Modular jack is provided with 8 pins, and data acquisition module block socket pin 1, data acquisition module block socket pin 2 carry with power module
The 5V power supplys connection of confession, data acquisition module block socket pin 3 is connected with integration module pin 17, data acquisition module block socket pin
3 and power module 5V power supplys are connected by up-hill line data acquisition unit, data acquisition module block socket pin 4 connects with integration module
Pin 1 connects, data acquisition module block socket pin 4 and pass through downstream pip data acquisition unit connect power module 5V power supplys, data
Acquisition module socket pin 5, the connecting valve control module of data acquisition module block socket pin 6, control up-hill line and down pipe
The closure of road electrically operated valve, data acquisition module block socket pin 7, data acquisition module block socket pin 8 connect circuit board digitally;
The valve control module is used for the motor-driven valve for controlling up-hill line and downstream pip, including metal oxide is partly led
Body, valve control module diode I, valve control module diode I, valve control module electric capacity I, valve control module electricity
Hold II, metal-oxide semiconductor (MOS) pin 1 connects integration module pin 19, metal-oxide semiconductor (MOS) pin 1 and passes through valve
Digitally, metal-oxide semiconductor (MOS) pin 2 connects circuit board digitally to control module electric capacity II connections circuit board, metal oxidation
Thing semiconductor pin 3 connects data acquisition module pin 6, metal-oxide semiconductor (MOS) pin 3 and passes through valve control module two
Pole pipe II connection data acquisition modules pin 5, metal-oxide semiconductor (MOS) pin 3 are simultaneously connected by valve control module diode I
Connect circuit board digitally, metal-oxide semiconductor (MOS) pin 3 and by the numeral of valve control module electric capacity I connection circuit boards
Ground;
The metal-oxide semiconductor (MOS) is U2MOS pipes 2N7002;
Described quartz (controlled) oscillator one end is connected with integration module pin 5, and the other end is connected with integration module pin 6, quartz
Quartz (controlled) oscillator capacitance connection circuit board respectively hang oneself digitally in oscillator both ends.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:A kind of prevention follows
The integrated control device of ring pipe leakage also includes power lights, controls to adjust module, and the power lights, control and regulation module include
Power lights, the illogical display lamp of modular jack, power on display lamp, power supply is controlled to adjust, power lights, control to adjust modular jack
5 pins are provided with, power lights, control and regulation modular jack pin 1 connect through power on display lamp and integration module pin 14
Connect, the 5V power supplys that power lights, control and regulation modular jack pin 2 provide with power module are connected, and power lights, control to adjust module
Socket pin 3 is connected through the logical display lamp of power supply with integration module pin 15, power lights, control to adjust modular jack pin 5 and
The digitally connection of circuit board.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:A kind of prevention follows
The integrated control device of ring pipe leakage also includes alarm module, the alarm module include alarm module triode, alarm,
Alarm module resistance, alarm module triode one end are connected through alarm module resistance with integration module pin 13, alarm module three
Pole pipe one end is digitally connected with circuit board, and alarm module triode one end is connected with alarm, alarm other end connection electricity
The 5V power supplys that source module provides.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:A kind of prevention follows
The integrated control device of ring pipe leakage also includes programming module, and the programming module includes programming module socket, programming module
Socket is provided with 4 pins, and programming module socket pin 1 connects power module 5V power supplys, the connection collection of programming module socket pin 2
Into module pin 18, programming module socket pin 3 connects circuit board digitally, the integrated mould of the connection of programming module socket pin 4
Block pin 4.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The integration module connects
Through integration module electric capacity I connections circuit board digitally, integration module pin 8 is through integration module electric capacity II connection circuit boards for pin 9
Digitally, integration module pin 7 connects circuit board digitally.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The power module is also
Including power module diode and power module filter capacitor, power module socket pin 1 is it by power module diode
Each module of integrating device, which provides 5V power supplys and connects power module filter capacitor by power module diode, connects circuit board number
Word.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The Valve controlling mould
Block also includes valve control module resistance, and valve control module resistance one end is connected with metal-oxide semiconductor (MOS) pin 1, one end
Digitally it is connected with circuit board.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The power lights, control
Adjustment module processed also includes recording controller, power lights, controls to adjust modular jack pin 4 through recording controller I and power supply mould
The 5V power supplys connection that block provides, power lights, controls to adjust modular jack pin 4 and through recording controller II and integration module pin
3 connections.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The programming module is also
Including programming module electric capacity, programming module resistance, while integration module pin 4 is connected with programming module socket pin 4, and pass through
Programming module electric capacity is digitally connected with circuit board, and programmed module resistance is connected with the 5V power supplys that power module provides.
A kind of preferred scheme of integrated control device one for preventing circulating line leakage of the present invention:The power lights, control
Adjustment module processed also includes adjustment module electric capacity, and 3 adjusted module capacitance of integration module pin connection circuit board is digitally.
A kind of integrated control device for preventing circulating line leakage of the present invention, is to be provided by power supply for integrated circuit
5V power supplys, the flow or flow velocity of liquid or gas in integrated circuit acquisition up-hill line and downstream pip, when the two numerical value is more than
During setting value, integrated circuit controls up-hill line motor-driven valve and downstream pip motor-driven valve to make its closing respectively, and has integrated circuit
Control sends sound and light alarm.Integrated circuit is integrated with power input, data acquisition, Valve controlling, warning device, numerical value
The modules such as analysis.
The beneficial effects of the present invention are:
1st, a kind of integrated control device for preventing circulating line leakage of the present invention, you can provide 5V electricity by battery
Source, 5V power supplys can also be converted to by 220V or 380V, you can be practically applicable to the outdoor of non-transformer offer, family can also be used
Or industrial environment.
2nd, a kind of integrated control device for preventing circulating line leakage of the present invention, by liquid in circulating line or
Whether gas flow rate detection circulating line leaks, and controls up-hill line control valve and downstream pip control valve, inspection by circuit
Survey and leak sensitiveer, mechanism operation more flexibly, simply.
3rd, a kind of integrated control device for preventing circulating line leakage of the present invention, is provided with the up control of up-hill line
Valve and downstream pip down direction valve processed, when circulating line leaks, up-hill line and downstream pip can be simultaneously closed off,
It is allowed to be formed that pipeline is closed circuit, reduces the loss caused by leakage.
4th, a kind of integrated control device for preventing circulating line leakage of the present invention, structure is simple in construction, control behaviour
Facilitate, installation is easy, is easy to promote, is allowed to industrialization.
5th, a kind of integrated control device for preventing circulating line leakage of the present invention, is mounted with warning device, is sending out
While raw leakage, sound or light warning can be passed through.
6th, a kind of integrated control device high sensitivity for preventing circulating line leakage of the present invention, it is widely used, this
A kind of integrated control device of the described prevention circulating line leakage of invention can easily detect the stream of liquid or gas in pipeline
The change of speed or flow, so as to the supply of segment pipeline.
Brief description of the drawings
A kind of Fig. 1 integrated control device application sketches for preventing circulating line leakage of the present invention
A kind of Fig. 2 integrated control device connection sketches for preventing circulating line leakage of the present invention
In figure, SG- up-hill lines, SGJ- up-hill line metering devices, SGF- up-hill line motor-driven valves, XG- downstream pips,
XGJ- downstream pip metering devices, XGF- downstream pip motor-driven valves, JD- alarm devices, WD- external power supplys, WDK-- external power supplys
Switch, a kind of ZZ- integrated control devices for preventing circulating line leakage of the present invention;B1- integration modules, B11- integration modules
Pin 1, B13- integration modules pin 3, B14- integration modules pin 4, B15- integration modules pin 5, B16- integration module pins
6, B17- integration module pins 7, B18- integration modules pin 8, B19- integration modules pin 9, B113- integration modules pin 13,
B114- integration modules pin 14, B115- integration modules pin 15, B117- integration modules pin 17, B118- integration module pins
18, B119- integration module pins 19, A1- power module sockets, A11- power module sockets pin 1, A12- power module sockets
Pin 2, D1- power module diodes, C4- power module filter capacitors, A3- data acquisition module block sockets, A31- data acquisitions
Modular jack pin 1, A32- data acquisition module block sockets pin 2, A33- data acquisition module block sockets pin 3, A34- data are adopted
Collect modular jack pin 4, A35- data acquisition module block sockets pin 5, A36- data acquisition module block sockets pin 6, A37- data
Acquisition module socket pin 7, A38- data acquisition module block sockets pin 8, R3- up-hill line data acquisition units, R4- downstream pips
Data acquisition unit, B2- metal-oxide semiconductor (MOS)s, B21- metal-oxide semiconductor (MOS)s pin 1, B22- metal-oxide semiconductor (MOS)s
Pin 2, B23- metal-oxide semiconductor (MOS)s pin 3, D2- valve control module diode I, D3- valve control module diodes
II, C8- valve control module electric capacity I, C9- valve control module electric capacity II, Y- quartz (controlled) oscillator, C2- quartz (controlled) oscillator electric capacity
I, C3- quartz (controlled) oscillator electric capacity II, A4- power lights, modular jack is controlled to adjust, A41- power lights, control to adjust modular jack
Pin 1, A42- power lights, modular jack pin 2 is controlled to adjust, A43- power lights, control to adjust modular jack pin 3, A44-
Power lights, modular jack pin 4 is controlled to adjust, A45- power lights, control to adjust modular jack pin 5, R5- power on is shown
Lamp, the illogical display lamp of R6- power supplys, Q- alarm module triodes, LS- alarms, R2- alarm module resistance, A1- programming modules are inserted
Seat, A11- programming module sockets pin 1, A12- programming module sockets pin 2, A13-- programming module sockets pin 3, A14- are compiled
Journey modular jack pin 4, C5- integration module electric capacity I, C6- integration module electric capacity II, R9- valve control module resistance, R7- numbers
According to controller I, R8- recording controllers II, C1- programming module electric capacity, R1- programming module resistance, C7- adjustment module electric capacity,
GND- circuit boards are digitally.
Embodiment
Embodiment
A kind of integrated control device for preventing circulating line leakage, as shown in Fig. 2 being to be provided with each mould on circuit boards
Block.
Integrated control device includes power module, integration module, data acquisition module, valve control module, quartz oscillation
Device.
Integration module is provided with 6 to 20 pins, and (configuration in each module is different, and integration module is provided with different connect
Pin, partial ohmic, electric capacity can be omitted, therefore the pin of integration module is also reduced accordingly), for connecting integrated control device
Each module.The present embodiment integration module selects STM8S103F3 single-chip microcomputers, is provided with 20 pins, and pin 1 is PD4, and pin 2 is
PD5/TXD, pin 3 are PD6/RXD, and pin 4 is NRST, and pin 5 is PA1/OSCIN, and pin 6 is PA2/OSCOUT, and pin 7 is
GND, pin 8 are VCAP, and pin 9 is VCC, and pin 10 is PA3, and pin 11 is PB5/SDA, and pin 12 is PB4/SCL, pin 13
For PC3, pin 14 is PC4, and pin 15 is PC5/SCLK, and pin 16 is PC6/MOSI, and pin 17 is PC7/MISO, and pin 18 is
PD1/SWIM, pin 19 are PD2, and pin 20 is PD3, and untapped pin is not drawn into figure.
In order to ensure the stable operation of integration module, decoupling, filtering, integration module electric capacity I, integration module electricity can be installed additional
Hold II, integration module electric capacity I, integration module electric capacity II can not also be installed additional.To install additional, integration module pin 9B19 is through integrated
The digitally GND of module capacitance IC6 connection circuit boards, integration module pin 8B18 are through integration module electric capacity IIC5 connection circuit boards
Digitally GND, the digitally GND of integration module pin 7B17 connection circuit boards.
Power module provides 5V power supplys for each module of integrated control device, including power module socket A1, power module are inserted
Seat is provided with 2 pins, and power module socket pin 1A11 provides 5V power supplys, power module for each module of its integrated control device
Socket pin 2A12 is directly connected to circuit board digitally GND.For the stable operation of its power module, power module can be installed additional
Diode D1 and power module filter capacitor C4, power module diode D1 and power module filter capacitor C4 can also be not added with
Dress.To install additional, power module socket pin 1A11 provides 5V by power module diode D1 for each module of its integrating device
Power supply simultaneously passes through power module diode D1 connection power module filter capacitor C4 connections circuit board digitally GND.Power module
Diode D1 can also prevent reverse power connection.
Data acquisition module is used for the flow or flow velocity for gathering up-hill line SG and downstream pip XG, and transfers data to
Integration module, including data acquisition module block socket A3, up-hill line data acquisition unit R3, downstream pip data acquisition unit R4, number
Acquisition module socket is provided with 8 pins, data acquisition module block socket pin 1A31, data acquisition module block socket pin 2A32
The 5V power supplys provided with power module are connected, data acquisition module block socket pin 3A33 is connected with integration module pin 17B117,
Data acquisition module block socket pin 3A33 simultaneously passes through up-hill line data acquisition unit R3 connection power module 5V power supplys, data acquisition
Modular jack pin 4A34 is connected with integration module pin 1B11, data acquisition module block socket pin 4A34 and passes through downstream pip
Data acquisition unit R4 connection power module 5V power supplys, data acquisition module block socket pin 5A35, data acquisition module block socket pin
6A36 connecting valve control modules, control up-hill line motor-driven valve SGF and downstream pip motor-driven valve XGF closure, data acquisition
Modular jack pin 7A37, data acquisition module block socket pin 8A38 connections circuit board are digitally.
Valve control module is used for the motor-driven valve for controlling up-hill line and downstream pip, including metal-oxide semiconductor (MOS)
B2, valve control module diode ID2, valve control module diode I D3, valve control module electric capacity IC8, Valve controlling
Module capacitance IIC9, metal-oxide semiconductor (MOS) pin 1B21 connection integration module pins 19B119, metal-oxide semiconductor (MOS)
Pin 1B21 simultaneously passes through valve control module electric capacity IIC9 connections circuit board digitally GND, metal-oxide semiconductor (MOS) pin
2B22 connections circuit board digitally GND, metal-oxide semiconductor (MOS) pin 3B23 connection data acquisition module pins 6A36, metal
Oxide semiconductor pin 3B23 simultaneously passes through valve control module diode I D3 connection data acquisition module pins 5A35, metal
Oxide semiconductor pin 3B23 is simultaneously aoxidized by the digitally GND of valve control module diode ID2 connection circuit boards, metal
Thing semiconductor pin 3B23 simultaneously passes through the digitally GND of valve control module electric capacity IC8 connection circuit boards.Valve control module two
Pole pipe ID2, valve control module diode I D3 are used to prevent noise jamming when motor works.
In order to ensure the stable operation of valve control module, valve control module resistance R9 can be installed additional.Valve controlling mould
Block resistance R9 can not also be installed additional.To install additional, valve control module resistance R9 one end and metal-oxide semiconductor (MOS) pin
1B21 connections, one end is digitally connected GND with circuit board.
Described quartz (controlled) oscillator Y one end is connected with integration module pin 5B15, and the other end connects with integration module pin 6B16
Connect, quartz (controlled) oscillator both ends respectively through quartz (controlled) oscillator electric capacity IC2, quartz (controlled) oscillator electric capacity IIC3 connections circuit board digitally
GND.Quartz (controlled) oscillator Y is crystal oscillator, and the dominant frequency of work is provided for integration module, is also the working frequency of integration module, and quartz shakes
Swing device electric capacity IC2, quartz (controlled) oscillator electric capacity IIC3 be crystal oscillator work precondition, quartz (controlled) oscillator Y, quartz (controlled) oscillator electric capacity
After IC2, the IIC3 connections of quartz (controlled) oscillator electric capacity, it can be produced in integration module pin 5B15, integration module pin 6B16
11.0592MHz working frequency.
In order to which the diversified application of integrated control device can set programming module or power lights, control and regulation module, report
Alert module.According to practical application, if belonging to simple application, can program in advance, without install additional programming module or power lights,
Control to adjust module, alarm module;If complicated applications are, it is necessary to change when programming, it is necessary to install programming module or power supply additional
Lamp, control to adjust module, alarm module.
Power lights, control and regulation module include power lights, control to adjust modular jack A4, power on display lamp R5, electricity
Source does not lead to display lamp, and power lights, control and regulation modular jack are provided with 5 pins, power lights, control to adjust modular jack pin
1A41 is connected through power on display lamp R5 with integration module pin 14B114, power lights, controls to adjust modular jack pin
2A42 is connected with the 5V power supplys that power module provides, and power lights, is controlled to adjust modular jack pin 3A43 and is not held high office through power supply and shown
Lamp R6 is connected with integration module pin 15, power lights, the digitally connection for controlling to adjust modular jack pin 5A45 and circuit board
GND。
Power lights, control and regulation module are also provided with recording controller, power lights, control to adjust modular jack pin
4A44 is connected through recording controller IR7 with the 5V power supplys that power module provides, and power lights, controls to adjust modular jack pin 4A44
And it is connected through recording controller IIR8 with integration module pin 3B13.
For power lights, the stable operation of control and regulation module, adjustment module electric capacity C7 can also be set.Adjustment module electricity
Holding C7 can not install additional, and to install additional, the adjusted module capacitance C7 connections circuit boards of integration module pin 3B13 are digitally
GND。
Alarm module includes alarm module triode Q, alarm LS, alarm module resistance R2, alarm module triode Q mono-
End is connected through alarm module resistance with integration module pin 13B113, alarm module triode Q one end and circuit board digitally GND
Connection, alarm module triode Q one end are connected with alarm LS, the 5V electricity that alarm LS other ends connection power module provides
Source.
The programming module includes programming module socket A1, and programming module socket is provided with 4 pins, programming module socket
Pin 1A11 connection power module 5V power supplys, programming module socket pin 2A12 connection integration module pin 18B118, program mould
The digitally GND of block socket pin 3A13 connection circuit boards, programming module socket pin 4A14 connection integration module pins 4B14.
In order to ensure that the operation of programming module can install programming module electric capacity C1, programming module resistance R1 additional.Programming module electric capacity C1, compile
Journey module resistance R1, can not also be installed additional.To install additional, integration module pin 4B14 is connected with programming module socket pin 4A14
While, and digitally GND is connected programmed module capacitance C1 with circuit board, and programmed module resistance R1 carries with power module
The 5V power supplys connection of confession.
Using a kind of integrated control device for preventing circulating line leakage of the present invention, as shown in figure 1, circulating line
Up-hill line SG up-hill line metering device SGJ and up-hill line motor-driven valve SGF, the downstream pip XG of circulating line are installed
Downstream pip metering device XGJ and downstream pip motor-driven valve XGF are installed.Up-hill line metering device SGJ and downstream pip meter
Measure device XGJ and pass through data acquisition module block socket (data acquisition module block socket pin 3 and 4) and the ascending tube of data acquisition module
Track data collector connects with downstream pip data acquisition unit.Integrated control device passes through data acquisition module block socket pin 5 and 6
It is connected with up-hill line motor-driven valve SGF and downstream pip motor-driven valve XGF.The power supply mould that external power supply WD passes through integrated control device
Block socket connects, and external power supply WD can be that 220V power supplys can also be 380V power supplys, can also use dry cell etc. as collection
5V power supplys are provided into module.External power supply is provided with external power supply switch WDK.
When integrated control device works, press power switch, integrated control device normal boot-strap, at this moment alarm LS can ring
One sound (exporting high level 5V by integration module pin 13 controls alarm module triode ON to make alarm work), and electricity
Source connection display lamp R5 green lights are bright, and (exporting low level by integration module pin 14 makes power on display lamp R5 green lights
It is bright), prompt integrated control device to start working.After integrated control device is started working, once, pass through integration module within every 3 seconds
Pin 3 gathers the voltage that the recording controller R8 that adjustment module socket pin 4 connects is set and produces the leak threshold value of alarm and lead to
Cross the pin 17 of integration module, integration module the gathered data acquisition module of pin 1 up-hill line data acquisition unit, down pipe
The number of the trailing edge of the square wave of track data collector, obtain up-hill line and the square wave of downstream pip flow or flow sensor
The frequency of waveform, judge after being compared, if in 3 seconds, the frequency values of the square wave of up-hill line data acquisition unit subtract down
If the frequency values of the square wave of row pipe data collection device device are more than the threshold value set, then alarm is produced, otherwise then attonity, etc.
Treat the collection of next cycle;After integration module is by above motion detection to alarm, illustrate there has been leak now, first
Integration module pin 19 exports 5V high level control metal-oxide semiconductor (MOS), and (metal-oxide semiconductor (MOS) is managed using U2MOS
2N7002) turn on so that up-hill line and the conducting of downstream pip electrically operated valve power supply, electrically operated valve begin to shut off, blocked simultaneously
Up-hill line and downstream pip;Then integration module pin 14 exports 5V high level, and closing power on display lamp, (i.e. green light puts out
Go out);Integration module pin 15 exports low level, power supply access failure display lamp R6 (i.e. red light is lighted);Integration module pin 13 produces
The square wave that the raw cycle is 1s, control alarm produces alarm sound, untill artificially closing external power supply.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art in the technical scope of present disclosure, technique according to the invention scheme and its
Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.