Professional Documents
Culture Documents
Ai 2
Ai 2
This pro-forma should be the first page to any set assignment / coursework. A full assignment brief should
accompany this pro-forma.
Module Code: EE5627/5657 Module Title: Artificial Intelligence Systems Techniques
Module Leader: Maysam Abbod Assessor: Maysam Abbod and Liliana Teodorescu
Further information:
Department of Electronic and Electrical Engineering
College of Engineering, Design and Physical Sciences
Brunel University London
OBJECTIVES
The principal objective is to gain knowledge of the different intelligent system when working on an unrehearsed
problem. The advantages and disadvantages of various methodologies will be evaluated when applied to a simulated
control system. Experience will also be gained in designing a Fuzzy Logic and ANN systems to control the trajectory of a
mobile robot.
REPORT STRUCTURE
The report should not exceed more than 10 pages
WORK DESCRIPTION
1. Introduction
A differential drive mobile robot (DDMR) is a mobile robot equipped with a front castor wheel and a pair of co‐axial
drive wheels at the rear. Each of these wheels is driven by a DC motor.
The DDMR movement is based on the control of these two separately driven wheels. It can change its direction by
varying the relative rate of rotation of its wheels. If both wheels are driven in the same direction and speed, the robot
will go in a straight line. If both wheels are turned with equal speed in opposite directions, as is clear from the diagram
shown in Figure 2, the robot will rotate about the central point of the axis. Since the DDMR cannot drive in the direction
transversal to the wheels’ axis, therefore it is considered as nonholonomic mobile robots.
Figure 1: Differential drive mobile robot (DDMR).
The modelling of the DDMR consists of deriving the kinematic and dynamic models of the robot in addition to the
models of the actuators (DC motors). The kinematic model describes the geometric relationships that govern the
motion of the system and does not consider forces and torques applied to the DDMR. The dynamic model, on the other
hand, is the study of the motion in which forces, and energies are modelled and included. Actuator modelling is needed
to find the relationship between the control signal and the mechanical system’s input.
The aim of this lab is to develop these mathematical models of the DDMR in MATLAB/Simulink and to design a
trajectory tracking controller for the robot. This lab includes three parts which can be carried out independently.
The simplified dynamic model of this DDMR is (refer to reference [2] for more details):
where u is the linear velocity, w is the angular velocity, x, and y are the coordinates, and theta is the angle of the robot
direction.
Let
Figure 3 shows the dynamic and kinematic model of the robot (Simulink models are provided):
Theta
Simulate and analyse the trajectory of DDMR using the overall model (kinematic and dynamic) under different inputs to
illustrate straight line drive, left‐turn, right‐turn and rotation conditions as illustrated in Figure 2.
The simplified dynamic model of this DDMR is (refer to reference [2] for more details):
The developed model based on the kinematic and dynamic models is shown in Figure 4.
xd
x_dot
dxd x
U_r
uref u u
y_dot
d2xd Final
y
theta
yd wref w w
x_tilda theta
W_r
dyd
y_tilda DDMR DDMR
Dynamics Kinematics
d2yd
Reference
Simulate the response of the kinematics and dynamics models with the control law on the model of Figure 4 for two
different trajectory types (1: circle and 2: number Eight shape).
a) Design an inverse-kinematics neural network model for the DDMR using data collected from the Simulink model of
the controlled DDMR. Train ANN controller for the following: circle, Eight shape and combined.
b) Using the same data obtained in part b), design a neuro-fuzzy controller for the same purpose.
c) Implement the proposed controllers in parts a) and b) and compare the results with those obtained using the
inverse kinematic controller.
Note: The controller inputs, x_tilda and y_tilda, are for corrections, you can ignore these on the assumption that the
robot is moving on a smooth surface.
References
[1] R. Dhaouadi and A. Abu Hatab, Dynamic Modelling of Differential ‐Drive Mobile Robots using Lagrange and
Newton‐Euler Methodologies: A Unified Framework, Advances in Robotics and Automation, Vol. 2, Issue 2, 2013.
[2] Felipe N. Martins, Wanderley C. Celeste, Ricardo Carelli, Mario Sarcinelli ‐Filho, Teodiano F. Bastos ‐Filho, An
adaptive dynamic controller for autonomous mobile robot trajectory tracking, Control Engineering Practice
(Elsevier), 16 (2008) 1354– 1363.
[3] P. Suster and A. Jadlovska, Neural tracking trajectory of the mobile robot Khepera II in internal model control
structure, 9th International Conference Process Control, June 7 – 10, 2010, Kouty nad Desnou, Czech Republic.
Part 2: Deep Learning Network Design
Task
An IoT system containing three sensors placed in three physical locations with variable environmental conditions is
used to identify motion in the proximity of the sensors. Sensor readings were collected regularly for a certain period.
Data collected is stored in the file data,cvs attached to this assignment.
ts - time stamp
device – sensor ID
Using this dataset, design and implement a convolutional neural network (CNN) to model the “motion” feature (the
model developed should predict the feature “motion”). Optimise the model (its hyperparameters) and analyse its
performance.
In implementing the CNN, use Keras or another preferred Python based AI tool.
Present the design, implementation, and optimisation process, together with the analysis of the performance in a
technical report.
The report should focus on the practical achievements with diagrams, plots, tables, numerical results. Include only the
necessary text to clearly explain the practical work (avoid extensively long text).
The report should contain only the key points about the code implementation and testing. The full code should be
submitted separately (see below).
Submit the full code of your project as an archived file (zip or a similar format) as Appendix material on Wiseflow.