Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Assignment 1 -

Question 1: Design a pumping system that will transfer raw water from Reservoir A to Reservoirs B and C. A control valve shall be located in Line D-C next to Reservoir C to control the share of flow between Reservoir B and C. See Figure 1.

The pump station shall contain a main suction isolation valve and at least three pumps. It shall be located some 200 m downstream of Reservoir A. The pumps shall be arranged and valves be provided and duty/standby pumps be selected as per "good design practice".

System operating modes:

MODE (I) (Design condition)

- Normal flow rate from reservoir A to be 250 litres/second

- Discharge into Reservoir B to be 50 litres/s and into Reservoir C to be 200 litres/s.

MODE (II) (All flow to Reservoir C)

- The same number of pumps running as in MODE (I)

- Control valve in Line D-C set to cause all flow running into Reservoir C, i.e. no water to be discharged into or drained from Reservoir B.

Tasks:

1. Draw a detailed system schematic for MODE (I), allowing for sufficient valves (no non-return valves in Line D-B) and at least three 90 degree bends per pipe section.

2. Show the selected pipeline diameters and their associated head losses (based on good engineering practice) in a table and justify the reasons for your component selection.

3. Show the expected pump operating points for MODE (I) and demonstrate these by showing pump performance and system resistance curves.

4. Determine the amount of the main suction isolation valve to be throttled in MODE (I) in order to match an NPSH safety factor of 1.15 for the pumps.

5. Show pump operating points, system resistance curves and control valve settings for operation in MODE (II).

QUESTION 2: From the information given below, calculate the total life cycle cost for each pipeline diameter and determine the optimum pipeline diameter.

Pipeline system parameters:

System flow rate, Q = 1000 1/s

Pipeline static lift, Hs = 500 m

Pipeline length, Lp = 80 km

Pipe friction factor, f = 0.02

System design life 30 years, NPV factor = 7.50

Cost of pumping power = $0.05/kWh

Hours of operation = 24 hours/day, 365 days/year

Pump set efficiency = 85%

Pipeline maintenance cost = $20,000 pa

Cost per pump station = $ 5,000,000

Number of pump stations = 2

Pipe diameter and costs

Pipe internal diameter Pipe supply and install cost

700 mm $600/m

800 mm $650/m

900 mm $700/m

1000 mm $750/m

In the calculation, you may wish to ignore losses in valves, fittings, inlet and outlet.

QUESTION 3: Write a factsheet or a short essay/report of literature review on the current research and development in pumping technology. You may choose to focus on one of the following topics (other topics should be pre-approved by the course examiner):

  • Strategies for energy efficiency of pumping systems
  • Application and importance of pumping systems

You may need to cover:

  • Introduction - importance of the issue
  • Technology currently being investigated (the working principle, pros and cons)
  • Future research
  • Summary

You may base your essay on the materials assigned for this module and also any other information available on the internet and in the library. Concise and clear to the point presentation style are strongly encouraged. The report should be well structured with appropriate uses of headings (as suggested above) and sub-headings. The key points should be clearly emphasized and the extensive uses of bullet points (dot points) or tables are encouraged.

Marks will be allocated according to the following three criteria:

  • General presentation and layout, grammar, spelling, referencing, logic of the presentation.
  • Accuracy/appropriateness of factual materials.
  • Discussion/interpretation of materials.

Length: A standard essay format of 2-4 A4 pages (including 3-5 references) would be appropriate.

267_Figure1.png

Assignment 2 - Time Response and Controller Design

Please provide your solutions to the below questions. Show all work and present your work logically, justifying all assumptions. The questions marked with an asterisk (*) include a MATLAB component.

Exercise 1: Reduction of subsystems

Find the transfer function T (s) = C(S)/C(R) of the block diagram in Figure given that:

G1 = 2/(s+2), G2 = 1/s, G3 = 5

G4 = ((s+5)/(s+3)(s+10)), G5 = 2, G6 = s, G7 = 5/s

2380_Fig1.png

Also, write a MATLAB script using feedback, series and parallel commands and confirm that your handwritten answer and MATLAB agree.

Exercise 2: What's the damping?

Consider the motor/load feedback control system shown in Figure 2 below. The load damping DL is unknown, but when R(s) is a step, the response of θL has an overshoot of 20%. Do the following:

a) Find the transfer function θL(s)/R(s) (you'll have a DL in your equation since you don't know it yet)

b) Calculate the damping ratio that corresponds to 20% overshoot

c) Find DL using the information from a and b).

2290_Fig2.png

Exercise 3: A proportional controller

For the velocity control system in Figure 3:

a) Find the closed-loop transfer function T(s) = c(s)/R(s).

b) Find a value of Kp that will yield less than 10% overshoot for the closed-loop system. (Note: ignore the zero dynamics to calculate Kp initially).

c) Is the second order component of the closed-loop system dominant?

d) What is the magnitude of step input that will give a steady-state velocity of c(∞) = 50 m/s?

e) Using your Kp from part b), write a MATLAB script that calculates the closed-loop transfer function, T(s) = c(s)/R(s).

f) Simulate the step response of T(s). Is the overshoot 10% as you designed? Discuss.

126_Fig3.png

