CN107272751A - A kind of tank level control system and implementation method - Google Patents

A kind of tank level control system and implementation method Download PDF

Info

Publication number
CN107272751A
CN107272751A CN201710456384.1A CN201710456384A CN107272751A CN 107272751 A CN107272751 A CN 107272751A CN 201710456384 A CN201710456384 A CN 201710456384A CN 107272751 A CN107272751 A CN 107272751A
Authority
CN
China
Prior art keywords
control system
valve
module
tank
model
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.)
Pending
Application number
CN201710456384.1A
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.)
Xian University of Technology
Original Assignee
Xian University of Technology
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 Xian University of Technology filed Critical Xian University of Technology
Priority to CN201710456384.1A priority Critical patent/CN107272751A/en
Publication of CN107272751A publication Critical patent/CN107272751A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D9/00Level control, e.g. controlling quantity of material stored in vessel
    • G05D9/12Level control, e.g. controlling quantity of material stored in vessel characterised by the use of electric means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a kind of tank level control system, including the control system being connected with upper PCs, control system includes actual PLC, and actual PLC is connected with high water tank controlled device.The invention also discloses the implementation method of tank level control system.A kind of tank level control system of the present invention and implementation method, it is possible to achieve Simulation Control and the seamless connection of actual control, the real-time measurement of data.

Description

