MATLAB control instrumentation

SECTION A: Instrumentation

Part A1: Sensor Selection

The last 4 digits of student id is 2684


MATLAB control instrumentation Image 1

The most appropriate sensor is the differential pressure sensor with the range of 0-100mBar as described by the choices above.

Part A2: Transient Response

MATLAB control instrumentation Image 2

After switching the pump “on”, the step response takes T=82 s to reach 63.2% of its steady state value as shown in the figure. This indicates that the time constant of the pump is τ=82 seconds.

The rise time of the system is related to the time constant approximately by:

Tr=2.197 τ

Tr=2.197×82=180.154 s

As the pump is gradually switched on from “off” to “fully on”, the output response goes from transient state to a steady state value of 100 for large values of t. The step response, however, has no overshoot and as can be seen, the system is overdamped.

To calculate the bandwidth, we assume an oscilloscope that follows the following rule:

Bandwidth ×Rise time=0.35
Bandwidth,BW=0.35/180.154=0.00194 dB
20 logBW=0.00194
BW=100.000097=1 rad/s

Part A3: Filter Design

Using an RC filter design



Corner frequency is at two octaves above the bandwidth of the system at unity gain, K=1


MATLAB control instrumentation Image 3

SECTION B: Control

Part B1


G(s)=Y(s)/U(s) =A/(s2+As+A.B)

The last 4 digits of student id is 2684



The underdamped second order system is given by:



Generally, the second-order transfer function takes the form of:

G(s)=(w02)/s2+2ζwo s+w20

Where w0 is the natural frequency, ζ is the damping ratio.

Therefore, by comparison of the 2 equations

MATLAB control instrumentation Image 4

Plotting in MATLAB

Part B2: Control

Part (i)

Finding the closed loop system transfer function

Forward path/Open loop transfer function

Y(s)/E(s) =KI/s (G(s))

=(0.74 KI)/(s(s2+0.74s+1.9536))

Closed loop transfer function

MATLAB control instrumentation Image 5
figure (1)
title("Step Response of the Open Loop System")
MATLAB control instrumentation Image 6

Part (ii)

Choosing a KI of 0.25 which is in the range of , the step input response is obtained using MATLAB.

%Let Ki=0.25 since for stability 0< Ki <1.9536
title("Step Response of the Closed Loop System, K_I=0.25")

StableOrNot =



MATLAB control instrumentation Image 7
Want latest solution of this assignment
AssignmentHippo Features
  • On Time Delivery

    Our motto is deliver assignment on Time. Our Expert writers deliver quality assignments to the students.

  • Plagiarism Free Work

    Get reliable and unique assignments by using our 100% plagiarism-free services.

  • 24 X 7 Live Help

    The experienced team of AssignmentHippo has got your back 24*7. Get connected with our Live Chat support executives to receive instant solutions for your assignment problems.

  • Services For All Subjects

    We can build quality assignments in the subjects you're passionate about. Be it Programming, Engineering, Accounting, Finance and Literature or Law and Marketing we have an expert writer for all.

  • Best Price Guarantee

    Get premium service at a pocket-friendly rate. At AssignmentHippo, we understand the tight budget of students and thus offer our services at highly affordable prices.