A kind of fluid pipeline analogue system
The application is divisional application, and the original bill applying date is that application No. is 201410359095.6 on 07 25th, 2014
Patent name are as follows: a kind of fluid pipeline analogue system and method.
Technical field
The present invention relates to a kind of pipe simulating fields, in particular to a kind of to have real-time physical signal input/output function,
And the fluid pipeline analogue system of signaling interface and operation interface is respectively set by pipe-line system website.
Background technique
Currently, fluid pipeline analogue system and method mainly use two methods to realize.One is according to theory of similarity structure
The physical model for building pipeline and relevant device obtains correlation by the various dynamic processes of true physical simulation experiment pipeline
Flow, pressure signal.The construction of pipeline and relevant device that this method is related to and maintenance cost are higher, the land occupation face of equipment
Product is larger, and the actual condition that can be effectively simulated due to the limitation of pipeline, equipment and Experimental Flowing Object property, analogue system
Range is very limited.Another kind is the mathematical model using pipe-line system, is realized by simulated program each to pipe-line system
The emulation of kind operating condition, this method do not need true pipeline, fluid and relevant device, can be arranged in a big way various
Correlation performance parameters, strong flexibility, the scope of application is wide, but this method lacks effective physical signal interface, emulation knot
Fruit is stored in simulation computer in the form of digital signal, and physical signal input can not be received in simulation process.
Summary of the invention
The purpose of the present invention is to drawbacks described above of the existing technology, provide a kind of fluid pipeline analogue system,
The system not only strong flexibility, the scope of application is wide, and is provided with simulation operations list corresponding with virtual pipe system website
Member is equipped with real-time physical signaling interface and operation interface per each operating unit, there is parameter setting function, real-time curve to show
Function, simulation website manual operation function, real-time physical signal input/output function, being capable of simulated pressure, flow measurement instrument
Real-time pressure, the flow signal of analogue system are exported, and true control signal can be received.
A kind of fluid pipeline analogue system that the present invention mentions, including virtual pipe system and emulating operating system, it is described
Virtual pipe system is made of pipeline (1), initial station (2), intermediate station (3) and terminal (4), the equipment of initial station (2) includes at first stop
It is detected equipped with initial station exit signal the outlet of storage tank (5), initial station centrifugal pump (6) and initial station regulating valve (7), initial station regulating valve (7)
Point (8), the equipment of intermediate station (3) include intermediate station centrifugal pump (11), intermediate station valve A(10), intermediate station valve B(12) and in
Between stand valve C(13), intermediate station home signal test point (9) and intermediate station exit signal are installed in the both ends of intermediate station (3) respectively
Test point (14) opens intermediate station valve A(10) and intermediate station valve B(12), close intermediate station valve C(13), it can pass through
Between station centrifugal pump (11) pressurization;Close intermediate station valve A(10) and intermediate station valve B(12), open intermediate station valve C(13),
Achievable pressure is more stood;The equipment of terminal (4) includes terminal valve (16) and terminal storage tank (17), and the portal of terminal (4) is set
There is terminal home signal test point (15);
The emulating operating system includes a PC machine (18), several PLC and touch screen, router (19), cable
(20) and Serial Port Line (21) is constituted, and PLC, which is connected with touch screen by Serial Port Line, constitutes simulation operations unit, and PC machine (18) passes through
Local area network is connected with each simulation operations unit, realizes data transmission, and PC machine (18) in-service pipeline simulated program calculates virtual
The pressure of pipe-line system, flow value;Initial station (2), intermediate station (3) and the terminal (4) of virtual pipe system respectively correspond one and imitate
True operating unit, in simulation process, by characteristic curve simulation algorithm calculate initial station exit signal test point (8), intermediate station into
The pressure and stream stood at point detection signal (9), intermediate station exit signal test point (14) and terminal home signal test point (15)
Magnitude.
Preferably, simulation operations unit of the invention includes initial station PLC(22) and initial station touch screen (23) composition initial station
Simulation operations unit, intermediate station PLC(24), intermediate station touch screen (25) composition intermediate station simulation operations unit, terminal PLC
(26), the terminal simulation operations unit of terminal touch screen (27) composition.
Preferably, initial station PLC(22 of the invention), the initial station (2) of initial station touch screen (23) and virtual pipe system it is opposite
Answer, wherein initial station PLC(22) it receives initial station exit signal test point (8) pressure, Traffic simulation signal and passes through signal output end
Mouth output real-time physical signal, meanwhile, initial station centrifugal pump (6) speed controling signal and initial station can be inputted by signal input port
Regulating valve (7) opening control signal;Initial station touch screen (23) can show the real-time curve of initial station Outlet pressure, flow signal, if
Set liquid level, the characteristic regression coefficient of initial station centrifugal pump (6) H-Q of initial station storage tank (5), the resistance of initial station regulating valve (7)
Force coefficient parameter, and the aperture of initial station regulating valve (7) can be manually adjusted online.
Preferably, intermediate station PLC(24 of the invention), the intermediate stations of intermediate station touch screen (25) and virtual pipe system
(3) corresponding, wherein intermediate station PLC(24) receive intermediate home signal test point (9) and intermediate station exit signal test point
(14) pressure, Traffic simulation signal, and real-time physical signal is exported by signal output port, meanwhile, it is inputted by signal
Port can input intermediate station centrifugal pump (11) speed controling signal;Intermediate station touch screen (25) can show intermediate station pressure out of the station
The characteristic regression coefficient of intermediate station centrifugal pump (11) H-Q, each valve of intermediate station is arranged in the real-time curve of power, flow signal
The parameters such as resistance coefficient, and can be online manually opened or close each valve of intermediate station.
Preferably, terminal PLC(26 of the invention), the terminal (4) of terminal touch screen (27) and virtual pipe system it is opposite
Answer, wherein terminal PLC(26) receive the pressure of terminal home signal test point (15), Traffic simulation signal and by signal output
Port exports real-time physical signal;Terminal touch screen (27) can show the real-time curve of terminal Inlet pressure, flow signal, setting
Terminal storage tank (17) liquid level, the parameters such as resistance coefficient of terminal valve (16), and energy on-line tuning terminal valve (16) is opened
Degree.
The beneficial effects of the present invention are:
1, the analogue system has real-time physical signal input/output function;Output signal analog pressure, flow measurement
The standard signal form of instrument, the various control Input Online of input signal analog change emulation operating condition.Therefore, it effectively extends
The function of traditional simulation system, not only can be with the course of work of emulation channel system, but also can be with various pipeline automation systems
It is connected directly, provides test platform for related software, hardware system;
2, the analogue system uses the form of the composition consistent with true pipe-line system.Corresponding each virtual site difference
Corresponding operation unit is configured, signal input and output relevant to each website, Display of signal curve, are simulated in station parameter setting
The functions such as manual operation respectively by respective operations unit PLC and touch screen realize, therefore, analogue system operation is intuitive,
Simply, simulated effect is more life-like;
3, the analogue system is had cost performance height, is expanded using industrial automations commonly used equipments such as PC machine, PLC and touch screens
The advantages that malleability is easy to maintain by force.
Detailed description of the invention
Attached drawing 1 is the structural schematic diagram of virtual pipe system of the invention;
Attached drawing 2 is the system pie graph of the embodiment of the present invention;
Attached drawing 3 is the simulation process figure of the embodiment of the present invention;
In upper figure: pipeline (1), initial station (2), intermediate station (3), terminal (4), initial station storage tank (5), initial station centrifugal pump (6), head
Regulating valve of standing (7), initial station exit signal test point (8), intermediate station home signal test point (9), intermediate station valve A(10), in
Between stand centrifugal pump (11), intermediate station valve B(12), intermediate station valve C(13), intermediate station exit signal test point (14), terminal
Home signal test point (15), terminal valve (16), terminal storage tank (17), PC machine (18), router (19), cable (20), string
Mouth line (21), initial station PLC(22), initial station touch screen (23), intermediate station PLC(24), intermediate station touch screen (25), terminal PLC
(26), terminal touch screen (27).
Specific embodiment
A kind of fluid pipeline analogue system that the present invention mentions, including virtual pipe system and emulating operating system, in conjunction with
Attached drawing 1, the virtual pipe system are made of pipeline (1), initial station (2), intermediate station (3) and terminal (4), and initial station (2) is set
Standby includes initial station storage tank (5), initial station centrifugal pump (6) and initial station regulating valve (7), and the outlet of initial station regulating valve (7) is equipped with initial station and goes out
Stand point detection signal (8), the equipment of intermediate station (3) includes intermediate station centrifugal pump (11), intermediate station valve A(10), intermediate station valve
Door B(12) and intermediate station valve C(13), intermediate station home signal test point (9) and centre are installed in the both ends of intermediate station (3) respectively
Stand exit signal test point (14), open intermediate station valve A(10) and intermediate station valve B(12), close intermediate station valve C
(13), it can be pressurized by intermediate station centrifugal pump (11);Close intermediate station valve A(10) and intermediate station valve B(12), it opens intermediate
Stand valve C(13), it can be achieved that pressure is more stood;The equipment of terminal (4) includes terminal valve (16) and terminal storage tank (17), terminal
(4) portal is equipped with terminal home signal test point (15);
The emulating operating system includes a PC machine (18), several PLC and touch screen, router (19), cable
(20) and Serial Port Line (21) is constituted, and PLC, which is connected with touch screen by Serial Port Line, constitutes simulation operations unit, and PC machine (18) passes through
Local area network is connected with each simulation operations unit, realizes data transmission, and PC machine (18) in-service pipeline simulated program calculates virtual
The pressure of pipe-line system, flow value;Initial station (2), intermediate station (3) and the terminal (4) of virtual pipe system respectively correspond one and imitate
True operating unit, in simulation process, by characteristic curve simulation algorithm calculate initial station exit signal test point (8), intermediate station into
The pressure and stream stood at point detection signal (9), intermediate station exit signal test point (14) and terminal home signal test point (15)
Magnitude.
Referring to attached drawing 2, the basic parameter of emulation is set in PC machine (18) and runs simulated program.Basic parameter includes:
Duct length, internal diameter, material, roughness, fluid viscosity, density, initial steady state flow, simulation step length.When simulated program is run
It calculates and passes through local area network and send pressure at each station point detection signal, flow real time digital signal, while receiving each PLC transmission
Control input signal.
Initial station PLC(22), initial station touch screen (23) it is corresponding with initial station (2) of virtual pipe system, wherein initial station PLC
(22) initial station exit signal test point (8) pressure, Traffic simulation signal are received and real-time physical is exported by signal output port
Signal, meanwhile, initial station centrifugal pump (6) speed controling signal and initial station regulating valve (7) aperture can be inputted by signal input port
Control signal.Initial station touch screen (23) can show the real-time curve of initial station Outlet pressure, flow signal, be arranged initial station storage tank (5)
Liquid level, the characteristic regression coefficient of initial station centrifugal pump (6) H-Q, the parameters such as resistance coefficient of initial station regulating valve (7),
And the aperture of initial station regulating valve (7) can be manually adjusted online.
Intermediate station PLC(24), intermediate station touch screen (25) it is corresponding with intermediate station (3) of virtual pipe system, wherein in
Between stand PLC(24) receive pressure, the Traffic simulation of intermediate home signal test point (9) and intermediate station exit signal test point (14)
Signal, and real-time physical signal is exported by signal output port, meanwhile, intermediate station centrifugation can be inputted by signal input port
Pump (11) speed controling signal.Intermediate station touch screen (25) can show the real-time curve of intermediate station pressure out of the station, flow signal,
The characteristic regression coefficient of intermediate station centrifugal pump (11) H-Q is set, the parameters such as resistance coefficient of each valve of intermediate station, and can be
Line is manually opened or closes each valve of intermediate station.
Terminal PLC(26), terminal touch screen (27) it is corresponding with terminal (4) of virtual pipe system, wherein terminal PLC
(26) pressure of terminal home signal test point (15), Traffic simulation signal are received and real-time object is exported by signal output port
Manage signal.Terminal touch screen (27) can show the real-time curve of terminal Inlet pressure, flow signal, and terminal storage tank (17) liquid is arranged
Position height, the parameters such as resistance coefficient of terminal valve (16), and can on-line tuning terminal valve (16) aperture.
Above-mentioned each station touch screen is connected by Serial Port Line (21) with corresponding PLC, and is passed based on RS232 protocol realization data
It is defeated.Being physically entered of each PLC, output signal is all made of 4-20mA current signal, in addition, each flow measurement output signal increases
The discharge coefficient of pulse output signals all the way, pulse signal can be arranged by touch screen.
Referring to attached drawing 3, the course of work of emulation mode of the invention is as follows:
The setting basic parameter in parameter setting, that is, Fig. 3 is carried out before emulation starts, and is divided into the progress of two steps, firstly,
Parameter setting, such as duct length, fluid viscosity, simulation step length are carried out in PC machine (18) simulated program.Then pass through each touching
It touches screen and corresponding site parameter, that is, setting site parameter is set, initial station centrifugal pump such as is set in initial station touch screen (23)
(6) intermediate station centrifugal pump (11) H-Q is arranged in intermediate station touch screen (25) in the initial stations parameter such as characteristic regression coefficient of H-Q
The intermediate stations parameter such as characteristic regression coefficient.
It can start to emulate after completing parameter setting, the simulated program in operation PC machine (18).Simulated program is according to each
Parameter, manual operation input, control signal input calculate the pressure of each point detection signal, flow signal, and by calculated result with
Digital signal form is sent to each correlation PLC.Four kinds of basic operations can be carried out in simulation process, that is, are analyzed real-time curve, stood
Output signal and input control signal are read in point manual operation.Analysis real-time curve refers to be shown based on touch screen real-time curve
Function analyzes each website pressure, the value of flow signal and changing rule;Website manual operation refers to is adjusted online using touch screen
The state of whole each website relevant device is adjusted with simulating the manual operation in real site to equipment for example, manually adjusting initial station
The aperture of valve (7) opens or closes each valve of intermediate station etc.;It reads output signal and input control signal refers to based on emulation system
The standard physical signal input of system, output function, actual signal collecting device and process control equipment and analogue system is straight
Connected, the input and output of realization real-time physical signal are connect, are inputted with simulating signal acquisition and controlling in true pipe-line system.
It can further analysis conduit system or test related system based on above four kinds of basic operations in simulation process.Point
Analysis pipe-line system refers to the moving law of analysis conduit system, the pipeline especially under various manual operations and control input condition
It is each after the changing rule of dynamic process, such as analysis initial station regulating valve (7) aperture variation or after the adjustment of initial station centrifugal pump (6) revolving speed
Website pressure, the dynamic rule of flow.Test related system refers to that inspection, debugging are relevant to pipe-line system various automatic
Change system, including control program, algorithm and hardware device.It can PC machine out of service after the completion of the work of all analysis and tests
(18) simulated program in terminates emulation.