A kind of tank level control system and implementation method
Technical field
The invention belongs to digital factory technology field, and in particular to a kind of tank level control system, the invention further relates to profit The method that control is realized with the device.
Background technology
Liquid level is common process control in industry, and its influence to production can not be ignored.It is single to hold Liquid level system System has non-linear, delayed, the feature such as coupling, can be good at simulating industrial process feature.It is conventional for tank level control system Control structure more use " controller-executing agency ", for different liquid, it is necessary to field adjustable control parameter.And it is dry Disturb different, it is necessary to which constantly examination is gathered.For complicated tank level control system, frequently with founding mathematical models, in simulation software Optimal Parameters, but mathematical modeling can not be matched with actual control object completely, often result in simulation and actual disconnection, very The difficult effective precision for ensureing liquid level.
The content of the invention
It is an object of the invention to provide a kind of tank level control system, it is possible to achieve Simulation Control and the seamless company of actual control Connect, the real-time measurement of data.
It is a further object of the present invention to provide the method that above-mentioned control system realizes control.
The first technical scheme of the present invention is, a kind of tank level control system, including connects with upper PCs The control system connect, control system includes actual PLC, and actual PLC is connected with high water tank controlled device.
The features of the present invention is also resided in:
Analogue system is provided with upper PCs, analogue system includes virtual PLC controller, emulation module, virtually PLC, emulation module are connected by communication module with actual PLC, and emulation module is used to draw high water tank three Dimension module.
Virtual PLC controller, emulation module are connected with communication module by OPC communications protocol technologies.
High water tank controlled device include fluid level transmitter, regulating valve, proximity switch, fluid level transmitter, regulating valve with Analogue collection module is connected, and proximity switch is connected with digital data acquisition module, analogue collection module and RS485 communication modules Connection, RS485 communication modules are connected by USB-RS485 converters with upper PCs.
Second of technical scheme that the present invention is used is that a kind of implementation method of tank level control system is specially:Emulate mould Root tuber draws its threedimensional model according to the high water tank controlled device to be controlled according to equal proportion;Change in virtual PLC controller The parameter of program, the high water tank threedimensional model in emulation module is adjusted by communication module, is adjusted to the parameter of optimum state It is used as the parameter of actual PLC, the regulating valve of regulating tank liquid level controlled device.
The characteristics of second of technical scheme of the present invention, also resides in:
The threedimensional model of drafting high water tank controlled device is specially in emulation module:
Step 1:Model preparation
According to high water tank controlled device full size, scaled down, geometry graphics of being painted out in simulation software;
Step 2:Model hypothesis
(1) assume that the water-carrying capacity Q2 of upper water box outflow is certain;
(2) assume after starting mode of pump, the water-carrying capacity Q1 that water pump is extracted out from lower header is certain;
Step 3:Model calibration
Assuming that on the basis of, for whole cistern system, each part is split, has connection between being only connected to System, determines three valve openings to flowing through its changes in flow rate factor;
Bottom valve is designated as T1, and left hand valve is designated as T2, and regulating valve is designated as T3;
The water-carrying capacity that lower header is extracted out is equal to Q1, and the flow that upper water box goes out flowing water is designated as Q2, demarcates T1 valve opening k1 convection current The factor of amount influence is designated as a1;
Other two valves are first shut off, only regulation T1 valves, T1 valves standard-sized sheet surveys a liquid level, T1 valves 1/2 open one liquid level of survey, T1 valves 1/4 open one liquid level of survey, by data of obtain one group of aperture k1 with liquid level, carry out the aperture that linear fit obtains T1 valves Changed factor a1;Two other valve is measured according to above-mentioned steps;
The water pipe flow attribution of regulating valve T3 valves lower end is:Q1 is inputted, Q1-Q1*k1*a1 is exported, regulating valve T3 cut-offs Flow is (Q1-Q1*k1*a1) * k3*a3;Upper water box water inlet pipe flow attribution is:Input Q1-Q1*k1*a1;Export Q1-Q1* k1*a1-(Q1-Q1*k1*a1)*k3*a3;The flow attribution of upper water box is:Input Q1-Q1*k1*a1- (Q1-Q1*k1*a1) * k3*a3;Export Q2;
The height h changes of liquid level are relevant with input, output flow, bottom floor space, time;
Step 4:Model analysis
By different pipelines in the factor of influence write-in threedimensional model of each valve of measure, threedimensional model is allowed to have motion to belong to Property;The aperture k3 for regulating valve T3 is inputted, disturbance valve T2, T1 aperture k2, k1 are output as upper water box liquid level h;
Step 5:Model testing
Program is write according to actual object, program is downloaded to virtual PLC controller and actual PLC respectively, The response curve of the two is observed, contrast response curve determines the degree of accuracy of model, until the degree of accuracy reaches threshold value.
The beneficial effects of the invention are as follows:A kind of tank level control system of the present invention and implementation method, it is possible to achieve Simulation Control With the seamless connection of actual control, the real-time measurement of data.
Brief description of the drawings
Fig. 1 is a kind of structural representation of tank level control system of the invention;
Fig. 2 is a kind of signal flow diagram of tank level control system of the invention.
In figure, 1. virtual PLC controllers, 2. emulation modules, 3. communication modules, 4. high water tank controlled devices, 5. is actual PLC, 6. fluid level transmitters, 7. regulating valves, 8. proximity switches, 9. analogue collection modules, 10.RS485 communication modules, 11.USB-RS485 converters, 12. digital data acquisition modules.
Embodiment
The present invention is described in detail with reference to the accompanying drawings and detailed description.
A kind of tank level control system of the present invention, as shown in figure 1, including the control system being connected with upper PCs, control System processed includes actual PLC 5, and actual PLC 5 is connected with high water tank controlled device 4, actual PLC 5 It is connected with high water tank controlled device 4 by signal wire, data can be read and write.
Analogue system is provided with upper PCs, analogue system includes virtual PLC controller 1, emulation module 2, empty Intend PLC 1, emulation module 2 to be connected with actual PLC 5 by communication module 3, communication module 3 and actual PLC is controlled Device 5 processed is connected by netting twine, and data can be accessed each other, and emulation module 2 is used to draw high water tank threedimensional model.
Actual PLC 5 is selected after concrete model in a kind of tank level control system of the present invention, can be calculated in host computer Corresponding virtual PLC controller 1, emulation module 2, communication module 3 and the programmed environment of selection, virtual PLC control are downloaded on machine Device 1 processed can with calculation process some be similar to actual PLC information.
According to actual liquid level controlled device in emulation module 2, the length, width and height of water tank, the internal diameter of pipeline, regulating valve are determined Aperture change and the variation coefficient of flow, influence coefficient of the disturbance valve to flow.The flow of threedimensional model is write according to these The movement properties of threedimensional model are defined in expression formula, flow expression.
The program finished can be loaded in down in virtual PLC controller 1 and actual PLC 5.
Virtual PLC controller 1, emulation module 2 are connected with communication module 3 by OPC communications protocol technologies.Virtual PLC control Device 1 processed can access data mutually with emulation module 2.
High water tank controlled device 4 includes fluid level transmitter 6, regulating valve 7, proximity switch 8, fluid level transmitter 6, regulating valve 7 are connected with analogue collection module 9, and proximity switch 8 is connected with digital data acquisition module 12, analogue collection module 9 with RS485 communication modules 10 are connected, and RS485 communication modules 10 are connected by USB-RS485 converters 11 with upper PCs.
As shown in Fig. 2 a kind of tank level control system of the invention, in the collection of distributed data, is added based on RS485 The data acquisition module of mechanics of communication.In Fig. 2, solid line is the signal flow direction under the network structure of tank level control system of the present invention Figure, dotted line is represented in this structure, can extend more PLCs, high water tank controlled device, and analog or digital Measure acquisition module.In Fig. 2, the good Liquid level program of virtual PLC controller optimization can be transmitted to actual PLC controls by computer Device processed, actual PLC acts on high water tank controlled device, and the analog or digital signal of high water tank controlled device is passed through It is sent to after acquisition module conversion in RS485 buses, then host computer is sent to by USB-RS485 converters.
Actual PLC is directly connected to upper PCs by netting twine, or actual PLC is first connected to Interchanger, interchanger connects looped network and is then connected to upper PCs.
A kind of implementation method of tank level control system of the present invention, be specially:
Emulation module 2 draws its threedimensional model according to the high water tank controlled device to be controlled according to equal proportion;Change The parameter of the Program of virtual PLC controller 1, the high water tank threedimensional model in emulation module 2 is adjusted by communication module 3, is adjusted Save to the parameter of optimum state and be used as the parameter of actual PLC 5, the regulating valve 7 of regulating tank liquid level controlled device 4.
The threedimensional model of drafting high water tank controlled device is specially in emulation module 2:
Step 1:Model preparation
According to the full size of high water tank controlled device 4, scaled down, geometry of being painted out in simulation software is three-dimensional Figure;
Step 2:Model hypothesis
1 assumes that the water-carrying capacity Q2 of upper water box outflow is certain;
2 assume after starting mode of pump that the water-carrying capacity Q1 that water pump is extracted out from lower header is certain;
Step 3:Model calibration
Assuming that on the basis of, for whole cistern system, each part is split, has connection between being only connected to System, determines three valve openings to flowing through its changes in flow rate factor;
Bottom valve is designated as T1, and left hand valve is designated as T2, and regulating valve is designated as T3;
The water-carrying capacity that lower header is extracted out is equal to Q1, and the flow that upper water box goes out flowing water is designated as Q2, demarcates T1 valve opening k1 convection current The factor of amount influence is designated as a1;
Other two valves are first shut off, only regulation T1 valves, T1 valves standard-sized sheet surveys a liquid level, T1 valves 1/2 open one liquid level of survey, T1 valves 1/4 open one liquid level of survey, by data of obtain one group of aperture k1 with liquid level, carry out the aperture that linear fit obtains T1 valves Changed factor a1;Two other valve is measured according to above-mentioned steps;
The water pipe flow attribution of regulating valve T3 valves lower end is:Q1 is inputted, Q1-Q1*k1*a1 is exported, regulating valve T3 cut-offs Flow is (Q1-Q1*k1*a1) * k3*a3;Upper water box water inlet pipe flow attribution is:Input Q1-Q1*k1*a1;Export Q1-Q1* k1*a1-(Q1-Q1*k1*a1)*k3*a3;The flow attribution of upper water box is:Input Q1-Q1*k1*a1- (Q1-Q1*k1*a1) * k3*a3;Export Q2;
The height h changes of liquid level are relevant with input, output flow, bottom floor space, time;
Step 4:Model analysis
By different pipelines in the factor of influence write-in threedimensional model of each valve of measure, threedimensional model is allowed to have motion to belong to Property;The aperture k3 for regulating valve T3 is inputted, disturbance valve T2, T1 aperture k2, k1 are output as upper water box liquid level h;
Step 5:Model testing
Program is write according to actual object, program is downloaded to virtual PLC controller 1 and actual PLC respectively 5, the response curve of the two is observed, contrast response curve determines the degree of accuracy of model, until the degree of accuracy reaches threshold value.

