Professional Documents
Culture Documents
Lecture Note
Lecture Note
▪ Now we need to make “computers for the rest of you.” We need computers that respond to
the rest of your body and the rest of your world.
▪ We need to think about computers that sense more of our bodies, serve us in more places,
and convey physical expression in addition to information
▪ Computers should take whatever physical form suits our needs for computing.
▪ We need to think about computers that sense more of our bodies, serve us in more places, and
convey physical expression in addition to information
▪ How we think of computers is reflected by its input and output devices. In the case of most
desktop computers, this means a mouse, a keyboard, a monitor, and speakers.
▪ How would computers look like if we could design them to capture the full range of expressions
humans are capable of? Or if we could design them to converse with the physical world?
▪ “Loosely defined, they are devices that include a programmable computer but are not
themselves intended to be general-purpose computers”
▪ Generally, the job of the embedded systems designer is to find and learn how to use transducers
to convert physical energy into electrical energy and vice versa.
▪ The process of interaction i.e. sending input and receiving output differ significantly.
▪ General purpose computers often use a keyboard for input, and some sort of screen for output.
▪ On the other hand, sending input to an embedded system could be enabled by the use of
sensors and output can be provided using actuators.
▪ Also, embedded systems receive and provide output in both digital and analog forms.
▪ Digital input or output exists in two discrete states whiles analog input or output exists as a
continuous range of multiple states
▪ Factory Automation
▪ Robotics
▪ All electrical and electronic devices exploit the fact that electrons have a
tendency to go from a point of greater electrical energy to a point of lesser
electrical energy.
▪ The simplest way to transform human action into electrical energy is by using a
switch.
▪ A switch is a break in the circuit that stops the electrons from flowing. By closing
the switch, you close the break in the circuit and allow the electrons to flow again.
▪ There are three basic electrical characteristics that come into play in every circuit
1. The relative level of electrical energy between any two points in the circuit is
called the voltage which is measured in volts
2. The amount of electrical energy passing through any point in the circuit is the
current measured in amperes.
3. The extent to which any component in the circuit resists the flow of current i.e.
resistance which is measured in ohms.
▪ The combination of current and voltage is called electrical power, or wattage. It’s
measured in watts.
▪ The amount of wattage you supply to a circuit determines how much work it can
do. The more work you need done, the more power you need.
▪ Generally, input components of your circuits would need less power than output
components.
▪ All the electrical energy in a circuit must be used. Any excess energy would be
converted to heat. Thus too much energy would damage your components.
▪ When components in a circuit are in series, the current is the same for each of
them, but the voltage decreases as each component uses some of it up.
▪ When components are in parallel, the current is split between them, depending on
their relative resistances. The more resistance a component has, the less current
goes through it. The voltage across them is the same, though.
▪ V = V1 + V2+ V3
▪ Total R = R1 + R2 + R3
1 1 1 1
▪ = + +
𝑅𝑇 𝑅1 𝑅2 𝑅3
▪ Microcontrollers are usually more suited for developing real-time systems based
on their architectures
CSC405A Real Time & Embedded Systems 2019/2020 19
Microcontrollers / Microprocessors
▪ Programming Environment
▪ There are several features to
consider when picking which ▪ Number of input and output pins
microcontroller you plan to use.
▪ Speed of execution
▪ Price
▪ Amount of memory
▪ Power Consumption
▪ Designing embedded systems is non-trivial. Given the some of the critical applications we
have discussed, embedded systems must be dependable.
▪ A system is dependable if it provides its intended service with a high probability and does
not cause any harm.
▪ Secondly, embedded systems must be resource aware. The following resources have to
be considered:
▪ Energy
▪ Run-time
▪ Code-size
▪ Weight
▪ Cost
CSC405A Real Time & Embedded Systems 2019/2020 22
Challenges Of Embedded Systems Development
▪ Complex Testing - We may have to run a real machine in order to generate the proper
data. We cannot separate the testing of an embedded computer from the machine in
which it is embedded.