电气工程及其自动化优秀毕业论文英文.docx_第1页
电气工程及其自动化优秀毕业论文英文.docx_第2页
电气工程及其自动化优秀毕业论文英文.docx_第3页
电气工程及其自动化优秀毕业论文英文.docx_第4页
电气工程及其自动化优秀毕业论文英文.docx_第5页
已阅读5页,还剩94页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Academic Year: (2012/2013)Enrolment number: 12014664Full name: Sijun WuCourse: BEng Honors Degree in Electrical andElectronic EngineeringProject Title: Real-Time Computer Level Control of a Water Tank1st Supervisor: Guoping Liu2nd Supervisor: Dr Mike PriceDate: April 2013Real-Time Computer Level Control of a Water TankStudent: Sijun WuID: 12014664Date: April 2013University of GlamorganDissertation submitted in partial fulfillment for the BEng in Electrical and Electronic Engineering.Faculty of Advanced TechnologyDeclarationI understand the nature of plagiarism, and I am aware of the Universitys policy on this.I declare that this dissertation is the result of my own independent investigation and that all sources have been appropriately acknowledged in the bibliography.Signature: Date:AbstractWith the development of the times, Control system is playing an increasingly important role in various fields. Water tank control system is a typical model of control system. Control of water tank can be used as the basis of research into more complex nonlinear system, It not only has a strong theoretical, belongs to the application of basic research, but also it with strong comprehensive. It contains control theory, intelligent control, fluid mechanics, and other disciplines. Peoples life and industrial production, and many other areas often involve liquid level and flow control problem, for example in Inhabitant domestic water supply, beverages, food processing and other industries the production process, we usually need to use the water tank, it need to maintain the appropriate level, neither too overflow cause waste, also cannot too little and cant meet the demand. So the liquid height is an important parameter of the industrial process control, especially in a dynamic state. By using suitable methods to detect the liquid level can control it can receive good effect.In this final project design, I duty is to design a water tank liquid level control system, which involves the dynamic liquid level control, the modeling of the control system, PID parameters setting. I will discuss using different control methods to achieve control require, for instance, Proportional controller, PI controller. I will discuss both design processes and test results in this paper. What more I will introduce some main software which includes MATLAB, SIMULINK, and NetCon Systems.Key words: position control, PI controller, PID parameters setting, software AcknowledgementFirst of all, I want appreciate my first supervisor and second supervisor. I could not achieve my project without their help. Especially professor Guoping Liu, he gives me great support. When some questions really confuse me, he always fills of patient and answer for me. He encourages me and teaches me how to solve the problems. He not only teaches me knowledge but also creative my ability of research the essential of the problem. No matter in the theoretical knowledge and practical test.Secondly I want to appreciate the University of Glamorgan. They give me opportunity to learn the theory with the real application. Thirdly I want to say thanks to Beijing University of Civil Engineering and Architecture where I used to study. They gave me the chance to study in the University of Glamorgan now. I want to appreciate my teacher in china, especially professor Zhijian Jiang. At last I want to say thank to any people who support me. Especially thanks to my parents and my friends. All of you are very important for me and I really appreciate the help that you gave me in this whole year.contentAbstract4Acknowledgement5content6Figure list9Chapter1. Project Overview111.1Aim and Objectives:111.2 General Background:111.2.1 Single water-tank system111.2.2 Couple water-tank system12Chapter2. Software Introduction142.1 MATLAB Introduction142.2 Simulink introduction162.3 NetCon System172.3.2NetConLink182.3.3 NetConTop19Chapter3. Hardware Introduction203.1 Coupled-tank system description203.2 Component nomenclature213.3 component description223.3.1 Overall frame and water tanks223.3.2 Pump223.3.3 Pressure sensor223.4 Coupled-tank model parameters22Chapter4. Theory and mathematical model254.1 Mathematical model254.2Mathematical model of the upper water tank254.2.1 Upper water tank level modeling nonlinear equation of motion254.2.2 Upper water tank level modeling linearization and system transfer function284.3Mathematical model of the couple water tank314.3.1 Couple water tank level modeling nonlinear equation of motion314.3.2 Couple water tank level modeling linearization and system transfer function33Chapter5. Introduction of control systems and Controller Design375.1Introduction of control systems375.2 Upper water tank water level controller design385.2.1 Upper water tank water level P-plus-feedforward controller385.2.2 Upper water tank water level PI-plus-feedforward controller425.2.3 Upper water tank water level Cascade and feedback controller465.3 Couple water tank water level controller design485.3.1 The Instructions for the cascade system.485.3.2 Couple water tank water level PI-plus-feedforward controller49Chapter6. The simulation of the system controller526.1 The simulation of upper water controller526.1.1 Simulation of Proportional controller526.1.2 Simulation of proportional integral controller546.1.3 Simulation of cascade and feedback controller556.2 The simulation of couple water tank controller57Chapter7. Actual experimental operation and test results617.1 The Instructions for actual experimental617.1.1 The Instructions for the digital to analog and analog to digital conversion617.1.2 The Instructions for using NetConSystem NetConLink and NetConTop627.1.3 Water level sensor calibration647.14 look-up table657.1.5 Limit voltage protection system667.2 Experimental results and analysis of the upper water tank677.2.1 Experimental results of P-plus-feedforward controller677.2.2 Experimental results of PI-plus-feedforward controller697.2.3 Experimental results of cascade and feedback controller717.3 Experimental results and analysis of the couple water tank73Chapter8. Mistake analysis76Chapter9. Conclusions77Chapter10. Future Work78Reference79Appendix 180Appendix 297Figure listFigure1. Illustrating the AnalogyFigure2. Schematic of the Coupled-Tank plantFigure3 The overall NetCon systemFigure4 NetControllerFigure5 Interface of NetConLinkFigure6 User Interface of NetConTop softwareFigure7 Coupled-tank ModelFigure8 Coupled-tank ComponentFigure 9 Upper water tank level modelFigure 10 The open-loop transfer function of the upper water tankFigure 11 couple water tank level modelFigure 12 The open-loop transfer function of couple water tankFigure 13 Open-loop control systemFigure 14 Close-loop control systemFigure 15 P-plus-feed forward close-loop control systemFigure 16 Step response of a first order system- time constantFigure 17 PI-plus-feed forward close-loop control systemFigure 18 Cascade and feedback control systemFigure 19 The block of whole systemFigure 20 Cascade systemFigure 21 The block diagram of Couple water tank water level PI-plus-feedforward Control systemFigure 22The block diagram of Proportional controllerFigure 23 The block diagram of Proportional integral controllerFigure 24 The block diagram of Proportional controllerFigure 25 The block diagram of couple water tank PI controllerFigure 26 The system amplitude oscillation curveFigure27 couple water tank PI controller simulation resultsFigure 28 Digital-to-analog and analog-to-digital converterFigure 29 NetCon setFigure 30 NetCon setFigure 31 NetCon setFigure 32 NetCon setFigure 33 NetConTop setFigure 34 NetConTop setFigure 35 Calibration modelFigure 36Calibration circuit boardFigure 37 Saturation blockFigure 38 Saturation setFigure 39 Proportional control system block diagramFigure 40 P-plus-feedforward controller experiment result 1Figure 41 P-plus-feedforward controller experiment result 2Figure 42 PI-plus-feedforward control system block diagramFigure 43 PI-plus-feedforward controller experiment result 1Figure 44 PI-plus-feedforward controller experiment result 2Figure 45 PI-plus-feedforward controller experiment result 3Figure 46 Cascade and feedback control system block diagramFigure 47 Cascade and feedback controller experiment result 1Figure 48 Cascade and feedback controller experiment result 2Figure 49 Cascade and feedback controller experiment result 3Figure 50 Couple water tank PI-plus-feedforward control system block diagram.Figure 51 Couple water tank PI-plus-feedforward controller experiment result 1Figure 52 Couple water tank PI-plus-feedforward controller experiment result 2Figure 53 Couple water tank PI-plus-feedforward controller experiment result 3Figure 54 Couple water tank PI-plus-feedforward controller experiment result 4Chapter1. Project Overview1.1 Aim and Objectives:The aim of the project:The key aim of the project is to apply various control strategies to real-time level control of a water tank using computers.The objectives of the project include:a) Understand the level control problem of a water tank;b) Study class and advance control methods, e.g., PID control, optimal control, adaptive control, fuzzy control, etc.c) Be familiar with the following software: Matlab, Simulink, Real-Time Workship, NetCon System;d) Simulate various control strategies (e.g., PI, PID control, optimal control, adaptive control, fuzzy control) in Simulink for closed-loop level control based on the model of a water tank;e) Simulate various control strategies (e.g., PI, PID control, optimal control, adaptive control, fuzzy control) on the NetCon System for real-time close-loop level control, based on the model of a water tank;f) Apply the simulated control strategies to a practical level control test rig.1.2 General Background:1.2.1 Single water-tank systemNow day in Inhabitant domestic water supply, beverages, food processing and other industries the production process, we usually need to use the water tank, it need to maintain the appropriate level, neither too overflow cause waste, also cannot too little and cant meet the demand.A model of single water-tank is show as the figure one below. V1 is water drain valve. V2 is the inlet valve. The liquid level of the control requirement is h0. The water flow, which drain into the tank is controlled by V2 valve, water flow, which drains out of the tank, is controlled by V1 valve. The V1 open library is change with the needs of users. As a consequence to control the variable value of the water level h0 it is transfer to control the Water inflow. In is experiment to achieve control the inlet flow by using change the voltage which is driven the pump.Figure1. Illustrating the Analogy1.2.2 Couple water-tank systemCouple tank water is a typical model of nonlinear delay objects, much of the controlled object in industrial whole or partial can be abstracted as mathematics model of double water tank. It has strong representation and strong industrial background. In industrial production the mathematical modeling and control strategy of couple water tank has the guiding significance in research of liquid level control system. Such as industrial boilers, mold level control. As is showed below the figure 2 is the couple water tank. The experiments require is control the bottom tank water level from the water flow coming out of the top tank.Figure2. Schematic of the Coupled-Tank plant 1To be more specific, the set above two experimental sequences are aimed at:1. How to mathematically model the Coupled-Tank from first principles in order to obtain the two open-loop transfer functions characterizing the system, in the Laplace domain.2. How to linearize the obtained non-linear equation of motion about the quiescent point of operation.3. How to design, though pole placement, a proportional-plus-integral-plus-feed forward-based controller for the Coupled-Tank system in order for it to meet the required design specifications for each configuration.4. How to implement each configuration controller in real-time and evaluate their actual performance.Chapter2. Software Introduction2.1 MATLAB IntroductionMATLAB is a programming environment for algorithm development, data analysis, visualization, and numerical computation. Using MATLAB, you can solve technical computing problems faster than with traditional programming languages, such as C, C+, and FORTRAN.You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. For a million engineers and scientists in industry and academia, MATLAB is the language of technical computing 2.Key Features: High-level language for technical computing Development environment for managing code, files, and data Interactive tools for iterative exploration, design, and problem solving Mathematical functions for linear algebra, statistics, Fourier analysis, filtering, optimization, and numerical integration 2-D and 3-D graphics functions for visualizing data Tools for building custom graphical user interfaces Functions for integrating MATLAB based algorithms with external applications and languages, such as C, C+, Fortran, Java, COM, and Microsoft ExcelMATLAB can be used in following works: (1).Creating transfer functionsA transfer function can be expressed as a numerator polynomial divided by a denominator polynomial, that is, F(s) =N(s)/D(s). The numerator, N(s), is represented by a row vector, numf, the contains the coefficients of N(s). Similarly, the denominator, D(s), is represented by a row vector, denf, that contains the coefficients of D(s). We form F(s) with the command, F=tf(numf,denf). F is called a linear time-invariant (LTI) object, or transfer function, can be used as an entity in other operations, such as addition or multiplication. (2)Time responseWe can use MATLAB to calculate characteristics of a second order system, such as damping ratio, ; natural frequency; percent overshoot, %OS; settling time, Ts; and peak time, Tp. (3)StabilityMATLAB can solve for the poles of a transfer function in order to determine stability. Also, we can use MATLAB to find the range of gain for stability by generating a loop, changing gain, and finding at what gain we obtain right-half-plane poles. (4)Steady-state errorStatic error constants are found using as. Once the static error constant is found, we can evaluate the steady-state error. (5)Root locus techniquesMATLAB allows root loci to be plotted with the rlocus(GH) command. Points on the root locus can be selected interactively using the rlocfind command. MATLAB then yields the gain (K) at that point as well as all other poles (p) that have that gain. We can zoom in and out of the root locus by changing the range of axis values. The root locus can be drawn over a grid that shows constant damping ratio () and constant natural frequency ()(6)Frequency Response TechniquesWe can use MATLAB to make Bode plots using bode(G), where G/(s)=numg/deng and G is an LTI transfer function object. Also, we can use MATLAB to make Nyquist diagrams using Nyquist (G) 2.2.2 Simulink introductionSIMULINK is an environment for multi domain simulation and Model-Based Design for dynamic and embedded systems. It provides an interactive graphical environment and a customizable set of block libraries that let you design, simulate, implement, and test a variety of time-varying systems, including communications, controls, signal processing, video processing, and image processing.Add-on products extend SIMULINK softwareto multiple modeling domains, as well as provide tools for design, implementation, and verification and validation tasks.SIMULINK is integrated with MATLAB, providing immediate access to an extensive range of tools that let you develop algorithms, analyze and visualize simulations, create batch processing scripts, customize the modeling environment, and define signal, parameter, and test data 3.Key Features Extensive and expandable libraries of predefined blocks Interactive graphical editor for assembling and managing intuitive block diagrams Ability to manage complex designs by segmenting models into hierarchies of design components Model Explorer to navigate, create, configure, and search all signals, parameters, properties, and generated code associated with your model Application programming interfaces (APIs) that let you connect with other simulation programs and incorporate hand-written code MATLAB Function blocks for bringing MATLAB algorithms into SIMULINK and embedded system implementations Simulation modes (Normal, Accelerator, and Rapid Accelerator) for running simulations interpretively or at compiled C-code speeds using fixed- or variable-step solvers Graphical debugger and profiler to examine simulation results and then diagnose performance and unexpected behavior in your design Full access to MATLAB for analyzing and visualizing results, customizing the modeling environment, and defining signal, parameter, and test data Model analysis and diagnostics tools to ensure model consistency and identify modeling errors2.3 NetCon SystemThe NetCon (Networked Control) system is a platform for teaching and research of real

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论