Claims (6)

1. a kind of tank level control system, it is characterised in that including the control system being connected with upper PCs, control system bag Actual PLC (5) is included, actual PLC (5) is connected with high water tank controlled device (4).
2. a kind of tank level control system according to claim 1, it is characterised in that be provided with the upper PCs Analogue system, analogue system includes virtual PLC controller (1), emulation module (2), virtual PLC controller (1), emulation module (2) it is connected by communication module (3) with the actual PLC (5), emulation module (2) is used to draw high water tank three-dimensional Model.
3. a kind of tank level control system according to claim 2, it is characterised in that the virtual PLC controller (1), imitative True module (2) is connected with the communication module (3) by OPC communications protocol technologies.
4. a kind of tank level control system according to claim 1, it is characterised in that the high water tank controlled device (4) Including fluid level transmitter (6), regulating valve (7), proximity switch (8), fluid level transmitter (6), regulating valve (7) are and analog acquisition Module (9) is connected, and proximity switch (8) is connected with digital data acquisition module (12), and analogue collection module (9) is communicated with RS485 Module (10) is connected, and RS485 communication modules (10) are connected by USB-RS485 converters (11) with upper PCs.
5. the implementation method of a kind of tank level control system according to claim 1-4 any one, it is characterised in that specific For:Emulation module (2) draws its threedimensional model according to the high water tank controlled device to be controlled according to equal proportion;Change empty Intend the parameter of PLC (1) Program, the three-dimensional mould of high water tank in emulation module (2) is adjusted by communication module (3) Type, adjusts to the parameter of optimum state and is used as the parameter of actual PLC (5), the tune of regulating tank liquid level controlled device (4) Save valve (7).
6. a kind of implementation method of tank level control system according to claim 5, it is characterised in that the emulation module (2) threedimensional model of drafting high water tank controlled device is specially in:
Step 1:Model preparation
According to high water tank controlled device (4) full size, scaled down, geometry graphics of being painted out in simulation software;
Step 2:Model hypothesis
(1) assume that the water-carrying capacity Q2 of upper water box outflow is certain;
(2) assume after starting mode of pump, the water-carrying capacity Q1 that water pump is extracted out from lower header is certain;
Step 3:Model calibration
Assuming that on the basis of, for whole cistern system, each part is split, is related between being only connected to, survey Fixed three valve openings are to flowing through its changes in flow rate factor;
Bottom valve is designated as T1, and left hand valve is designated as T2, and regulating valve is designated as T3;
The water-carrying capacity that lower header is extracted out is equal to Q1, and the flow that upper water box goes out flowing water is designated as Q2, and T1 valve openings k1 is to flow shadow for demarcation The loud factor is designated as a1;
Other two valves are first shut off, only regulation T1 valves, T1 valves standard-sized sheet surveys a liquid level, T1 valves 1/2 open one liquid level of survey, T1 valves 1/4 opens one liquid level of survey, by data of obtain one group of aperture k1 with liquid level, carries out the aperture change that linear fit obtains T1 valves Factor a1;Two other valve is measured according to above-mentioned steps;
The water pipe flow attribution of regulating valve T3 valves lower end is:Q1 is inputted, Q1-Q1*k1*a1, the flow of regulating valve T3 cut-offs is exported For (Q1-Q1*k1*a1) * k3*a3;Upper water box water inlet pipe flow attribution is:Input Q1-Q1*k1*a1;Export Q1-Q1*k1*a1- (Q1-Q1*k1*a1)*k3*a3;The flow attribution of upper water box is:Input Q1-Q1*k1*a1- (Q1-Q1*k1*a1) * k3*a3;It is defeated Go out Q2;
The height h changes of liquid level are relevant with input, output flow, bottom floor space, time;
Step 4:Model analysis
By different pipelines in the factor of influence write-in threedimensional model of each valve of measure, threedimensional model is allowed there are movement properties;It is defeated Enter the aperture k3 for regulating valve T3, disturbance valve T2, T1 aperture k2, k1 are output as upper water box liquid level h;
Step 5:Model testing
Program is write according to actual object, program is downloaded to virtual PLC controller (1) and actual PLC respectively (5) response curve of the two, is observed, contrast response curve determines the degree of accuracy of model, until the degree of accuracy reaches threshold value.
CN201710456384.1A 2017-06-16 2017-06-16 A kind of tank level control system and implementation method Pending CN107272751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710456384.1A CN107272751A (en) 2017-06-16 2017-06-16 A kind of tank level control system and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710456384.1A CN107272751A (en) 2017-06-16 2017-06-16 A kind of tank level control system and implementation method

