tool [4]. Experiments were performed for StrongARM SA-1100 processor for operating
frequency of 206MHz.
Another interesting issue in the embedded system design is the ability to produce
results in real time. We break this requirement into two smaller: (i) the time interval
between two successive sets of input data should be enough so that all necessary calcu-
lations are completed and (ii) the system should produce output in a constant rate and
for every set of input data. The second requirement is not always possible, necessary or
it can be very expensive.
In a HRV system the actual input is in general the ECG signal, from which the se-
quence of beats are constructed by proper algorithms for detection of individual heart-
beats. The rate of the heartbeats is approximately, one per second. Thus, necessary
calculations for each beat should be completed in one second, plenty of time for both
simple and complex algorithms. When for coherence and redundancy of results the
HRV index is computed with more than one algorithm in parallel, the one second time
interval may not be enough. In this case a more powerful processor and/or faster mem-
ory units might be necessary. The ability to produce results for every input beat instead
of only producing the final result at the end is desirable but not necessary. The physi-
cian needs only the final value of the index after all computations have been completed.
However, the capability of the algorithm to produce intermediate results is an interest-
ing feature. As an example consider the case of 24 hours recordings, where an early
approximation of the final result might be useful.
The growing importance of power consumption minimization affects drastically the
design of the embedded systems, since they are often part of mobile devices which
obtain energy through their batteries. The autonomy of these devices as well as the life
of the battery depend on the power consumption. Power consumption is mainly affected
by the selection of the processor and the memory system.
In order to have an estimation for the energy requirements we calculate the power
consumption for each algorithm. Each machine code instruction consumes a different
amount of power: indexed access to memory is more expensive than the direct one, mul-
tiplications are mode expensive than additions etc. We calculate the power consumption
of each algorithm using again the JouleTrack tool [4].
Another factor that affects the financial cost and the power consumption is the inter-
face of the software with the rest of the embedded system. The device that the physician
will use must provide the maximum information, however, sometimes it is possible to
simplify the application interface without affecting significantly the functionality, for
example a numerical display can sometimes substitute a graphical screen. The commu-
nication of an embedded software with the rest of the system is usually done through
specific hardware. Generally this is not expensive, however it should be kept to mini-
mal. In the HRV computation problem some algorithms produce only a single number
as an output while some other require a high definition graphical interface.
Finally, embedded systems are of low weight and small size. Mobile telephones are
typical examples where size and weight seems to be a challenge and affect drastically
the commercial value of the product. Small program size, low memory requirements,
low power consumption and simple application interface result into smaller and lighter
chips and batteries.
152