Escolar Documentos
Profissional Documentos
Cultura Documentos
CONTROL SYSTEMS
Abstract Introduction
IECON '88 I 4 2 8
The p r o d u c t s o f t h e f i r s t class o f embedded c o n t r o l an upper c o n t r o l l e v e l . R e l i a b i l i t y and a v a i l a b i l i t y
systems. s i m p l e m i c r o c o n t r o l l e r systems, are manufac- are often important factors. The control software
t u r e d i n l a r g e q u a n t i t i e s a t low c o s t . T h e i r p h y s i c a l amounts t o hundreds of k i l o b y t e s , i n d i c a t i n g t h a t ad-
s i z e i s u s u a l l y v e r y small and power consumption t e n d s vanced d e s i g n languages and t o o l s ought t o be used.
t o be v e r y l i m i t e d . They a r e based on a one c h i p micro- L i f t c o n t r o l systems, p a t i e n t monitoring systems, c a s h
computer implementation. where t h e s t r u c t u r e of c o n t r o l t e r m i n a l systems, f i r e and b u r g l a r d e t e c t i o n and alarm
software i s r a t h e r straightforward, possibly c o n s i s t i n g system's. medical a n a l y z e r s , p l a n t v e n t i l a t i o n c o n t r o l
of a small number of c o n c u r r e n t p r o c e s s e s . Electronic systems, automatic t e l l e r machines, mine d r i l l i n g ma-
toys, smart cards, watches and keypad/display-con- c h i n e s , c o n t r o l systems f o r welding manipulators, air
t r o l l e r s are some t y p i c a l c u r r e n t examples o f simple t r a f f i c c o n t r o l systems and p r o c e s s s t a t i o n s of a large
m i c r o c o n t r o l l e r systems. automation system are some examples of medium scale
c o n t r o l systems.
Although m i c r o c o n t r o l l e r systems are a l s o o f t e n based
on a one c h i p microcomputer implementation, t h e y have The f i f t h c l a s s of c o n t r o l systems is r e p r e s e n t e d by
more f e a t u r e s and p r o c e s s i n g power than simple micro- l a r g e c o n t r o l systems, p a r t s of which show a l l t h e f e a -
c o n t r o l l e r systems. They are 8 or 16 b i t microcomput- t u r e s of o t h e r c l a s s e s , and also some e x t r a c h a r a c t e r -
ers, whose control s o f t w a r e comprises o f 4 t o 16 i s t i c s . A large c o n t r o l system c o n s i s t s of from t e n s to
kbytes. The a v a i l a b l e memory c a p a c i t y i s l i m i t e d and hundreds o f p r o c e s s o r s , and i t c o n t a i n s a f a s t communi-
a p p l i c a t i o n programming may s t i l l be done a t assembler c a t i o n subsystem, e . g . a c o l l e c t i o n of b u s s e s . Besides
l e v e l . The hardware a r c h i t e c t u r e i s v e r y s i m p l e , b u t f a s t numerical p r o c e s s i n g , symbolic p r o c e s s i n g c a p a b i l -
response time requirements are v e r y t i g h t i n some ap- i t i e s are needed, e s p e c i a l l y i n t h e f u t u r e . The c o n t r o l
p l i c a t i o n s . Cameras, domestic a p p l i a n c e machines, r a d i - software amounts to Mbytes, that means advanced
a t i o n m e t e r s , r a d i o t e l e p h o n e s , c a r d r e a d e r s , dashboard methods, t o o l s and s p e c i a l development environments are
computers, programmable l o g i c c o n t r o l l e r s ( P L C s ) , s l i d e used. Because the life-cycle may extend beyond ten
projectors, hard d i s k c o n t r o l l e r s and I / O - c o n t r o l l e r s years, maintenance a s p e c t s and s o f t w a r e c o n f i g u r a t i o n
of a larger system belong t o t h e class of embedded management become v e r y important f a c t o r s . Telephone ex-
m i c r o c o n t r o l l e r systems. change systems, a i r b o r n e warning and c o n t r o l systems,
p r o c e s s automation systems, c o n t r o l systems of paper
The t h i r d c l a s s , c o n t r o l l e r systems, c o n s i s t s o f gen- machines, energy d i s t r i b u t i o n c o n t r o l systems and l a r g e
e r a l purpose 8 o r 16 b i t microcomputers with a l l t h e alarm systems are t y p i c a l examples of large control
t y p i c a l p a r t s of a c o n t r o l computer. The p r o c e s s i n t e r - s y s tems .
f a c e c o n t a i n s both analog and d i g i t a l l i n e s and commu-
n i c a t i o n c a p a b i l i t i e s are needed. I n many a p p l i c a t i o n s The s i x t h c l a s s o f embedded c o n t r o l systems i s c a l l e d
real-time requirements a r e v e r y t i g h t and t h e minimum s p e c i a l purpose c o n t r o l system, because t h e y have some
response time requirements are i n t h e range of mil- a p p l i c a t i o n s p e c i f i c p r o p e r t i e s , which a r e n o t included
l i s e c o n d s . The c o n t r o l s o f t w a r e , which i s based on a i n o t h e r classes. They u s u a l l y c o n s i s t o f g e n e r a l pur-
simple real- time k e r n e l , amounts t o t e n thousands k i l o - pose computer p a r t s as w e l l as s p e c i a l p r o c e s s o r p a r t s .
b y t e s and h i g h l e v e l languages are used i n programming. They perform a p p l i c a t i o n s p e c i f i c a l g o r i t h m s and have
T y p i c a l examples in this c l a s s are t e r m i n a l s , laser high processing c a p a b i l i t i e s f o r those s p e c i f i c appli-
printers, a d v e r t i s i n g d i s p l a y systems, e l e c t r o n i c en- c a t i o n s . Processed d a t a i s huge and i n a d d i t i o n t o sym-
gine controllers, i n d u s t r i a l furnace c o n t r o l l e r s . oil b o l i c processing capabilities, f a s t number crunching
content analyzers. servo controllers, ticket automa- c a p a b i l i t i e s are needed. Production volumes are low and
t o n s , mobile r a d i o t e l e p h o n e s , P I D - c o n t r o l l e r s . AC mo- customized f e a t u r e s are of great importantance. Image
t o r - c o n t r o l l e r s and i n d u s t r i a l weighing machines. p r o c e s s i n g systems, advanced r o b o t c o n t r o l systems, ad-
vanced welding control systems, simulation/emulation
The next c l a s s of embedded c o n t r o l systems a r e medium environments and c o n t r o l systems i n space a p p l i c a t i o n s
s c a l e c o n t r o l systems, which u s u a l l y c o n s i s t o f s e v e r a l a r e examples of s p e c i a l purpose c o n t r o l systems.
8 and 16 b i t microcomputers. Athough they are manufac-
t u r e d i n series p r o d u c t i o n , some customization f e a t u r e s 2. CHARACTERIZATION OF EMBEDDED CONTROL SYSTEMS
a r e o f t e n r e q u i r e d . The amount of I / O - l i n e s can be up
t o one thousand and minimum response times are i n t h e Jn t h i s s e c t i o n , t h e c h a r a c t e r i s t i c s of embedded con-
range o f milliseconds. Fast communication lines are? trol computer systems are defined. W
e divide these
used between subcomputers and a l s o t o connect them to c h a r a c t e r i s t i c s i n t o e i g h t groups as follows:
IECON '88 I429
2.2 Processor c a p a b i l i t i e s
Hardware a r c h i t e c t u r e
Processor c a p a b i l i t i e s
Software c h a r a c t e r i s t i c s The p r o c e s s o r c a p a b i l i t i e s express t h e p r o c e s s i n g prop-
R e l i a b i l i t y and s a f e t y c a p a b i l i t i e s a r e a s follows:
Environmental c o n d i t i o n s
Physical c o n s t r a i n t s 1' Word l e n g t h
1 Number of p r o c e s s o r s 3 I n s t r u c t i o n set
The number of processors gives the number of pro- This p r o p e r t y c h a r a c t e r i z e s t h e v e r s a t i l i t y of t h e i n -
gramnable p r o c e s s o r s of a system. Typical v a l u e s are 1, s t r u c t i o n s e t of t h e processor. I t can be c h a r a c t e r i z e d
5, 10, 50, 100 o r more than 100 p r o c e s s o r s . by a szmple, medium or compZex i n s t r u c t i o n s e t . The
simple i n s t r u c t i o n set means t h a t t h e amount of d i f f e r -
2 Interconnection s t r u c t u r e e n t i n s t r u c t i o n s i s small and a p r o c e s s o r has q u i t e few
The i n t e r c o n n e c t i o n s t r u c t u r e d e s c r i b e s how d i f f e r e n t a d d r e s s i n g modes. A processor with t h e complex i n s t r u c -
i n t e r n a l processing p a r t s a t each h i e r a r c h i c a l level t i o n set c o n t a i n s many hundred i n s t r u c t i o n s and s e v e r a l
are connected. Typical means a r e single processor bus, d i f f e r e n t a d d r e s s i n g modes, a s well a s , some high l e v e l
multiprocessor bus, serial busses and special busses. i n s t r u c t i o n s . A p r o c e s s o r with a medium i n s t r u c t i o n s e t
i s between p r o c e s s o r s with t h e simple and complex i n -
3 Mass memory s i z e struction set.
T h i s p r o p e r t y g i v e s t h e amount of t h e secondary s t o r a g e
of a system. Typical v a l u e s a r e 10 MB, 100 MB, 1 GB and 4 P r o c e s s i n g speed
more than 1 GB. This p r o p e r t y i s a measure of how many i n s t r u c t i o n s a
p r o c e s s o r can perform i n one second. T y p i c a l v a l u e s a r e
4 I/O-lines 0.1, 0.5, I, 5, 10, 50 and more than 50 MIPS.
This p r o p e r t y s t a t e s t h e amount of i n p u t / o u t p u t l i n e s
of a system. Typical numbers of I/O-lines a r e 8, 16, 5 F l o a t i n g p o i n t processing speed
3 2 , 128, 512, 1024 and more than 1024 lines. This p r o p e r t y i s a measure of how many f l o a t i n g p o i n t
o p e r a t i o n s a processor can perform i n one second. Typr-
5 Communication a r c h i t e c t u r e c a l values a r e 10 W L O P S , 100 W L O P S , 1 MFLOPS, 10
The communication a r c h i t e c t u r e d e s c r i b e s how d i f f e r e n t MFLOPS and more than 1 0 MFLOPS.
f u n c t i o n a l u n i t s communicate with o t h e r u n i t s o r e x t e r -
n a l systems. Typical a l t e r n a t i v e s a r e slow serial lines 6 Symbolic p r o c e s s i n g speed
(speed < 20 k b i t s / s e c ) . tast serial lines (speed > 20 This p r o p e r t y i s a measure of how many l o g i c a l i n f e r -
kbrts/sec). SLOW LocaL area n e t w o r k s ( L A N s ) (speed i 5 ences a p r o c e s s o r can perform i n one second. Typical
Mbits/sec) and fast L A N s (speed > 5 Mbits/sec). v a l u e s a r e 0.1 k L I P S , 1 k L I P S , 10 R L I P S , 100 k L I P S and
1 MLIPS.
6 U s e r interface
The u s e r i n t e r f a c e o u t l i n e s c h a r a c t e r i s t i c s of t h e hu- 7 V i r t u a l memory/protection scheme
man/machine interface. Usual means are simple key- This p r o p e r t y c h a r a c t e r i z e s t h e v i r t u a l memory and p r o -
pad(/display) unit, keyboard and dispZay terminal, ad- t e c t i o n c a p a b i l i t i e s of a processor. I t can be s i m p l c
vanced (graphic) interface and special interfaces. o r advanced. The advanced scheme means t h a t a processol
has a paged and/or segmented memory with p r o t e c t i o n ca
p a b i l l t i e s a s w e l l as many p r i o r i t y l e v e l s . A process0
IECON '88 I 4 3 0
with t h e simple scheme has only very l i m i t e d v i r t u a l simple e m u l a t o r s . A development system i n c l u d e s assem-
memory/protection c h a r a c t e r i s t i c s . blers, HLL's. e m u l a t o r s , and o t h e r c o n v e n t i o n a l t o o l s .
An advanced development system s u p p o r t s s o f t w a r e con-
8 Pipeline/cache f i g u r a t i o n management, a u t o m a t i c code g e n e r a t i o n , elec-
T h i s p r o p e r t y c h a r a c t e r i z e s p i p e l i n e and cache f e a t u r e s t r o n i c m a i l , etc. I n some c a s e s advanced o r special de-
of a p r o c e s s o r . The advanced p i p e l i n e l c a c h e p r o p e r t i e s velopment environments are used.
i n c l u d e p i p e l i n e f e a t u r e s , i n s t r u c t i o n and d a t a caches.
A p r o c e s s o r with t h e simple p r o p e r t i e s has u s u a l l y o n l y 6 Software c o n f i g u r a t i o n management
a small i n s t r u c t i o n cache or queue. T h i s p r o p e r t y c h a r a c t e r i z e s methods and systems used i n
s o f t w a r e c o n f i g u r a t i o n management (SCM). I n a modest
2.3 Software c h a r a c t e r i s t i c s method o n l y s i m p l e t o o l s are a v a i l a b l e . I n an advanced
method t h e whole s o f t w a r e development and p r o d u c t i o n
The software characteristics of an embedded system system i s based on t h e concept of SCM.
s p e c i f y t h e amount and t h e complexity of the control
s o f t w a r e as w e l l as t h e methods, t o o l s and systems used 2.4 Performance c h a r a c t e r i s t i c s
t o d e s i g n t h e c o n t r o l s o f t w a r e . The s o f t w a r e c h a r a c t e r -
i s t i c s are as f o l l o w s : The performance characteristics indicate performance
measures of a whole c o n t r o l system. The c h a r a c t e r i s t i c s
1 Amount of c o n t r o l s o f t w a r e are as f o l l o w s :
This property gives the amount of absolute control
s o f t w a r e as l i n e s of s o u r c e code. T y p i c a l v a l u e s are 1 C o n t r o l c y c l e time
1 000, 10 000, 100 000 and 1 000 000 code lines. T h i s p r o p e r t y d e s c r i b e s how l o n g t h e c o n t r o l c y c l e is
allowed to l a s t by an e x t e r n a l process/environment.
2 O p e r a t i n g system T y p i c a l v a l u e s are 1 s, 100 ms, 10 ms, 1 ms and 0.1 ms.
T h i s p r o p e r t y d e s c r i b e s t h e v e r s a t i l i t y of t h e o p e r a t - In a h i e r a r c h i c a l system t h e r e are d i f f e r e n t cycle
i n g system a t t h e h i g h e s t f u n c t i o n a l l e v e l of a system. times a t d i f f e r e n t f u n c t i o n a l l e v e l s of a system.
A simple kernel c o n t a i n s o n l y t h e b a s i c f e a t u r e s of t h e
o p e r a t i n g system and i t s s i z e i s a few k b y t e s . The n e x t 2 Rate of i n p u t d a t a
c a t e g o r y i s a real-time operating system with t h e s i z e T h i s p r o p e r t y g i v e s a measure f o r t h e i n p u t d a t a rate
of t e n s of k b y t e s . An advanced operating system has a l l that a c o n t r o l system must be a b l e t o p r o c e s s . The
the features of the multiuser operating systems of range i s v e r y e x t e n s i v e : from less than 1 b i t / s e c to
minicomputers. more than 100 Mbits/sec.
I
CLASS OF EM-
HARDWARE ARCHITECTURE
BEDDED CONTROL Number of Interconnection Mass me- w- Communication User
COMPUTER SYSTEM processors structure mory size lines architecture interface
SIMPLE
MICROCONTROLLER
no external bus ...16 very simple
MICRO-
CONTROLLER 1 single processor bus 10...64 slow serial lines ke ypadldisplay
I
PROCESSOR CAPABILITIES
CLASS OF EM-
BEDDED CONTROL Instruction F'rocessing Floating point Symbolic pro- Virtual memory/ Pipeline/
Word length Size Of
COMPUTER SYSTEF physical memory set speed processing speed cessing speed protect. scheme cache
I
SIMPLE 418 bits ...0.1 M I P S
MICROCONTROLLE
LARGE CONTROL 32 bits 0.5...16 MB 0.5...5 MIPS 0.1.3 MFLOPS 5...100 kLWS advanced advanced
SYSTEM
SIMPLE
MICROCONTROLLER 0.1...0.5 sec ...100 bits/sec normal normal
MICRO
CONTROLLER 5 0100msand
2.2sec 5 000 bits/sec normal normal
CONTROLLER
SYSTEM
I 1...100 ms and
0.2...2 sec --1
1 000...500 000 bitsisec normal or high normal or high
MEDIUM SCALE
CONlXOL SYSTEM
\ 1...100 ms and
05.. 5 sec 10 000...2 000 000 bitsisec normal to very high normal to high
1...100 ms and
1...20 sec ...20 Mbits/sec I normal to very high normal to very high
E D I U M SCALE normal and harsh normal and harsh normal and harsh normal normal
CONTROL SYSTEM
L m G E CONTROL
SYSTEM normal and harsh normal and harsh noma1 and harsh 1 normal normal
SPECIAL PURPOSE normal and spccial normal and spccial normal and special normal and special normal a i d special
CONTROL SYSTEM
SIMPLE
$1..SO >lo0 000
MICROCONTROLLER
CONTROLLER
$5 OO...20 000 1OO0...100 000 medium
SYSTEM
SPECIAL PURPOSE
k$20. ..200 1o... 1000 high
CONTROL SYSTEM
IECON '88I 4 3 5