Exercise 4: Linearization of a vehicle moving through air

Consider the simple model of a vehicle moving through air

mv· = F - kv2

where v is the velocity of the vehicle, F is the forward traction force, and k is a drag parameter that depends on the properties of the air and the geometry of the vehicle. The parameters are m = 1000kg and k = 10N·s2/m2. Do the following:

a) Linearize the model about the steady-state F- = 1000N.

b) Find the transfer function v'(s)/F'(s) for the linearized system in a)

c) Consider a vehicle that is at the steady-state you found in a). A step change in the traction force is introduced, F'(s) = 200/s. Use your transfer function model to predict time response of the velocity v(t).

Exercise 5: Stability

Consider a unity feedback (H(s) = 1) configuration Figure 4. For the following systems, determine the range of K that will maintain stability.

(a) Gc(s) = K, Ga(s) = 1/s(s2+1), and Gp(s) = 1/(s2+s+1)

(b) Gc(s) = Ks, Ga(s) = 1/(s+1), and Gp(s) =  1/((s+2)(s+5))

2350_Fig4.png

Exercise 6: Disc drive problem

Recall the disc drive problem introduced in tutorial. Last time we developed the transfer functions seen in Figure 5. Do the following:

a) Find the transfer function Gd(s) = Po(s)/Td(s) when Gc(s) = Kc.

b) For Gc(s) = Kp, find the range of Kp for which the closed-loop system is stable.

c) Write a MATLAB script using feedback, series and parallel commands to obtain Po(s)/Pt(s) and Po(s)/Td(s) when Kc = 12.14.

957_Fig5.png

Exercise 7: Disc drive controller

Recall the disc drive problem from Tutorials, where we demonstrated that the open-loop system can be written as

1160_Fig6.png

a) Consider the controller that we designed in tutorial:

Gc(s) = Kc = 12.14

Find the steady-state error to a ramp input with this controller. If we wish to reduce this error to 0.005, can we do it with a different Kc? (Hint: consider your stability limits!)

b) Well try a more complex controller of the form

Gc(s) = Kc(s + a)

which is sometimes called a proportional-derivative controller. Find the closed-loop transfer function, T(s) = Po(s)/Pt(s).

c) Find the conditions (inequalities) on Kc and a such that the closed-loop system is stable. Use MATLAB to plot the stability boundaries (again, inequalities) on a Kc vs a plot.

d) Find values of Kc and a such that the steady-state error to a ramp is less than 0.005.

 Exercise 8: Using Root Locus

Consider the feedback control system in Figure 7. In this exercise, we'll walk through designing Gc(s) with different levels of complexity.

1115_Fig7.png

To this ends, do the following by hand (unless otherwise stated):

a) Sketch (by hand) the root locus and find the dosed loop poles when Gc(s) = Kc = 1. Also: find the steady-state error to a step and ramp inputs, ζ and the settling time.

b) In order to improve the transient response, a PD controller of the form

Gc(s) = Kc(s + a)

is being considered. Determine the values of K and a so that the closed loop system has an overshoot of 1.6 and a settling time of 2s for a step input. (Hint: use a to ensure that the poles are on the root locus). You may ignore the effect of the zero dynamics for this part.

c) What is the steady-state error to a ramp?

d) We now require that steady-state error to a ramp is eliminated. Your boss has told you to "just add an integrator" to the controller to eliminate the steady-state error. Sketch the root locus and use it to tell your boss why this won't work.

e) A smarter way to eliminate the steady-state error is to use a RID controller of the form

Gc(s) =  (Kc(s + a)(s + b)/s)

where a is the same as in b) and b is close to the origin. Select a suitable value for b so that the desired poles from b) are on the root locus. If necessary (it may or may not be!), adjust the value of Kc to ensure that the desired closed-loop poles are achieved. You may use MATIAB to check the location of the closed-loop poles.

f) Simulate the closed-loop step response in MATLAB using the PID controller from e). Twiddle Kc a and b (if necessary) to achieve your targets (i.e. 16% overshoot and a settling time of 2s).

Exercise 9: Lead-Lag design using Root Locus

Recall the disc drive problem from Tutorials, where we demonstrated that the open-loop system can be written as

1007_Fig8.png

We will now try to design a lead-lag compensator with the requirements that

  • Overshoot ≤ 10
  • Ts ≤ 75MS
  • eramp(∞)≤ 0.001

Do the following (you may use MATLAB at your leisure, but be sure to explain your logic for your design choices):

a) Use MATLAB to draw the root locus when Gc = Kc.

b) Use MATLAB to draw the region where the dominant closed-loop poles must be to satisfy the transient requirements. Comment on your ability to achieve these requirements with a gain-only controller.

c) Design a lead compensator(s) to meet the transient requirements (i.e. overshoot and settling time).

d) Design a lag compensator to achieve the steady-state tracking requirement.

e) Use MATLAB to compute the resulting closed-loop poles and discuss second order dominance.

Some Hints:

  • You may need to place more than one lead compensator for part c)
  • When assessing second order dominance of the closed-loop system, be sure to cancel poles and zeros (i.e. use minreal).

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91976760

Have any Question?


Related Questions in MATLAB

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As