Publications (1)

Publication Number Publication Date
CN107272751A true CN107272751A (en) 2017-10-20

Family

ID=60066397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710456384.1A Pending CN107272751A (en) 2017-06-16 2017-06-16 A kind of tank level control system and implementation method

Country Status (1)

Country Link
CN (1) CN107272751A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494014A (en) * 2002-10-29 2004-05-05 上海理工大学 Virtual computer process control and communication experiment system
CN101178062A (en) * 2007-10-26 2008-05-14 中国人民解放军空军工程大学 Variable hydraulic pump pressure flow characteristics auto-testing method
CN201707096U (en) * 2010-06-08 2011-01-12 泸州北方化学工业有限公司 Container tank calibration device
CN103019104A (en) * 2012-12-27 2013-04-03 中南大学 Visual process control system configuration simulation method
CN103776503A (en) * 2014-01-22 2014-05-07 东风商用车有限公司 System for determining and regulating EGR (Exhaust Gas Recirculation) mass flow and use method thereof
CN204440047U (en) * 2015-03-16 2015-07-01 南京铁道职业技术学院 Based on half process control device in kind of OPC and ADAM module
CN105607509A (en) * 2016-01-21 2016-05-25 浙江大学 Industrial radio control system semi-physical security experiment platform
CN105920990A (en) * 2016-06-16 2016-09-07 光大环保技术研究院(深圳)有限公司 Regulating valve control method and regulating valve control device
CN106205344A (en) * 2016-07-04 2016-12-07 吉林大学 Four hold high water tank Control release system
CN106855718A (en) * 2017-01-12 2017-06-16 防灾科技学院 MFA control high water tank control system
CN207037487U (en) * 2017-06-16 2018-02-23 西安理工大学 A kind of tank level control system based on PLC

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494014A (en) * 2002-10-29 2004-05-05 上海理工大学 Virtual computer process control and communication experiment system
CN101178062A (en) * 2007-10-26 2008-05-14 中国人民解放军空军工程大学 Variable hydraulic pump pressure flow characteristics auto-testing method
CN201707096U (en) * 2010-06-08 2011-01-12 泸州北方化学工业有限公司 Container tank calibration device
CN103019104A (en) * 2012-12-27 2013-04-03 中南大学 Visual process control system configuration simulation method
CN103776503A (en) * 2014-01-22 2014-05-07 东风商用车有限公司 System for determining and regulating EGR (Exhaust Gas Recirculation) mass flow and use method thereof
CN204440047U (en) * 2015-03-16 2015-07-01 南京铁道职业技术学院 Based on half process control device in kind of OPC and ADAM module
CN105607509A (en) * 2016-01-21 2016-05-25 浙江大学 Industrial radio control system semi-physical security experiment platform
CN105920990A (en) * 2016-06-16 2016-09-07 光大环保技术研究院(深圳)有限公司 Regulating valve control method and regulating valve control device
CN106205344A (en) * 2016-07-04 2016-12-07 吉林大学 Four hold high water tank Control release system
CN106855718A (en) * 2017-01-12 2017-06-16 防灾科技学院 MFA control high water tank control system
CN207037487U (en) * 2017-06-16 2018-02-23 西安理工大学 A kind of tank level control system based on PLC

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
刘腾娇: "基于RSTestStand的自动化立体仓库三维虚拟仿真系统设计", 《中国优秀硕士学位论文全文数据库》 *
孙滨: "基于双容水箱控制的数字化工厂相关技术研究", 《CNKI》 *
王书 等: "基于dSPACE的过程控制算法研究", 《微计算机信息》 *
虎鑫 等: "基于西门子STEP7及PLCSIM的浮选机液位控制及其仿真", 《矿山机械》 *
雷振伍 等: "基于PCS7和Simulink的过程控制虚拟仿真实验平台开发", 《实验技术与管理》 *
黄慎之 等: "一种用于实验室的液位过程控制系统", 《上海大学学报(自然科学版)》 *

