Professional Documents
Culture Documents
EMBEDDED CONTROL
SYSTEMS
Dr Simon A Pope
s.a.pope@sheffield.ac.uk
AJB room C07d
Module Aim
To demonstrate how the desired functionality of a
system, for example; a control system, fault
detection system, health monitoring system, etc.,
can be developed and implemented using a CPU
and external devices into an embedded system
application/device to perform the desired tasks in
the real world:
Interfacing hardware associated with
embedded systems
Realising the desired functionality of an
embedded system through software
Structure
The module contains substantial inquiry based
learning using take home lab kit:
Lectures cover general concepts and background.
Demos show the implementation of some of the concepts
on a real system.
Additional reading covers additional concepts and more
detail on those covered in the lectures.
Labs provide further information on the concepts covered in
this module and allow you to gain experience implementing
them.
Assessment
Further Reading
Details about all additional recommended sources
of information are available on MOLE:
The additional reading sheets
A link to a folder containing the data sheets
and support material for the STM Discovery
board you will need to download this to be
able to use the equipment.
A list of books and external sources.
Feedback
Lecture 1
Introduction to Embedded
Systems
What is an embedded system?
Introduction
How do you realise a design?
Theoretical idea/design
Model and
simulate design
Rapid control
prototyping
Embedded
system
Introduction
What is an Embedded System?
An embedded computer system is
any device that includes a
programmable computer but is not
itself intended to be a generalpurpose computer
MP3 Player
Wireless router
Generalisation
Digital/
Analog
Microprocessor/
Input Microcontroller Output
MEM
Storage of code
and data
Other
hardware
Digital/
Analog
Generalisation
Controller
1
Controller
2
Plant
Hardware specification
Speed and cost requirements are different for each
application
Can require some form of user interface
Embedded systems often use custom hardware (e.g. DSP)
to perform computationally intensive functions combined
with lower power CPU.
Power consumption affects cost of hardware, battery life
and also weight
Minimise memory (code and data size)
Minimise processor speed
Microprocessors / Microcontrollers
Canon IXUS
130
Canon IXUS
105
Software specification
The program and data which enables most of the functions
of embedded systems, particularly basic functions, is often
called firmware. Usually it cannot be altered by the user.
In some cases additional software can be used to add more
user functionality.
Firmware/Software on embedded systems often run with
real-time constraints and limited hardware resources.
Reliability
Embedded systems often run continuously for years without
errors and may be outside the reach of humans:
Often avoid moving parts (rotating disk drives) in
favour of solid state devices (flash memory)
Firmware developed and tested more rigorously than
software for PCs
In class task
In groups (or on your own) select an example of
an embedded system.
Determine what the expected tasks of the system
are by consideration of its main functions.
Are these tasks hard or soft?
Which would you expect to be periodic and which
aperiodic?
Summary
Module Timetable and Structure
Module Assessment
What is an embedded system?
Characteristics of embedded systems
Examples of embedded systems
Some brief definitions:
Hard and soft real-time systems
Periodic and aperiodic tasks
Additional reading document Bits, bytes and bitwise logic
operations.
Demo 1
Introduction to the individual lab
kit
Introduction to the STM32F4Discovery
Introduction to the Keil Vision
programming environment
Developing your first basic program
Processor
ARM
- An
embedded
Cortex
M-4
Peripherals
Accelerometer
(LIS3DSH)
Base
boardaudio driver
Microphone and
Keil Vision
- The programme development environment
Supports the STM32F4 Discovery
Contains peripheral drivers and a Real-Time Operating System