Embedded System Components
Embedded System Components
MODULE - 3
Embedded System
Components
5
History of Embedded Systems
• Embedded systems were in existence even before the IT revolution.
• Built around the old vacuum tube and transistor technologies.
• Advances in semiconductor and nanotechnology and IT revolution gave way to the
development of miniature embedded systems.
• The first recognised modern embedded system is the Apollo Guidance Computer (AGC)
developed by the MIT Instrumentation Laboratory for the lunar expedition.
• It had 36K words of fixed memory and 2K words of erasable memory.
• The clock frequency of was 1.024 MHz and it was derived from a 2.048 MHz crystal clock.
• The first mass-produced embedded system was the Autonetics D-17 guidance computer
for the Minuteman-I missile in 1961.
• It was built using discrete transistor logic and a hard-disk for main memory.
• The first integrated circuit was produced in September 1958 and computers using them
began to appear in 1963.
Embedded System
Real World
It is a dependent unit. It requires the combination of other chips It is a self-contained unit and it doesn't require external interrupt
like timers, program and data memory chips, interrupt controllers, controller, timer, UART, etc. for its functioning
etc. for functioning
Most of the time, general purpose in design and operation Mostly application-oriented or domain-specific
Doesn't contain a built in I/O port. The I/O port functionality needs Most of the processors contain multiple built-in I/O ports which can
to be implemented with the help of external programmable be operated as a single 8 or 16 or 32 bit port or as individual port
peripheral interface chips like 8255 pins
Targeted for high end market where performance is important
Targeted for embedded market where performance is not so critical
Limited power saving options compared to microcontrollers Includes lot of power saving features
Single, fixed length instructions Less silicon usage and pin count
With Harvard Architecture
45
Harvard vs. Von-Neumann
Processor/ControIIer Architecture
• Von-Neumann Architecture
• Microprocessors/controllers based on the Von-Neumann architecture share
a single common bus for fetching both instructions and data.
• Program instructions and data are stored in a common main memory.
• They first fetch an instruction and then fetch the data to support the
instruction from code memory.
• The two separate fetches slows down the controller's operation.
• Von-Neumann architecture is also referred as Princeton architecture, since
it was developed by the Princeton University.
• The first instruction load R1, x loads the register R1 with the content of memory location
x.
• The second instruction load R2, y loads the register R2 with the content of memory
location y.
• The instruction add R3, R1, R2 adds the content of registers R1 and R2 and stores the
result in register R3.
• The next instruction store R3,z stores the content of register R3 in memory location z.
Shrishail Bhat, Dept. of ECE, AITM Bhatkal 53
Load Store Operation and Instruction
Pipelining (continued)
• The conventional instruction execution by the processor follows the fetch-
decode-execute sequence.
• The fetch part fetches the instruction from program memory or code
memory.
• The decode part decodes the instruction to generate the necessary control
signals.
• The execute stage reads the operands, perform ALU operations and stores
the result.
• In conventional program execution, the fetch and decode operations are
performed in sequence. For simplicity let's consider decode and execution
together.
60
Advantages of PLD
• PLDs offer customers much more flexibility during the design cycle because design
iterations are simply a matter of changing the programming file, and the results of design
changes can be seen immediately in working parts.
• PLDs do not require long lead times for prototypes or production parts—the PLDs are
already on a distributor's shelf and ready for shipment.
• PLDs do not require customers to pay for large NRE costs and purchase expensive mask
sets—PLD suppliers incur those costs when they design their programmable devices and
are able to amortize those costs over the multi-year lifespan of a given line of PLDs.
• PLDs allow customers to order just the number of parts they need, when they need
them, allowing them to control inventory.
• PLDs can be reprogrammed even after a piece of equipment is shipped to a customer.
The manufacturers can add new features or upgrade products that already are in the
field. To do this, they simply upload a new programming file to the PLD, via the Internet,
creating new hardware logic in the system.
Word line
-J
Fig:
DRA
M
Shrishail Bhat, Dept. of ECE, AITM Bhatkal
cell 81
SRAM vs DRAM
• Table given below summarises the relative merits and demerits of SRAM and
DRAM technology.
SRAM Cell DRAM Cell
Made up of 6 CMOS transistors (MOSFET) Made up of a MOSFET and a capacitor
Doesn't require refreshing Requires refreshing
Low capacity (Less dense) High capacity (Highly dense)
More expensive Less expensive
Fast in operation. Typical access time is 10ns
Slow in operation due to refresh requirements. Typical
access time is 60ns. Write operation is faster than read
operation.
Cathode
Common Cathode LED Display
• The freewheeling diode is essential for Fig: Transistor based Relay driving circuit
protecting the relay and the transistor.
• Most of the industrial relays are bulky and require high voltage to operate.
• Special relays called 'Reed' relays are available for embedded application requiring
switching of low voltage DC signals.
Shrishail Bhat, Dept. of ECE, AITM Bhatkal 108
Piezo Buzzer
• Piezo buzzer is a piezoelectric device for generating audio indications in embedded
application.
• A piezoelectric buzzer contains a piezoelectric diaphragm which produces audible
sound in response to the voltage applied to it.
• Piezoelectric buzzers are available in two types - 'Self-driving' and 'External driving'.
• The Self-driving circuit contains all the necessary components to generate sound at a
predefined tone.
• It will generate a tone on applying the voltage.
• External driving piezo buzzers support the generation of different tones.
• The tone can be varied by applying a variable pulse train to the piezoelectric buzzer.
• A piezo buzzer can be directly interfaced to the port pin of the processor/control.
• Depending on the driving current requirements, the piezo buzzer can also be
interfacedusing a transistor based driver circuit as in the case of a 'Relay'.
Shrishail Bhat, Dept. of ECE, AITM Bhatkal 109
Push Button Switch
• It is an input device.
• Push button switch comes in two configurations, namely 'Push to Make' and
'Push to Break'.
• In the 'Push to Make' configuration, the switch is normally in the open state
and it makes a circuit contact when it is pushed or pressed.
• In the 'Push to Break' configuration, the switch is normally in the closed state
and it breaks the circuit contact when it is pushed or pressed.
• The push button stays in the 'closed' (For Push to Make type) or 'open' (For
Push to Break type) state as long as it is kept in the pushed state and it
breaks/makes the circuit connection when it is released.
• Depending on the way in which the push button Fig: Push button switch configurations
interfaced to the controller, it can generate either a
'HIGH' pulse or a 'LOW' pulse.
RXD
X RXD
NC 24No Connection
NC 25No Connection
• Control transfer : Used by USB system software to query, configure and issue commands to the USB device.
Microcontroller Microprocessor
C : Capacitor
Y : Resonator
Crystal oscillator
Osci alor
unit
Quartz crystal
resonator
run Clock input pin
Oscillator
unit
Fig: Oscillator circuitry using quartz crystal and quartz crystal oscillator