Similar Documents

Publication Publication Date Title
CN103499373B (en) Be with self-alignment automatic capacity calibration device for tank truck and method
CN104061984A (en) High-speed gas flow calibration system and calibration method based on laboratory multiple pipelines
CN108303896A (en) Ditch shutter intelligent control method and device
CN104595172B (en) Water pump Auto-Test System
CN106503396A (en) The multidimensional Hydraulic Power System transition analogy method coupled with finite volume method based on finite difference calculus
CN101144285A (en) Experiment device for simulating house draining system and detecting method thereof
CN103175582B (en) Fluid metering method and apparatus
CN103267559A (en) Automatic volume verification method and device for oil tank truck
CN102564509B (en) Flow measurement system, equipment, method and fluid measuring apparatus management method
CN100370235C (en) Method for calibrating flow meter and applied system for calibrating flow meter
CN102305676B (en) Automatic calibrating apparatus on flow of heat energy meter
CN206223265U (en) The quality demarcation system of mass flowmenter
CN107272751A (en) A kind of tank level control system and implementation method
CN204154516U (en) A kind of wall-hung boiler Auto-Test System
CN103559811B (en) Industrial network practical teaching platform
CN207037487U (en) A kind of tank level control system based on PLC
CN201707096U (en) Container tank calibration device
CN208043201U (en) A kind of electromagnetism water meter caliberating device
CN204064406U (en) A kind of high-speed gas flow calibration system based on laboratory multiple-way duct
CN104216346A (en) Electric automatic control system for full-automatic supersonic nozzle high-flow standard devices
CN208579791U (en) A kind of portable flow electricity meter
CN106706070B (en) A kind of air blowing type ship liquid level measuring system of dynamic pressure output
CN203534660U (en) Self-calibrated automatic volume calibrating device for oil tank truck
CN115468633A (en) Multi-point flowmeter correction method and device based on RBF neural network
CN204007805U (en) The online caliberating device of a kind of LNG filling machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020