Control Systems: ITCE 470

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

University of Bahrain

College of Information Technology


Department of Computer Engineering

ITCE 470: Control Systems


Experiment No.2
Modeling Dynamic Systems

Name: Halima Mohamed Ismail Alturabi


ID: 20133684
Sec NO:1
Date of submission:15 \ 10 \ 2015
# Objectives: This lab provides a review of some basic approaches to modeling mechanical systems and
show how to enter transfer function models into MATLAB for further analysis.

# List of Equipment/Software

Following equipment/software is required:

 MATLAB

Category Soft-Experiment

Deliverables

A complete lab report including the following:

 Summarized learning outcomes.


 MATLAB scripts and their results.
# INTRODUCTION:

“CONTROL SYSTEMS MUST OFTEN MAKE MANY SIMPLIFYING ASSUMPTIONS


IN ORDER TO KEEP THE ENSUING MODEL MANAGEABLE AND STILL APPROXIMATE
PHYSICAL REALITY.
TO DEVELOP MATHMATICAL MODELS FROM SCHEMATICS OF PHYSICAL
SYSTEMS THE FIRST STEP IS TO APPLY THE FUNDAMENTAL PHYSICAL LAWS OF
SCIENCE AND ENGINEERING.”1

1
CONTROL SYSTEMS ENGINEERING ,FIFTH EDITION ,NORMAN S.NISE
PROCEDURE AND RESULTS : Automatic cruise control

The cruise control system of a car is a common feedback system encountered in everyday life. The system attempts

to maintain a constant velocity in the presence of disturbances such as changes in the slope of a road. The controller

compensates for these unknowns by measuring the speed of the car and adjusting the throttle appropriately.

Under certain assumptions, we can model the cruise control system for a car in a simple way. The car is modeled as

a translational mass m where the rotational inertia of the wheels is neglected. The input to the system is the applied

engine force u that produces horizontal motion x, at a speed v=ẋ and acceleration a=ẍ. The frictional force bv, which is

proportional to the speed, opposes the car’s motion. The model of the car’s cruise control system is then reduced to

the mass-damper system in Figure 1

Figure 1 Free Force Diagram for Cruise Control System

For this example, let's assume that the parameters of the system are:

(m) vehicle mass 1000 kg

(b) damping coefficient 50 N.s/m


1. Derive the transfer function model of the cruise control system

𝒅𝒙(𝒕) 𝒅𝟐 𝒙(𝒕)
𝒇(𝒕) = 𝒇𝒗 +𝑴
𝒅𝒕 𝒅𝒕

# Laplace transform 𝑭(𝒔) = 𝒇𝒗 𝒔 𝒙(𝒔) + 𝑴 𝒔𝟐 𝒙(𝒔)


𝑭(𝒔)
= 𝒔(𝒇𝒗 + 𝑴𝒔)
𝒙(𝒔)
𝑭(𝒔)
= 𝒔(𝒇𝒗 + 𝑴𝒔)
𝒙(𝒔)
𝑿(𝒔) 𝟏
=
𝑭(𝒔) 𝒔(𝒇𝒗 + 𝑴𝒔)

2. Create an m-file and enter the transfer function of the system


Conclusion:
In this experiment we discussed how to find a mathematical model called a transfer
function and enter this transfer function models into MATLAB.

The transfer function is defined as the ratio of the Laplace transform of the output to
the Laplace transform of the input. This relationship is algebraic and also adapts itself
to modelling interconnected subsystems.

You might also like