Laboratory Manual
Laboratory Manual
ii
Experiment No 1
Objectives:
1. Learn the basics of modeling of different systems.
2. Simulating a Cruise Control Model in Simulink.
3. Modeling in Simulink
Whenever the name of Control systems is taken, it always comes with the name of Control
Systems Analysis. It basically analyses the system parameters like velocity, temperature, mass,
damping ratio, etc… which are necessary for its quality output. Using these parameters one can
judge its real life state and then implement it. WWII accelerated the development of classical
control theory and practice. Heavy guns had to be rapidly and accurately positioned. Precise
navigation and target tracking were increasingly important, and aircraft performance was
improved greatly with the incorporation of complex control systems to aid the pilot. Today,
control systems are pervasive in industry and in our everyday lives. They range from
governmental regulation (such as that governing monetary policy) to automated and highly
flexible manufacturing plants to sophisticated automobiles, household appliances, and
entertainment systems. It is our purpose to learn to design control systems for a wide variety of
applications.
A Transfer Function is the ratio of the output of a system to the input of a system, in the Laplace
domain considering its initial conditions and equilibrium point to be zero. This assumption is
relaxed for systems observing transience. If we have an input function of X(s), and an output
function Y(s), we define the transfer function H(s) to be:
Lab Task 2:
Q1.a) Find the Laplace transform of the following differential equations:
2) 𝑥′′′ + 19𝑥′ = 𝑦
Q1.b) Repeat the above question but this time using MATLAB
At the MATLAB prompt type >>Simulink. This command displays a new window containing
icons for the subsystem blocks that make up the standard library. These subsystems can be
opened (by double-clicking) to produce the windows containing the prototype blocks to be
copied into your models. Click on File and New, and then move the window to a comfortable
position.
Step 2: A new window will appear .Select the option to create new model.
Step 6: Now click on scope block to visualize the graph. You can get the response as shown in
the figure below.
Lab Task 4:
• Repeat the same steps as described above for the following figure.
Mathematical modeling is the mathematical representation of any system. System can belong to
any field of science. A mathematical model is the replica of the exact behavior of the system, it
represents the relations between the inputs and outputs. How the output corresponds by changing
the inputs.
RC Circuit
Step 4: Take 63 percentage of the final value as shown in graph above. The value of
time at this amplitude will be equal to T
Step 5: Now put values in the first order general transfer function
𝐴
𝑇𝑠 + 1
Where A is final value
T is 63% of final value
Figure 12
RLC Circuit
Figure 13
Q1.a) Find out the relation between the output voltage of capacitor to the input voltage
applied. Use RL= 1k, L= 1mH, C= 1uF.
Q1.b) Simulate the system on MATLAB and Simulink and comment on the results.
Q1.c) Find the transfer function from the graph.
Q1.d) Compare results of part a and part c.
Figure 14
Figure 15
Q2.a) Find the relation between the input force (u) and the output velocity (v)
Q2.b) Simulate the system on MATLAB and Simulink.
Q2.c) Find the transfer function from the graph.
Q2.d) Compare results of part a and part c.
Figure 16
Q2. Simulate the step response of the transfer functions given in question Q1.a in MATLAB and
Simulink.
Practical Makes several Makes few critical Makes some non- Applies the
Implementation critical errors in errors in applying critical errors in procedural
(30) applying procedural applying knowledge in
procedural knowledge procedural perfect ways
knowledge knowledge
Safety Requires constant Requires some Follows safety Routinely
(10) reminders to reminders to procedures with follows safety
follow safety follow safety only minimal procedures
procedures procedures reminders
Use of Uses tools, Uses tools, Uses tools, Uses tools,
Tool/Equipment equipment and equipment and equipment and equipment and
(20) materials with materials with materials with materials with a
limited some competence considerable high degree of
competence competence competence
Participation Shows little Demonstrates Demonstrates Actively helps to
to Achieve commitment to commitment to commitment to identify group
Group Goals group goals and group goals, but group goals and goals and works
(10) fails to perform has difficulty carries out effectively to
assigned roles performing assigned roles meet them in all
assigned roles effectively roles assumed
Interpersonal Rarely interacts Interacts with other Interacts with all Interacts
Skills in positively within group members if group members positively with
Group Work a group, even prompted spontaneously all group
(10) with prompting members and
encourages such
interaction in
others
Marks Obtained
Total Marks: 40
Marks Obtained