Documente Academic
Documente Profesional
Documente Cultură
Presented By
Dr.R.Murugan
Assistant Professor
Department of Electronics and Communication Engineering
National Institute of Technology Silchar
Digital camera
Data compressor
Software modem
Elevator Controller
Alarm Clock
Digital Cameras
Introduction
• Digital Camera Embedded System
– General-purpose processor
– Special-purpose processor
Custom or Standard
– Memory
– Interfacing
• Designing a simple digital camera
– General-purpose vs. single-purpose processors
– Partitioning of functionality among different types of
processor
A Simple Digital Camera
A Simple Digital Camera
Design Challenges
Design Challenges
Design Challenges
Design Metric
Time-to-Market
The Performance: A Design Metric
Digital Camera Designer’s Perspective
File management
Exchangeable image file format
• EXIF standard gives format for digital pictures:
– Format of data in a file.
– Directory structure.
• EXIF file includes:
– Image (JPEG, etc.)
– Thumbnail.
– Metadata (camera type, date/time, etc.)
Data Compressor
Compression
DCT step
Quantization Step
Huffman Encoding
Requirements
name Data compression module
purpose Code module for Huffman data compression
inputs Encoding table, uncodedbyte-size input symbols
manufacturing NA
cost
power NA
physical NA
size/weight
Requirements Specification
Non-functional Requirements
Non-functional Requirements
Informal Functional Specification
Software Modem
Theory of Operation and
Requirements
• The modem will use frequency-shift keying (FSK),a technique
used in 1200-baud modems.
• The FSK scheme transmits sinusoidal tones, with 0 and 1
assigned to different frequencies.
• Sinusoidal tones are much better suited to transmission over
analog phone lines than are the traditional high and low
voltages of digital circuits.
PM buzzer
Alarm
ready
light
set set hour minute
time alarm button
Operations
• Set time: hold set time, depress hour, minute.
• Set alarm time: hold set alarm, depress hour, minute.
• Turn alarm on/off: depress alarm on/off.
Alarm clock requirements
Name Alarm clock
purpose 24-hour digital clock with one alarm
inputs set time, set alarm, hour, minute, alarm on/off
functions keep time, set time, set alarm, turn alarm on/off, activate
buzzer by alarm
performance hours and digits, no seconds; not high precision
1 1 1 1
Lights* Display Mechanism
1
1
1
Buttons*
Speaker* 1
Block diagram
System architecture
• Includes:
– periodic behavior (clock);
– aperiodic behavior (buttons, buzzer activation).
• Two major software components:
– interrupt-driven routine updates time;
– foreground program deals with buttons, commands.
Interrupt-driven routine
• Timer probably can’t handle one-minute interrupt interval.
• Use software variable to convert interrupt frequency to
seconds.
Testing
• Component testing:
– test interrupt code on the platform;
– can test foreground program using a mock-up.
• System testing:
– relatively few components to integrate;
– check clock accuracy;
– check recognition of buttons, buzzer, etc.