Professional Documents
Culture Documents
Final Report PDF
Final Report PDF
This report shows the components of the experiment and how it works with a schematic drawing.
Also shows the transfer functions of the two outputs (Pressure, Travel) with the input (Current) , and
PID Tunning in MATLAB Simulink to tune the transfer functions.
I
Table of Contents
Abstract ............................................................................................................................ I
Components ......................................................................................................................1
5) Flow Meter............................................................................................................4
Conclusion ......................................................................................................................15
References ......................................................................................................................17
Appendices .....................................................................................................................18
II
Schematic Drawing
Components
1) Tank
2) Air Compressor
3) Pressure Regulator
4) I/P Converter
5) Loop Controller
6) Flow Meter
7) Pneumatic Control Valve
8) Manual Valve
1|Page
How each component works
1) Air Compressor
Air compressors work by forcing atmospheric air under pressure to create potential energy that can
be stored in a tank for later use. Just like an open balloon, the pressure builds up when the
compressed air is deliberately released, converting the potential energy into usable kinetic energy.
From there, this energy transfer can be harnessed to power various pneumatic tools.
2) Pressure Regulator
Pressure regulators reduce a supply (or inlet) pressure to a lower outlet pressure and work to
maintain this outlet pressure despite fluctuations in the inlet pressure. The reduction of the inlet
pressure to a lower outlet pressure is the key characteristic of pressure regulators.
2|Page
3) I/P Converter
I/P Converters operate on a similar principle as proportional valves in that they provide adjustable
flow volumes and control functions. In converting electric current into pneumatic output, I/P
converters also eliminate the need for an external power supply to control the pneumatic-operated
components. In doing so, I/P converters increase machine efficiency and control.
The function of I/P converters relates to the concept of an electromagnetic force balance principle,
i.e., the process of converting electric current into force and then pressure. Simply, for I/P converters
to work, electromagnetic effects are exploited to build current which force transducers for
mechanical actuation. This action converts electrical current (typically 4 to 20 mA) into pneumatic
pressure output (3 to 15 psi) that, in turn, proportionally controls the opening or closing of a valve
according to the force balance principle.
4) Loop Controller
Control loops are systems applied by design engineers in various industrial applications to maintain
process variables (PVs) at a desired value or set point (SP). Control loops are important for
maintaining the stability of a system, and for consistently producing the desired outcome of a
process.
3|Page
5) Flow Meter
A differential pressure flow meter forces water through a constriction of some type, such as an
orifice or nozzle, and measures the water pressure on both sides of the constriction. A high-pressure
drop indicates high water flow.
The obvious downside of this type of flow meter is that it reduces pressure and can slow down water
flow, causing permanent pressure loss. These kinds of flow meters are undesirable in applications
that require maximum pressure throughout the system.
Pneumatic Actuators use an air or gas signal from an external source to produce a modulating control
action. The actuator receives the force of the pneumatic signal through a top port. Then, it distributes
the signal across the actuator’s diaphragm. As a result, the diaphragm exerts pressure on the
diaphragm plate. This moves the valve stem downward in a way that strokes the control valve.
4|Page
7) Manual Valve
Flexible valves are those manual valves that use an elastomeric or flexible closure element and a
body that allows straight-through flow. The closure element pushes against a highly flexible
elastomeric or rubber insert until it meets against the bottom of the body or the other side of the
elastomeric insert, literally pinching the flow closed. The most common flexible valves are pinch and
diaphragm valves.
5|Page
Readings & Graphs
After the experiment done, I record some data in which help me to get the transfer function of the
system
Here is some of the data that recorded
Then from this table I plotted a graph that shows the Input (Current), Output (Pressure, Travel) with
respect to time to notice that if there is any troubleshooting, and to know the SteadyState, and to find
the system is first order or second order to get the transfer function
6|Page
90%
80%
70%
60%
Percentage %
50%
40%
30%
20%
10%
0%
0
2.2
8.8
53
64
4.4
6.6
11
75
13.2
17.6
24.3
28.7
33.1
37.5
44.1
48.6
59.6
68.3
72.8
79.4
15.4
19.8
22.1
26.5
30.9
35.3
39.7
41.9
46.4
50.8
55.2
57.4
61.8
66.1
70.6
77.2
81.6
Time (sec)
7|Page
Out Pressure %
90%
80%
70%
60%
50%
40%
30%
20%
10%
0%
0 10 20 30 40 50 60 70 80 90
Out Pressure % Ts Tr
8) From Figure 11 above it shows the Ts and Tr for the Pressure Output
Travel %
80.00%
70.00%
60.00%
50.00%
40.00%
30.00%
20.00%
10.00%
0.00%
-10.00% 0 10 20 30 40 50 60 70 80 90
Ts Tr Travel %
9) From Figure 11 above it shows the Ts and Tr for the Travel Output
8|Page
Transfer Function
As we have one input and two outputs so we will get two transfer functions for each output with the
input, as mentioned before this is a first order system
9|Page
2) Input (Current) with Output (Travel)
Y(s) k
= G(s) = → equation 1
X(s) Ts + 1
80%
From Charts → X(t) = 80% @ t = 29.6 sec → X(s) =
s
From Charts → Y(t) = 68% @ t = 40.4 sec
k
From equation 1 → × X(s) = Y(s) → @T = 0.632 × Yss
Ts + 1
80%
= Y(s)
s(25.5328s + 1)
Convert this equation to time domain to get K
1
Y(s) = 80% × K × → by partial fraction (Equation2)
s(25.5328s + 1)
A B 1
+ = → A(25.5328s + 1) + B(s) = 1
s 25.5328s + 1 s(25.5328 + 1)
Let s = 0 → A = 1
1
Let S = − → B = −25.5328
25.5328
1 25.5328
− → get laplace
s 25.5328s + 1
1
1 − eat = 1 − e−25.5328t
By substituting in the equation2
1
68% = 80% × K × (1 − e−25.5328t ) → K = 1.069
10 | P a g e
MATLAB PID Tunning
A PID controller is a device that regulates temperature, flow, pressure, speed, and other process
variables in industrial control applications. The most precise and reliable controllers are PID
(proportional integral derivative) controllers, which employ a control loop feedback mechanism to
regulate process variables.
A tried-and-true method of guiding a system towards a desired location or level is PID control. It is
used to regulate temperature in a wide variety of chemical and scientific procedures as well as
automated systems, making it essentially ubiquitous. To maintain the actual output from a process as
near to the goal or setpoint output as feasible, PID control employs closed -loop control feedback.
P-Controller → It provides stable operation but always maintains the steady-state error
I-Controller → It limits the speed of response and affects the stability of the system.
D-Controller → It improves the stability of the system by compensating for phase lag caused by the
I-controller. Increasing the derivative gain increases the speed of response.
11 | P a g e
1) First Transfer Function (Pressure)
1) Step Input = 1
2) PID controller with P = 20, I = 0, D = 0, and No Saturation
3) Scope result
12 | P a g e
Figure 15 First MATLAB Scope Without PID
13 | P a g e
Second Transfer Function (Travel)
1) Step Input = 1
2) PID controller with P = 20, I = 0, D = 0, and No Saturation
3) Scope Result
14 | P a g e
Figure 18 Second MATLAB Scope Without PID
15 | P a g e
Conclusion
At last, we made this experiment to get the transfer functions and to tune them with PID Controller
using MATLAB. And on the way we learned about some components, and how to deal with it, and
how to tune transfer function to get control on it.
16 | P a g e
References
• https://www.elprocus.com/the-working-of-a-pid-controller/
• https://www.pneumatictips.com/what-are-air-compressors/
• https://automationforum.co/what-is-a-pneumatic-valve-and-what-is-the-function-of-pneumatic-
valve/
• https://www.electricalvolt.com/2022/03/what-is-an-i-p-converter-working-principle-applications/
• https://www.electrical4u.com/first-order-control-system/
• https://www.omega.co.uk/prodinfo/pid-
controllers.html#:~:text=A%20PID%20controller%20is%20an,most%20accurate%20and%20stable
%20controller.
17 | P a g e
Appendices
Figure 1 Schematic Drawing for Whole Kit ........................................................................1
18 | P a g e