You are on page 1of 44

NEC, Birmingham

tober
1st-2nd c
O
October 2008 Vol 16.6

w!
Register neod.co.uk
edd
www.emb

< Embedded System Engineering >


< www.embedded.co.uk > The official journal of the
Embedded Systems Show

Also in this issue :


ESS Update
It’s not too late to register for free
entry to the UK’s leading embedded
electronics trade show. Find out more
about what’s on offer, inside!
In this issue:
Technology
Application Focus:
Focus:
Software Designin High Technology Focus:
Convergence
Volume
Parallel Applications System Development- Technology Focus:
architectures
demand innovative
High Definition and 3D Power Components - Digital
solutions Super capacitors; an
graphics converge in Multicore processing
advanced platforms alternative to Li-Ion demands consideration
Incorporating ‘Embedded2Enterprise’ and ‘Embedded Distribution’
ESE C O t08 i dd 1 12/9/08 14 15 53
P01_ESEOct08.indd 1 12/09/08 17:18:05
P02_ESEOct08.indd 1 15/09/08 14:36:29
< Contents >
Editorial
Editor:
Philip Ling
E-mail: phil@cassidy-communications.co.uk
Tel: 01622 746580
Embedded System Engineering
Consultant Editor: October 2008 www.embedded-europe.com
Colin Holland
E-mail: cholland@techinsights.com
Tel: 0208 319 1324 Editor’s Comment
Managing Editor: 04 Bigger or Better?
Andrew Porter
E-mail: aporter@techInsights.com
Tel: 020 7560 4029

Advertising Industry News


Advertisement Manager (UK):
Steve Banks 06 Making waves
E-mail: steve@x3dmedia.com

European Sales Director


Geert De Vuyst
E-Mail: geert.devuyst@eetimes.be
Application Focus
Phone: +32 2740 0050 Convergence in High Volume Applications
Non-UK advertising contacts – page 35
08 Talkin’ ‘bout a revolution
Advertising Production Manager
Lydia Gijsegom 12 Time-critical calculations
E-mail: production@eetimes.be

Art Manager
Jean-Paul Speliers
ESS 2008
Subscriptions 16 Teardowns and free kits
Circulation Manager:
Luc Desimpel 16 Conference update
E-mail: luc.desimpel@eetimes.be

Free Subscriptions:
Embedded System Engineering
is available on free subscription Technology Focus
to UK readers qualifying under
the publisher’s terms of control. System Development – Power
See www.esemagazine.com/register 18 Super-capacitors lead the charge
ESE is published by:
TechInsights Europe
System Development – Power
144 Avenue Plasky 22 It’s every designer’s responsibility
1030 Brussels, Belgium

André Rousselot – Publisher Components - Digital


24 Halving the pain through parallelism
TechInsights
Paul Miller – Chief Executive Officer 28 Your flexible friend
Steve Corrick – Vice President of Sales
Felicia Hamerman – Group Marketing Director
David Blaza – Vice President, EE Times & TechOnline
Jenn Markey – Chief Marketing Officer
James Lonsdale-Hands – Vice President, ESC & Events
Harry Page – President, Semiconductor Insights
Steve Arend – Chief Dev. Officer, TechInsights Studio
Embedded 2 Enterprise
32 ZigBee simplifies water meter reading
United Business Media LLC
Scott Mozarsky – Chief Operating Officer
David Wein – Chief Financial Officer
Kevin Prinz – Chief Information Officer
Anne Marie Miller – Corp. Senior VP Sales
Marie Myers – Senior VP, Manufacturing
Embedded Distribution
Pat Nohilly – Senior VP, Strategic Development and
Business Administration
36 Singling out a solution
Alexandra Raine – Senior VP, Communications
40 Embedded services target XP Professional
© TechInsights Europe
Reproduction in whole or part
without prior permission from the
publisher is strictly prohibited. A Standard Individual
42 Life is a cabaret oh chum, come to the cabaret!

www.embedded-europe.com ESE Magazine October 2008 03

P03_ESEOct08.indd 3 15/09/08 17:05:07


< Editorial
/Editorial>>
Editorial comment
Bigger or Better??
By Philip Ling, Editor

oth! This year, the Embedded Systems Show If that isn’t enough to entice you to the NEC, take a

B promises to be both bigger and better than


ever before, thanks largely to a commitment to
its success from new owners, TechInsights.
In case there are any readers who aren’t yet aware,
ESE Magazine and the Embedded Systems Show were
look through this issue. You’ll see three articles cover-
ing some of the hot topics on offer at the show. They
include: how to accelerate embedded graphics through
dedicated hardware (page 8); getting to grips with
multicore processors (page 24), and streamlining your
purchased earlier this year by media giant, United Busi- development cycle using single-board computers (page
ness Media, becoming part of the TechInsights stable of 36). All of these areas – and much more – feature in the
print and online media products dedicated to the elec- Technical Programme, both in the conference and free
tronics industry, which includes EETimes Europe and workshops.
Embedded Systems Design Europe. Some may argue an engineering team has access
Since then, the show organisers have worked relent- to all the information it needs, via the internet. Simply
lessly to bring renewed vigour to the show by adding put, that just isn’t possible; while the internet – a col-
features never before seen in a UK show. lection of disparate databases brought together using
Historically at this time of year, this column would a common protocol – may offer you access to existing
advocate attending the show, and for obvious reasons. knowledge, it’s only through the interaction of like-mind-
This year the advice is reinforced and with good reason; ed people that new knowledge is created. By default, if
there will be representatives from around 90 companies it’s available on the internet, it’s already out of date! By
on hand, ready to give you as much time as necessary to joining in discussions with your peers at events such as
make sure you leave with the information you need. ESS, you become part of tomorrow’s knowledge base,
And the information doesn’t just flow one way. The and you get exclusive access to it before anyone else.
embedded electronics industry today is built on relation- In today’s competitive market place, that kind of time
ships as much as regulations; trust as well as technology. advantage can be invaluable.
The opportunity to network with individuals from other But don’t expect to get these benefits just by show-
companies that may complement your own in the value ing up at the show; it doesn’t happen by osmosis. Ideas
chain is clearly unique to exhibitions and conferences come through active participation and heated discourse,
such as ESS, and it remains the only UK show to offer and not even the best online chat rooms can rival the
its visitors that opportunity. Where else can you achieve real thing for that!
such massive industry exposure in a single day? Take a day out, take two – the show runs across the
In the last issue of ESE we carried an extensive pre- 1st and 2nd of October at Birmingham’s NEC, and entry
view of the show, with a special focus on the Techni- is free. Be prepared; look at the list of exhibitors and
cal Programme. In this issue we carry an update to that work out who you want to talk to once you get there and,
programme (see page 16 for more details). You will see more importantly, know what you want to talk about.
we’ve included further details of the live product tear- ESS remains the UK’s premier event for embedded
downs being presented; a popular feature imported electronics companies to meet, exchange ideas, forge
from the US, and being performed live by TechInsights’ relationships and replenish knowledge-bases. Can you
Technology Analyst, Steve Bitton. afford not to be there? <Ends>

Optimising
Hardware The Leader in Embedded
Compilers
Debug
Probes
Software Development
FREE 30-Day Product Evaluation
register now at www.ghs.com/eval
Integrated Real-Time
Development Operating
Environments Systems

Debugging & All


Performance Royalty Tel: +44 (0)1844 267950
Analysis Free! Fax: +44 (0)1844 267955

4 ESE Magazine October 2008 www.embedded-europe.com

P04_ESEOct08.indd Sec1:4 15/09/08 17:57:04


For the widest choice of components
from all the major manufacturers, visit
rswww.com/electronics

rswww.com/electronics 08457 201 201

P05_ESEOct08.indd 1 12/09/08 15:03:57


< Industry News >

Making waves News in brief


■ In a move to improve high-level development
of Linux applications on its microprocessors,
A fully integrated, CMOS based oscillator requires no moving parts. MIPS has introduced Eclipse plug-ins for
debugging and code analysis. The modules
Philip Ling reports. form part of the company’s newly introduced
A single-chip CMOS based oscillator that uses an rithm that provides stability over temperature based Navigator Integrated Component Suite,
integrated LC circuit has been introduced by Silicon on coefficients acquired during final test. but could also operate within any Eclipse
Labs. It becomes the company’s first integrated tim- James Wilson, Senior Marketing Manager for environment. According to the company, its
ing device not to use its innovative ‘DSPLL’ technol- Silicon Labs explained the Si500 Silicon Oscillator existing GNU based development environment
ogy. will target applications currently using quartz crystal was getting a little ‘old and tired’, highlighted
Instead it synthesises a frequency between 0.9 and oscillators, by providing a drop-in replacement that by customers reporting ‘greater than expected’
200MHz using an on-chip oscillator and frequency offers better performance over the given frequency difficulties in developing applications targeting
divider, coupled with a frequency stabilising algo- range. the Linux operating system. It coincides with a
The architecture allows Silicon Labs to significant shift towards Linux and away from
fabricate, on demand, the silicon oscillator commercial operating systems.
to deliver any frequency within the operating Another benefit of Navigator ICS is the ability
parameters, although it is described as be- to debug Position Independent Code (PIC);
ing optimised for the ‘low frequency’ range elements of code that are linked in at compile
of below 100MHz. The device’s footprint and time. This is the preferred solution when
PCB layout guidelines have been designed developing some device drivers for Linux, as it
to allow a ‘like for like’ replacement against doesn’t require any modification of the kernel
a crystal oscillator, without the need for any and is, therefore, not subject to the same GPL
external timing components. licensing requirements as the rest of the open
www.silabs.com source solution. The ability to debug ‘loadable
modules’ is likely to be attractive to OEMs,
as MIPS claims it is not possible using exiting
Linux debug tools.
IP Everywhere ‘gateway’. The IPSO Alliance intends to illustrate
how the packet based protocol can be used from
www.mips.com
A consortium of 21 companies has grouped together ‘end to end’, simplifying system topologies and,
to create the IPSO Alliance; Internet Protocol for more importantly, creating interoperability between
Smart Objects. The intention is to increase aware- ‘smart objects’ and their host environments.
ness of the protocol and its applicability in systems Both wired and wireless networks are targeted
that are increasingly using ‘smart objects’ such as and the Alliance intends not to promote any particu-
intelligent sensors, HVAC monitoring and control lar PHY. Its efforts are described as targeting IPv6
systems or occupancy detection. and will work hand in hand with the Internet Engi-
Currently it is felt that such systems, which are neering Task Force, acting as a partner for marketing
often now connected via the Internet, still use pro- its efforts to the wider engineering community.
prietary protocols locally, creating a need for a local www.ipso-alliance.org
■ An innovative FPGA architecture developed
to exploit asynchronous logic to achieve unprec-
Oscilloscopes too expensive edented throughput speeds has resulted in the
launch of the company’s first commercial prod-
OEMs aren’t prepared to pay for performance where The ‘economy’ end of the T&M market (sub $1k) uct. The Speedster SPD60 from Achronix is de-
it isn’t needed, a revelation that is motivating Test has been reported as the fastest growing sector for scribed as being optimised for speed, targeting
& Measurement companies to introduce lower companies such as LeCroy, who has recently entered the emerging demand for 100Gbit Ethernet in
cost and, commensurately, lower performance test this segment with a range of low cost oscilloscopes. communications infrastructure.
equipment. The company intends to market its new WaveAce John Holt, Founder, CEO and Chairman, explains
series predominantly through distribution the start-up isn’t targeting design seats currently
channels. occupied by other, much larger, FPGA companies.
Although both Tektronix and Agilent Instead he sees it coexisting with other FPGA de-
have had offerings in this price/perform- vices, along with DSPs and ASICs.
ance range for many years, LeCroy be- Holt believes that FPGA technology in general
lieves it will win market share thanks to and the Achronix solution in particular provides
the WaveAce’s features – some of which significant benefits over ASICs and ASSPs for
are only found on more expensive ‘scopes, the developing 100GHz market place, stressing
according to the company. This includes a that the majority of success for the company’s
colour screen on all models, as well as products will come not by displacing exiting so-
waveform sequence recording. lutions but creating new opportunities.
www.lecroy.com www.achronix.com

6 ESE Magazine October 2008 www.embedded-europe.com

P06_ESEOct08.indd Sec1:6 15/09/08 17:09:04


DISCOVER the next generation
of test automation with TestShell

Slash test-development time and costs


Effectively manage testing throughout the entire
product lifecycle
Optimize your enterprise quality management
Watch TestShell in action at

1-2.10.2008, NEC, Birmingham, UK


Booth # 729

www.qualisystems.com/ess

8 The Square, Stockley Park, Uxbridge, Middlesex, UB11 1FW, UK Tel: +44-203-178-4095 Fax: +44-203-178-4097 info@qualisystems.com

P07_ESEOct08.indd 1 15/09/08 16:37:42


< Application Focus >
Convergence in High Volume Applications
Talkin’ ‘bout a revolution!
Every so often a technology comes along that causes revolutionary change, the key to
exploiting it involves becoming an early adopter. By Philip Ling

W
e’re in the midst of a revolution; a continues to be buoyed by the upgrade path and enabled greatly by digital signal processors (DSPs).
technical revolution in the way we emerging markets. The same may become true for It is these devices that invariably enable the access
access live and recorded media. HD devices, but perhaps not for some time yet. devices used in cellular communications today.
Digital broadcasting is enabling This highlights an interesting difference be- However, it seems HD presents its own unique
this revolution and, to a lesser but growing extent, tween – and potentially convergent path for – mo- challenges, that aren’t easily solved using DSPs
it is supported by the market for (home) digital re- bile communications and HD, which is only just and software alone. Convergence in digital broad-
cording. The revolution is High Definition (HD) in all being addressed; the choice in access devices and casting is creating demand for a new generation in
its forms; terrestrial and satellite television broad- the services they enable. Mobile broadband is a processing solutions.
casting, streaming video and audio over IP, home relatively recent ‘evolution’ in cellular communica-
audio/video recording, and portable A/V devices. tions, one that is giving rise to a host of new ac- HD Video
The justification for calling this a revolution is cess devices, such as 3G dongles or handsets with One of the leading companies in digital signal
because it impacts so many aspects of our lives, HSDPA. processing, indeed the company credited with
requiring new equipment at multiple points. Argu- Since the introduction of digital broadcasting inventing the DSP is, not too surprisingly, a large
ably, the last technical revolution came with the there have been many attempts to make it also player in digital communications. Texas Instru-
introduction of mobile telecommunications, in its more portable, by integrating digital receivers in ments’ DSPs are present in the majority of cellular
analogue form. While this only required change at to a variety of devices, but with little success. This handsets, as well as having a strong presence in
a single point – the mobile handset – it impacted may be because the transport media used by hand- basestations. It could, therefore, be seen as one
our lives to such an extent that it caused revolution- held or portable devices – over the air terrestrial of the biggest protagonists for all things software
ary change in the way we live. UHF – is still relatively unreliable for digitally en- defined. However, the latest devices from TI show
However, since its introduction, everything that coded video. Other, packet based transport mecha- that the real-time processing requirements for HD
has happened since has been evolutionary – even nisms, such as cellular broadcast or even satellite decode are too great for DSPs alone.
the migration to digital cellular technology; the broadcast, is arguably more reliable in this applica- Through a combination of integrated processor
revolutionary change happened when we started tion, particularly in built up areas. cores and hardware acceleration, TI is addressing
using mobile telephones. Even the latest acronym This abundance of choice in transport media, as the need for HD capability in low power and low
for mobile communications – LTE, which stands used already by a variety of devices, is giving rise cost platforms.
for long term evolution – acknowledges this fun- to demand for convergence; the ability to receive It recently introduced the latest generation of
damental shift. digital broadcasts – including HD – using a greater OMAP devices; the OMAP 3. There are currently
It can be expected, therefore, that at some range of access devices. four devices available, one of which combines the
point ‘HD’ will move from being revolutionary to In turn, this is fuelling demand for more sophis- ARM Cortex-A8 processor core with one of TI’s own
evolutionary, but not until it has reached a level of ticated silicon solutions, which has some surpris- TMS320C6x+ DSP cores and dedicated hardware
saturation. Today the market for mobile telephones ing consequences. The use of software defined acceleration blocks for both HD decode and 2D/3D
has reached that level in the developed world but platforms for wireless devices is well established, graphics. The first commercial application for the
OMAP 3 platform was unveiled recently by Archos,
which is using the OMAP 3 in its newest portfo-
lio of personal entertainment devices; the Internet
Media Tablet.
“TI is committed to helping Archos develop high
quality products that take advantage of the world’s
first implementation of the superscalar ARM Cor-
tex-A8 processor. Coupled with a TI C64x+ DSP
core, the OMAP 3 processors provide the necessary
performance and multimedia features for enhanced
functionality on the Archos devices,” said Suman
Narayan, General Manager, Catalogue Processors
and Emerging End Equipment, TI. “As consumers
demand HD video, media rich data and connectivity
anytime and anywhere, Archos pushes the bounda-
ries as a leading innovator with its new IMTs.”
The ARM Cortex-A8 core delivers over four
times the performance of the ARM9, the core inte-
grated in previous OMAP platforms and still used in

8 ESE Magazine October 2008 www.embedded-europe.com

P08-10_ESEOct08.indd 8 15/09/08 17:11:31


For more information contact BFi OPTiLAS, Motorola’s Authorised Distributor
at: sales.uk@bfioptilas.com or call on: +44 (0) 1908 326 326

P09_ESEOct08.indd 1 12/09/08 15:05:25


< Application
< Application
Focus
Focus
>>
the latest DaVinci platform. However there is one to put video on the screen. From a software point The current solution to placing video in to the
feature that both the OMAP 3 platform and latest of view, you feed the hardware with the encoded GL pipeline is to render the video and place it in to
DaVinci devices share; hardware accelerated HD video stream and you never have to worry about it video memory, then copy the contents of that in to
decode, supporting multiple formats. However, ar- again – it will ‘magically’ appear on the screen.” the graphics memory used by the GL pipeline; there
chitecturally, they are addressing different parts of The same approach is used for video input, where is currently no direct solution for rendering video in
the HD market; OMAP is aimed at access devices, the software engineer doesn’t even see the data. to a textured graphics block.
while DaVinci is described as targeting the ‘edge’ The problem with this approach is that video Why is this important? Well it clearly isn’t es-
of the delivery mechanism. never passes through GL pipe: “Things like window sential, but users are likely to demand more so-
animations and effects are impossible to do,” ex- phisticated effects, such as animated album covers
Graphics acceleration plained Cooksey. “One option we have tried is to which pass across the screen at oblique angles,
The fact that hardware acceleration for both video use a shader to do the scaling and YUV-RGB con- or sweep across the screen as part the selection
and graphics has been added is further evidence version.” menu. Part of the solution is to impose tighter coop-
that convergence is expected between live HD As modern graphics hardware is programmable, eration between the standards bodies responsible
video and the integration of more so- for HD video and graphics, which until
phisticated 2D and 3D graphics. now there hasn’t been a need for.
Given the power available from proc- Another important feature, ac-
essor cores today, it seems somewhat cording to Tom Cooksey, will be the
surprising that hardware acceleration is introduction of a graphics memory
necessary, but industry experts believe manager to handle the task of moving
it is, for both live video and rendered data from the HD stream to the graph-
graphics. A recent trend in this field is ics pipeline, something he claims is
the development of OpenGL ES 2.0, a happening now in Linux.
version of the open API used for graphics But sophisticated 3D graphics
acceleration in PCs, aimed at embedded is still only part of the story, another
systems, hardware support for which is significant element is vector graphics.
integrated in the OMAP 3 platform. Here, again, The Khronos Group – the
Tom Cooksey is a Software Engineer member-funded industry consortium
with Nokia-Qt, and he believes it marks developing open standards for media
the beginning of a general shift in the authoring and acceleration – and be-
industry: “When Apple introduced the hind OpenGL ES 2.0 – is working on a
iPhone it completely changed the way solution. OpenVG is also a royalty-free
consumers expected to interact with de- cross-platform API for hardware accel-
vices. A big part of that was the graph- erated vector graphics libraries, also
ics and without hardware acceleration, The Archos Internet Media Tablet primarily targeting handheld devices.
devices will have limited graphics capa- personal entertainment device which As OpenGL has no support for text,
bility.” uses a Texas Instruments’ OMAP 3 processor. OpenVG can help. It turns objects in
Cooksey sees the API as a simple to triangles, so any font – especially
way of programming graphics hardware complex ones such as Chinese – can
and although used predominantly for 3D applica- you could theoretically use it to do the complete be created, as well as any graphical element. Un-
tions, it can also help accelerate 2D graphics and decode in a shader, and some vendors have actually doubtedly, leading silicon manufacturers will even
for adding effects. “This is especially true for more started to do that, according to Cooksey. now be working on implementing hardware sup-
modern graphics hardware, which is basically just “Even just doing the colour-space conversion port for OpenVG in to the next generation of media
a massively parallel general purpose processor,” in a shader works well and allows us to use video processing platforms. <Ends>
explained Cooksey. frames as textures,” explained Cooksey. “The prob-
“Such hardware is modelled by OpenGL ES lem we see is power; using the CPU for decode
2.0, which allows developers to write custom code and the 3D core for the colour-space conversion
called ‘shaders’, in a C-like language (GLSL).” The consumes significantly more power than dedicated
driver then compiles the code and runs it on the video hardware.”
graphics processor. Ideally it would be possible to switch between
The API could, therefore, be used anywhere a the two techniques at run-time, but this isn’t made
user interface is necessary; from mobile phones to easy by the underlying multimedia APIs. “Hopefully
netbooks, gaming consoles or set-top boxes, and this will change. One thing is for sure, customers
even in-car entertainment. “There is also massive want fancy window animations and HD video play-
potential in non-consumer applications that have back at the same time. To do this, hardware ven- Tom Cooksey will deliver a Confer-
tight graphics performance requirements, such as dors will have to provide better integration in the ence Tutorial on using Open GL APIs
industrial, defence and medical computing,” Cook- future.” on embedded Linux applications at
sey added. the Embedded Systems Developer
With the introduction of hand held devices pro- Vector factor Conference at 3.45pm on Thursday,
viding HD playback, there is a definite trend towards The problem with the current integration of HD October 2nd at ESS.
integrating video and graphic capabilities on the decoding hardware and graphics acceleration is For more details visit:
same platform, as Cooksey pointed out: “Tradition- just that; the level of integration between the two www.embedded.co.uk
ally, video decoding hardware has used an overlay needs improving.

10 ESE Magazine October 2008 www.embedded-europe.com

P08-10_ESEOct08.indd 10 15/09/08 17:11:50


P11_ESEOct08.indd 1 12/09/08 17:29:17
< Application Focus >
Convergence in High Volume Applications

Time-critical calculations
Good DSP allocation is half the battle when developing real-time and computationally complex applications.
By Christian Harders, an application engineer, marketing industrial with Fujitsu Microelectronics Europe

A
lthough digital signal processing is Many of today’s filters and algorithms could case with motor control which is why it developed
ubiquitous it is not always visible, hardly be implemented using analogue circuits, at its MB91470/480 32bit MCU series with a power-
as with digital cameras and mobile least not without creating unjustifiable expense. ful peripheral in the form of the µDSP alias MAC
phones. A growing amount of func- Today developers have to decide whether to use (multiply-accumulate) unit.
tions that are traditionally implemented using an MCU, DSP or even both. Especially in applica- The µDSP has its own program and data mem-
analogue circuits, are now contained in software tions where signal processing is only one task ory enabling it to perform longer calculations as a
on a microcontroller unit (MCU) or a digital signal among others, this question is not always easy to coprocessor independent from the main processor
processor (DSP), saving printed circuit board space answer. Controls and operating devices are classic (CPU), as shown in figure 1. This allows the CPU to
and components and therefore lowering costs. The to MCUs, whereas digital filters and regulators are react quickly to interrupts also during filter calcula-
drift and tolerances common to analogue devices typical of DSPs. tion, a feature that is necessary to industrial control
can also be avoided. The advantages of an inte- However, such a clear difference is not always tasks, without changing the execution time for the
grated DSP unit for these software algorithms are so apparent with control units often resorting to filter.
demonstrated by Fujitsu’s MB91470/480 series of digital filters in order to evaluate system states and The structure of the µDSP is optimised for multi-
microcontrollers. carry out fast loops. Fujitsu recognised this as the ply-accumulate instructions typical for digital filters
and many other algorithms, which it carries out at
full processor clock speed (up to 80MHz) in just one
cycle. A 72bit wide accumulator adds up the val-
ues, with the number format selected from various
32bit fixed-point formats.
Especially for digital filters the µDSP is able to
transfer input variables through filter stages with-
out the assistance of the CPU. As long as the µDSP
is idle, the CPU has full access to all configuration
and memory addresses of the µDSP, so that data
transfer to and from the CPU is possible. Once the
calculations are started, a few status and control
registers will remain accessible to indicate their
operation status. When the µDSP has executed the
program, it can generate an interrupt or trigger a
DMA (direct memory access) transfer.

Modern drive trains need power


Controlling a modern three-phase drive is one ex-
ample of an application where numerous sub tasks
need to be processed in fixed time intervals, which
are determined by demands made on the system.
Often, vector or field orientated controls are used,
consisting of several coordinate transformations
and cascaded control loops. Two current control-
lers form the innermost control loop and monitor
the field- and torque-creating components of the
stator current.
This control loop is often cycled at the full PWM
(pulse width modulation) frequency, which can be
many tens of kHz. The set point for the inner con-
trol loop is determined by a speed regulator, which
controls the required torque and thus acceleration
via the current. This is then pre-connected by a po-
sitioning control. Therefore, there are four control
Figure 1: Block diagram of µDSP processes to be mastered in addition to the trigo-

12 ESE Magazine October 2008 www.embedded-europe.com

P12-14_ESEOct08.indd 12 15/09/08 12:46:58


The broadest portfolio of Hardware, Tools
and Software for your Embedded Projects
Development Boards
Bluetooth Modules
WiFi Modules
ZigBee Modules
CANbus Devices
Compilers
Debuggers
USB Analysers
S/W Quality Metrics
Flash File Systems
TCP/IP Stacks
Industrial Ethernet
Real-Time OS
USB Protocol Stacks
PCI Adapters
Code Generation
Graphical User I/F
PCI Analysers
Visit our website for
details of the latest
Tel: 01962 841290 products and promotions...

www.nohau.co.uk

With this much choice, how Use BFi’s expertise to find it for you.
do you find the optimal solution Finding your optimal wireless solution has never been so easy.
BFi OPTiLAS offer the most comprehensive range of
for your wireless application? components, modules and antennae and also have the expertise
to find the right products for your design.
GSM, GPS, EDGE, GPRS, Bluetooth, ZigBee™, or ISM,
BFi OPTiLAS can find the right module, with the right antennae…
right now.

BFi OPTiLAS work with leading manufacturers to provide


your M2M solution
• Motorola • Elproma
• Laird Technologies • Iris
• Hirschmann • Adeunis RF
• i-Lotus • Ruptela
• 2J • Phoenix

Call us today and challenge BFi OPTiLAS to find your


optimal wireless solution.

+44 (0)1908 326 326


www.bfioptilas.co.uk

P13_ESEOct08.indd 1 15/09/08 15:31:47


< Application
< Application
Focus
Focus
>>
Figure 2: FIR8 filter

nometric transformations of the vector control and simultaneously and synchronised to the PWM, giv- are necessary for nearly every AD transformation
the application itself. ing each control a time-slot of its own to use the as a matter of principle, but digital filtering can flat-
If the time intervals for such a control are taken peripherals. ten the requirements for the analogue pre-filters
into account, some of the sub tasks can be per- After all currents have been sampled, the µDSP by over-sampling. This utilises a greater sampling
formed in parallel. For example, the time between is triggered and performs the PID calculations. frequency than that which is necessary according
scanning the actual current values and the next- Because of the short execution time, the control to Nyquist’s theorem (the minimum sampling rate
possible update of the PWM register with the new outputs are updated early enough before the first required to avoid aliasing, which is equal to twice
target values is typically a PWM period. PWM needs the values, so that the PWM can be the highest signal frequency) in order to achieve the
As a result of parallel calculation by the CPU updated to the new output voltage with minimum necessary bandwidth. As a result a simpler filter,
and µDSP additional functions can easily be imple- delay. In other words, the response time of the first with low edge steepness, can be used where the
mented without increasing the effective CPU load. motor control is not influenced by adding a second; limitation to the target frequency range together
The execution of a typical PID algorithm by the MAC both can still be served with the full PWM frequen- with a reduction of the sampling rate is digital, thus
unit requires far less than a microsecond, which is cy of 20kHz. avoiding extra circuit complexity.
why the µDSP can take on further duties such as In order to map control loops efficiently on
filtering input signals between two PWM updates. DSP-like structures, certain requirements must Commonly used filters
Together with the MCU’s flexible timers, very dy- be fulfilled. First of all, most microcontrollers and The FIR (finite impulse response) or IIR are the most
namic three-phase drives can be implemented. DSPs are not equipped with a floating point unit, so commonly used filters. FIR filters are non-recursive
The MB91480 series can even achieve this for fixed-point arithmetic is used instead. However, the as there is no feedback of output to input. There-
two motors. In this case, the MAC unit can take structure of the regulator can also be optimised. fore they are always stable, generating finitely long
over all six PID control loops of both motors (the po- With some reforming, typical discrete PID regu- output signals. In contrast, IIR filters can resonate
sition loops often have additional functionality such lators can be transferred to an IIR (infinite impulse and become unstable, but often need fewer filter
as anti-hunt etc., which are easier to implement on response) filter-like structure. This implementation stages in order to achieve a specified behaviour.
the CPU), so that the benefit, in terms of execution also avoids the summation of the integral term. It Because the µDSP carries out filter calculations on
time becomes even more apparent. features a ‘sum of products’ form, typical to digital its own, an easy-to-use FIR filter can often be used
Together with the flexible motor timer and ADC filters and for which the µDSP is optimised. without increasing the CPU load – see figure 2.
functionality of the MB91480 Series MCU, the tim- The ‘moving average’ filter is a typical simple
ing for both motor controls can be optimised in a µDSP instead of RC FIR filter. It is commonly used as a simple low-pass
way that minimises interference of peripheral us- In many applications it is necessary to evalu- filter providing smooth measured readings. All filter
age. To reach this, the PWMs for both motors are ate analogue readings, but interference such as coefficients have the same value and are usually
shifted against each other by approximately one- noise can prove a problem. This is often reduced scaled (normalised) in such a way that the sum of
fourth PWM period. By this, the ADC units can be with analogue low-pass filters, but can also be the filter coefficients, representing the DC gain of
used to sample the phase currents of each motor achieved digitally. Analogue anti-aliasing filters the filter, equals unity. The µDSP of the MB91470
can calculate such a filter with 64 stages
in approximately 1.2µs. Therefore the full
sampling rate of both 12bit ADCs in the
MB91F479 can be used with this filter, or
several shorter filters can be calculated at
the same time.
The possibility of processing data with
the µDSP in parallel to the CPU enables an
effective method of digital signal process-
ing with the MB91470/480 series of micro-
controllers. As a result, although originally
optimised for motor control applications,
they are also well suited for other measur-
ing, regulation and control technology ap-
plications and offer the flexibility of a mi-
crocontroller and the computing power of a
DSP literally at the same time. <Ends>

www.fujitsu.com/emea/services/
Figure 3: Block diagram of the MB91470 microelectronics/

14 ESE Magazine October 2008 www.embedded-europe.com

P12-14_ESEOct08.indd 14 15/09/08 12:47:17


MAKING ONE OF THESE?

...THEN YOU NEED THREADX


T
ThreadX is Express Logic's small,
T H R E A D ffast, royalty-free RTOS that • Small footprint
p
powers over 500 million electronic • Low overhead
devices, with millions more produced each month. That's because • Full source code
ThreadX is easy-to-use, making your development job easier and
more likely to finish on time or even ahead of schedule. Developers • Easy-to-use
of consumer, medical, networking, industrial, aerospace, and • Field-proven
automotive electronics products rely on ThreadX for their RTOS. Call • Low cost
today to find out how ThreadX can help you bring your next electronic
• Royalty-free
product to market faster. Make it better - make it with ThreadX.

For a free evaluation copy:


Express Logic (UK) Ltd
Tel: +44 (0) 1527 597007 Copyright © 2008, Express Logic, Inc.
ThreadX is a registered trademark of Express Logic, Inc.
Email: info@expresslogic.co.uk All other trademarks are the property of their respective owners.

P15_ESEOct08.indd 1 12/09/08 17:31:16


< ESS Conference & Exhibition Preview >
UPDATE

Live teardowns and Beagleboard dev e


troller (MASC) technology to

T
he embedded Systems for the full conference can take part in this
Show 2008 – the leading enable both beginners and expe- truly hands-on educational experience at
international exhibition rienced pilots to enjoy the thrill of
for the electronics systems and steering a helicopter with just a tilt
software development commu- of the wrist.
nities in Europe – will feature The wireless Microsoft Xbox 360
live teardowns of the Estes Mi- Steering Wheel simulates all the
cro-Tiger RC Helicopter and the resistance and force of driving,
X-Box Steering Wheel. featuring dual rumble motors
In addition, pre-registered and realistic force feedback. By
conference delegates will have the opportunity to stripping away these cutting edge toys into their
build and take home a fully configured embedded individual components, the teardown experts
system based on the recently launched Beagleboard. will reveal the techniques and technologies
The live teardowns, first introduced and made that bring these products to life.
popular by exhibition organisers TechInsights, will of-
fer visitors unrivalled access to two of the latest and Free development kits
most popular consumer electronics gadgets. This year, the Embedded Systems Show also features no extra
The Estes Micro-Tiger Helicopter is an indoor a Build Your Own Embedded System (BYOES) pro- charge, building and taking away
helicopter that uses Motion Automatic Sensing Con- gramme. On October 1, fifty pre-registered visitors their own embedded system, using the USB-powered

place directly after this morning session in the cof- Almost without exception, all the software on aircraft
More conference highlights... fee breakout area, is essential to have access to the by manufacturers such as Airbus and Boeing has to
Details of presentations not featured in last hands-on material which is strictly limited. be written to satisfy the objectives of DO-178B/ED-
months issue - full details of all sessions are 12B. During Tutorial 2.5 (Wednesday 1, 14.45)
available online at: www.embedded.co.uk.
An introduction to time- Dewi Daniels, Deputy Head of Consultancy, Silver
Software will explain that here have been many ad-
Introduction to multi-core triggered architectures vances in software engineering since DO-178B/ED-
In a time-triggered embedded system, we have one 12B was published in 1992. DO-178B/ED-12B is
programming (and only one) interrupt enabled. This interrupt is being updated to DO-178C/ED-12C to fix ambiguities
With the emergence of multi-core embedded CPUs usually linked to a timer, which will generate “ticks”: that have been found in DO-178B/ED-12B, as well as
and microcontrollers, comes the new challenge of these ticks will, in turn, drive an appropriate (often to address these new technologies. This presenta-
how to program these devices to take advantage very simple) operating system. tion will update you on the progress being made in
of the extra cores. In Tutorial 1.2 (Wednesday 1, Time-triggered architectures are widely used in preparing DO-178C/ED-12C, will let you know what
10.45) Stephen Blair-Chappell, Technical Consulting safety-related systems because they are known to kind of changes to expect, and explain how DO-
Engineer at Intel will show how existing programs provide highly predictable behaviour, which in turn 178C/ED-12C will affect your airborne software de-
can be modified to take advantage of the new multi- reduces testing, maintenance and (where relevant) velopment processes.
core architecture; he will show how to use different certification costs. During this talk (Tutorial 2.2
programming paradigms to implement multithread-
ing in a program; he explain some of the common
Wednesday 1, 10.45) Dr. Michael J. Pont, CEO, TTE
Systems will argue that TT architectures can be (and
Implementing low-power,
pitfalls that occur when writing for multi-core, and should be) used more widely. Numerous examples high-speed, serial buses
how best to avoid and detect these pitfalls; he will of the use of TT architectures will be presented. Media convergence is technically demanding and
also show how to tune and optimise multi-core Strengths and weaknesses of the TT approach will poses many design and implementation challenges;
programs. be considered. The talk will not try to argue that a parallel computing with multiple core processors
The presentation will contain real code examples, TT approach is a perfect match for all embedded is subject to Amdahl’s Law and high-performance
and a ‘live’ demo of the complete development cycle systems. However it will conclude by suggesting portability is dependent on reducing the watts per
showing how to spot the best place to insert parallel- that – as you start your next project – you should instruction. What is more, the buses remain the
ism; how to implement the parallelism; how to check ask yourself: “Should we use a TT architecture this principal factor in determining the performance of
for correctness, and how to tune a parallel program. time?” By the end of this talk, you may be surprised embedded systems.
An article from this presenter is on page 24 of how often the answer is: “Yes”. During Tutorial 3.3 (Thursday 2, 12 noon) Geoff
this issue of ESE. Lawday, Tektronix Professorial Chair in Measure-
■Special Note: Delegates will also have the oppor-
tunity to attend the hands-on class in the afternoon,
RTCA DO-178C / EUROCAE ment, Buckinghamshire New University will explain
that while delivering orders of magnitude in im-
where they can try out some of the techniques pre- ED-12C – a progress report proved bandwidth per pin the new high-speed serial
sented on multi-core target boards. Pre-registration DO-178B/ED-12B provides guidance for the produc- buses are not transparent and require expert design
for the afternoon hands-on class, which will take tion of software for airborne systems and equipment. if a low-power, high-speed, interconnect is to be

16 ESE Magazine October 2008 www.embedded-europe.com

P16-17_ESEOct08.indd 16 15/09/08 15:37:23


< ESS Conference & Exhibition Preview >

v elopment kit giveaway FREE DESIGN WORKSHOPS


There is free access to technical work-
shops presented by experts from the
leading suppliers of embedded solutions
Beagleboard worth £80. The highly integrated Beagleboard platform and development tools. Presenters all
This programme includes (www.beagleboard.org), released to the public in come with technical backgrounds from
a range of training cours- July, is based on an ARM-based microprocessor within the engineering and applications
es to enable visitors to – the OMAP 3530 from Texas Instruments – and is groups of their companies. These ses-
develop their system- bundled with a version of Linux from MontaVista. It sions will help advance your knowledge
building skills: is designed by BeagleBoard.org community members of state-of-the-art technologies and will
and sold by Digi-Key. enhance your ability to do embedded
■ Beagleboard 101 (a “This year’s Embedded Systems Show is more systems development better. They are
pre-conference work- focused than ever on the real-world applications located on the exhibition floor within
shop) of embedded systems and their place in the wider easy reach of stands and the coffee area.
■ Implementing a Web- electronics market,” says exhibition director Andrew
based user interface Porter. “The live-teardowns and the Build Your Own Wednesday, October 1
■ Turn the Beagleboard in to a USB Gadget (with programme will offer real hands-on experience and ● Steve Bitton, TechOnline - Fundamen-
Suspend/Resume) training, helping visitors develop their skills and ex- tals of Microcontrollers
■ Using the OMAP DSP as a Linux co-processor pand their knowledge of the very latest techniques.” ● Chris Hills, Phaedrus Systems - De-
■ Controlling a DC brushless motor with the Bea- The Embedded Systems Show 2008 is taking bugging is difficult: so why do it
gleboard place at the NEC, Birmingham on 1 and 2 October. To ● Dirk Grossmann, Vector Informatik
■ Teaching Software with Sugar and Block Dia- register free, or for further information, please visit - Specifics of Embedded Software for
grams www.embedded.co.uk. FlexRay
● Peter Hoogenboom, Green Hills
Software - Multicore Challenges and
achieved. The new generation of high-speed serial Project is the starting point for model-based devel- Solutions
buses have edge rates with radio frequency param- opment technologies in the open source community. ● Carsten Lehbrink, Nokia-Qt Software
eters and analogue characteristics, two subjects that It provides a unified set of modelling frameworks, - Sharing code across Embedded Linux
many digital engineers have limited experience of. tooling and standards implementation and is rapidly and WinCE
This presentation will explain in practical terms the increasing with new subprojects, components and
trade-offs in power and performance in modern bus developers. LIVE TEARDOWN 1 - Teardown of the
design and implementation, along with the exciting This tutorial will demonstrate the usage of some Estes Micro-Tiger Helicopter: To see
new integrated serial bus simulation and real-time, of the components that have been proven in real what makes the Micro-Tiger tick, come
design and test paradigms. world model-driven projects, including Eclipse Mod- witness this Live Tear Down, performed
elling Framework (metamodeling, tooling), Xpand by Steve Bitton, Technology Analyst for
Code Generation – (model-to-text), Xtend (model-to-model), Xtext (tex-
tual DSLs) and Check (model validation).
www.techonline.com.

The Fundamentals Thursday, October 2


Matthew Fowler, CEO, New Technology/enterprise
will take a quick gallop (Tutorial 4.1, Thursday 9.45)
Efficient modelling using ● Matt Lee, XJTAG - Boundary Scan Test-
ing for Hardware Reliability
through the field of code generation for those new to Domain Specific Languages ● David Giles, Software Test Tools
the field, to give you enough background to appreci- When people talk about software models they of- Manager, Hitex, (RS Components) -
ate later sessions. This will cover: ten think of UML models. UML is a general purpose An Embedded Development Platform
● The basics: templates and variables. modelling language (GPML) that can be applied to Explained
● Code generation: building up to systems: coordi- several modelling domains. But this flexibility has ● Andrei Gorine, McObject - Indexes
nated builds. some severe drawbacks: The UML has an enormous Boost Performance and Minimize Foot-
● The various styles of “code generation”. complexity and yet it is not sufficient to express com- print in Embedded Software
● Models, DSLs, text vs graphical, meta-models. mon software modelling aspects, e.g. describing the ● Peter Hoogenboom, Green Hills Soft-
● Increasing abstraction; model-to-model transforms. GUI of applications. ware - Higher security through RTOS and
● What’s it like doing it for yourself. Karsten Thoms, Software Architect, Itemis (Tu- static source code analysis
● The industry players. torial 4.4, Thursday 2, 13.35) – will explore how
● What the future looks like. domain Specific Languages (DSLs) are languages LIVE TEARDOWN 2 - Teardown of the
tailored to a specific problem domain, or often a spe- Microsoft XBOX 360 Steering Wheel:
Introduction to the Eclipse cific project. Both visual and textual DSLs exist and
both have their pros and cons. What are the benefits
function performed by Steve Bitton, Tech-
nology Analyst for www.techonline.com.
Modelling Project of choosing DSLs instead of GPMLs for model-driven
Karsten Thoms, Software Architect, Itemis will give software development? Can the use of DSLs conform Programme details, speakers’ abstracts
an overview of complementary and alternative tech- to the OMG’s Model-Driven Architecture paradigm? and bios are also available online.:
nologies from the Eclipse Modelling world (Tutorial What are the disadvantages of using UML and as- www.embedded.co.uk
4.3, Thursday 2, 12 noon). The Eclipse Modelling sociated tools in practice?

www.embedded-europe.com ESE Magazine October 2008 17

P16-17_ESEOct08.indd 17 15/09/08 15:37:40


< Technology Focus >

System Development: Power


Super-capacitors lead the charge
A little intelligence can make super-capacitor energy storage a viable alternative to battery-power for some
applications. Keith Curtis of Microchip Technology Inc. outlines the options.

uper-capacitors are emerging as a lost, and more energy makes it into the capacitor. the voltage feedback as the means of determining

S possible alternative to batteries for


energy-storage in some applications.
However, the major advantages that
super-capacitors offer must be balanced against
some significant disadvantages. On the plus side,
Adding the power absorbed by the capacitor and
the power dissipated in the charger, the charger
will actually dissipate more than half of the
available energy as heat, over a full charge cycle.
In fact, a linear charger throws away almost 58%
when the charge is complete.
Figure 1 shows how this can be accomplished
using a variation on the typical SMPS design.
Here, the current in the inductor is regulated by
comparing the current in the inductor against two
super-capacitors have a virtually unlimited lifetime of the available charging energy as heat. fixed levels; one at the maximum desired current,
of around 10,000,000 charge/discharge cycles and The other charging option is to use a system and the other at the minimum.
they can charge and discharge at phenomenal based on a Switch-Mode Power Supply (SMPS), Initially, it will take the inductor very little time
currents in excess of 1,000 Amperes. They are where the difference between the output capacitor to ramp up from the minimum to maximum current,
also largely immune to temperature variations. voltage and the source voltage is dropped across as the voltage across the inductor is at its maximum.
However, they cannot compete with batteries in an inductor. In a voltage-regulated SMPS design, The discharge time will be correspondingly longer,
energy density or cost: typically super-capacitors the inductor current is driven by the difference as the inductor has to discharge into a relatively
offer just 3-5% of the energy density of Li-Ion between the voltage across the output capacitor small voltage. As the charge in the capacitor
batteries and cost 10 to 15 times more. and a fixed reference voltage. This difference increases, however, the voltage difference will
There are, however, some applications for which voltage is then amplified, integrated, and phase- drop, increasing the ramp-up time, and the capacitor
the advantages outweigh even these limitations. shifted, before it is fed back into the Pulse- voltage will rise, shortening the discharge time.
But super-capacitors also present two significant Width-Modulation (PWM) comparator. The PWM While something similar can be implemented with
design challenges in how they charge and retrieve comparator then uses that voltage to determine a traditional time-base driven PWM, the selection
energy. With charging, the challenge is to transfer how much current to pump through the inductor on of the inductor becomes critical to maintaining the
energy to the capacitor when it is completely the next cycle. Often, SMPS circuits can achieve minimum current level. Additionally, instability can
discharged (effectively presenting a short circuit), conversion efficiencies of greater than 80-90%, occur when the duty cycle is greater than 50%. A
while retrieving energy also becomes progressively with careful design. simple solution to avoid this instability is to use a
more difficult as the capacitor voltage approaches In the charger circuit, very little time is spent relaxation-oscillator, 555 Timer-style system, using
0V. Overcoming these two challenges is the main operating with a constant output voltage. By two comparators and a SR flip-flop, so that the
hurdle for the efficient use of super-capacitors as definition, the charger circuit is designed to do inductor component values set the frequency.
replacements to battery storage. most of its work while ramping up the capacitor
voltage from zero to the final voltage. It is during Retrieving energy
The charging challenge this charge-up period that energy transfer needs to Getting energy from the super-capacitor also
Linear chargers dissipate a large percentage be optimised. presents challenges. It is easier to retrieve energy
of energy when charging a capacitor which is The charging circuit requires a system that from a battery because it maintains a relatively flat
completely discharged. Then, as the capacitor will regulate the charging current of the capacitor, discharge voltage as its charge is diminished. A
charges, a smaller percentage of the energy is independent of the output voltage, and only use capacitor, on the other hand, has a steep discharge
slope that drops linearly from the full-charge
voltage down to zero. As there are few circuits that
can operate effectively over this voltage range, it
naturally follows that a SMPS-style boost circuit is
required to convert the variable capacitor voltage
into a reasonably constant load voltage.
As the capacitor voltage is now the source
voltage for the SMPS, when it drops, the inductor
current ramp-up time must increase if the output
voltage is to remain constant. This seemingly
trivial problem has one very serious consequence:
If the pulse of current delivered to the output
remains constant, but the time between deliveries
increases due to longer ramp-up times, the output
voltage will begin to sag between deliveries. This
means that, as the capacitor’s charge is diminished,
the output-voltage ripple will increase.
Given this behaviour, using a fixed inductor
Figure 1: SMPS-based constant-current charger current is no longer possible, if the circuit is to

18 ESE Magazine October 2008 www.embedded-europe.com

P18-20_ESEOct08.indd 18 15/09/08 12:52:13


NEC, Birmingham
1st-2nd c
O tober embedded systems show 08
National Exhibition Centre, Birmingham
1st-2nd October, 2008 Sponsored by

15th Year of Embedded Success in the UK


Now part of Techinsights, the global leading organizers of conferences dedicated to the Embedded market, ess is the leading
international calendar event for the electronic systems and software development communities in the UK.
Whether your objectives are to:
• See New Products
• Meet New Contacts
• Network with Colleagues
• Improve Market Awareness
• Generate Business

Taking part in ess will help you achieve this and much more.

Latest News • Gain real-world experience of developing and programming


• Discover and evaluate products and services offered by 85+ in unique hands-on classes.
exhibitors in a Free Exhibition. • New special features, including ‘Live Teardowns’ and ‘Build
• Get the in-depth knowledge of technologies and tools in free Your Own Embedded System’ development kit giveaway.
access design workshops. • More still to come, go online for the latest product news and
• Select from 2 days of advanced tutorials given by expert speakers. special event announcements.
Embedded Systems FREE DESIGN WORKSHOPS
Developer Conference
Exhibitor List 2008 We offer conference classes or workshops of demonstrable
Free access to technical workshops presented by experts
from the leading suppliers of embedded solutions and
2001 Electronics, Adaptive Modules, Adeneo, Alpha Micro educational value to engineers and developers. Each class development tools. These sessions will advance your
Components, Aonix, APC-Hero Displays, Atmel, BFI Optilas,
will be at least one-hour in length ensuring a true depth of knowledge of state-of-the-art technologies. The design
CATS Software Tools, connectBlue, Delta Microelectronics,
Digi, Direct Insight, DSP Design, eCosCentric, Eurocircuits, technical insight. workshops are located on the exhibition floor within easy
Express Logic, Falcom, Feabhas, First Technology Transfer, The Highlight Topics in 2008 will identify the hot technology reach of stands and the coffee area.
FTDI, Galorath, General Software, Gimpel Software, trends that are providing both hardware and software
Goepel Electronics, Green Hills Software, HCC-Embedded, Wednesday, 1st October
engineers with the greatest challenges: • Fundamentals of Microcontrollers
Hitachi Displays, Hitex, IAR Systems, iBASE Technology,
Institution of Engineering and Technology, IPL, iSystem, Digital Convergence • Debugging is difficult: so why do it?
IXXAT, JTAG Technologies, Kane Computing, Lantronix, • Embedded Multicore Programming • Specifics of Embedded Software for FlexRay
Lattice Semiconductor, Lauterbach, LDRA, LeCroy, • Design for Low Power Consumption • Multicore Challenges and Solutions
Linkwave Technologies, Matrox, MontaVista Software, MSC, • Platforms for Hardware and Software • Sharing code across Embedded Linux and WinCE
National Instruments, Nexcom, Nexus, Nohau, Nokia-Qt Interoperability
Software, Objektum Solutions, Parasoft, PCB-Pool, Peak LIVE TEARDOWN 1 - Estes Micro-Tiger Helicopter
Development, Pebble Bay Consulting, Phaedrus Systems,
• Wireless System Development To see what makes the Micro-Tiger tick, come witness this
Programming Research, Pure-Systems, QualiSystems, Rabbit Dependable Systems Live Tear Down, performed by Steve Bitton, Technology
Semiconductor, Rapita Systems, Reflex Technology, RS • System and Software Security Analyst for TechOnline.
Components, Rutronik, Quadros Systems, Samsung, SCIOPTA • Testing Hardware for Reliability
Systems, SDC Systems, Segger Microcontroller, Solid • Software Development for Critical Systems Thursday, 2nd October
State Supplies, Sundance Multiprocessor, Synesis Vision, • Development and Verification Standards in the • JTAG Boundary Scan Testing for Hardware Reliability
SYSGO, Taoglas, TechInsights, Tektronix, Telelogic, Trolltech, Embedded Market • Indexes Boost Performance and Minimize Footprint in
TTE Systems, u-Blox, Vector Informatik, Vector Software, Embedded Software
Wordsworth Technology, XJTAG, Yokogawa Measurement Hands-On Classes
• Higher security through RTOS and static source
Technologies, (Correct on 12/9/2008) • Embedded Linux (3 hours),
code analysis
• Advanced C Programming (3 hours)
• An Embedded Development Platform Explained
• Concurrency in C++ (3 hours)
• Multi-Core Programming (3 hours) LIVE TEARDOWN 2 - XBOX 360 Steering Wheel
Contact Us • Build Your Own Embedded System To see what’s inside the Microsoft XBOX 360 Steering
For more information on the availability of conference (Full day) Wheel, come witness this Live Tear Down, performed by
Steve Bitton, Technology Analyst for TechOnline.
places and general event information please contact
TechInsights Europe Full programme details are online NOW.
• Tel: +44 (0) 20 7560 4023
• dbhamra@techinsights.com

Pre-Register Online

www.embedded.co.uk
ESS Ad i dd 1 12/9/08 12 26 35
P19_ESEOct08.indd 1 12/09/08 17:16:43
< Technology Focus >

maintain a reasonably constant output voltage. eliminates the leakage-current problem, but at the The super-capacitor boost circuit does not need
There are, however, three possible solutions. The cost of a more complex system for monitoring the a fixed-current limit. Instead, what is needed, is a
first is to stack super-capacitors together, to extend voltages across all the capacitors. This additional current limit that decreases as the capacitor voltage
the usable range of the retrieval circuitry, so that circuitry also burns some of the charge current to drops. This will correspondingly drop the maximum
the lost capacity is a smaller percentage of the power itself during the charging cycle, reducing inductor current and maintain a reasonable ramp-
capacitor’s total storage capacity. Alternatively, the charging efficiency of the system. up time. To do this, the circuit can be modified so
declare a minimum operating charge voltage The second problem with a series-stacked that the current-limit input is driven with feedback
for the super-capacitor and shut down when the super-capacitors is the total voltage of the from the super-capacitor. This will reduce the
charge drops below this level, which effectively capacitor string. Initially, the stacked voltage maximum current linearly, with the reduction in
discards part of the super-capacitor’s capacity as will typically be higher than the required load voltage. This keeps the equation balanced and the
unusable. The third option is to limit the inductor voltage, necessitating a buck topology SMPS maximum charge time reasonably constant, as the
current, so that the output of the retrieval circuit design. However, as the charge in the capacitors is capacitor voltage drops to zero.
becomes increasingly current-limited as the charge depleted, the stacked voltage will eventually drop
diminishes. below the load voltage, as it ramps down to zero. Adding intelligence
Unfortunately, there are two problems with This means that, at some point in the discharge There is a certain similarity between the buck
the series-stacked approach: First, there is the curve, the SMPS design will have to switch gears topology circuit used to charge the super-capacitor,
problem of balancing the charge in the capacitors, and become a boost topology SMPS design. and the boost topology circuit used to retrieve
and the second concerns the SMPS design of the An alternative solution is to put multiple super- energy: Replacing the Flyback diode in the buck
circuit retrieving energy from the capacitor. There capacitors in parallel, reducing the slope of the circuit with a synchronously switched MOSFET,
are charge-balancing techniques that shunt charge discharge line. There are several advantages to this creates the same power-chain circuit as replacing
current around the individual capacitors, based method, including the fact that the capacitors will the Flyback diode in the boost circuit.
upon their charge voltage. One such technique automatically charge-balance to a common voltage. Figure 2 shows what can be achieved with
uses a Zener diode in parallel with each capacitor. The charge will then route to those capacitors with a little embedded intelligence. Re-routing the
The second technique uses voltage comparators greater capacitance without active direction, and PWM signals to both MOSFETs, and re-routing
and MOSFET transistors to shunt the current, the total voltage for the banked system remains the feedback and current-sense signals, creates a
based upon a monitoring circuit. low. This allows the use of a simple boost SMPS circuit that can, with some embedded intelligence,
The Zener diode circuit is by far the simplest to retrieve power from the capacitors. The boost handle buck charging as well as boost retrieval. The
solution. The problem is that Zener diodes do not SMPS retrieval circuit can also pull more current intelligence can also be tasked with monitoring the
have a perfectly sharp turn-on knee and actually from a parallel configuration, while reducing the capacitor, output and source voltages for charging,
start conducting below their Zener voltage. As a I2R losses in the individual capacitors, because the to determine which topology is required.
result, even when the capacitors are balanced, current load is shared by all the devices. This circuit can either use a microcontroller
there will still be some conduction around the While banking multiple super-capacitors in with the necessary mixed-signal peripherals
capacitors that is bleeding-off charge. parallel reduces the slope of the capacitor voltage, to build the conversion circuitry, or a simple
The active MOSFET charge balancer solves it does not eliminate the basic problem, but microcontroller combined with an array of
this problem through a more complex switching merely delays it. When the capacitor voltage falls, sufficiently programmable external mixed-signal
system. It monitors the voltage across the the time to charge a fixed inductance increases. devices to allow the required switching and
various capacitors in the string and when any The only two solutions that are both simple and control. Microchip’s PIC family of microcontrollers
capacitor reaches its maximum working voltage, practical are to shut down the boost when the includes both low-cost controllers, as well as
the monitoring logic disconnects the capacitor super-capacitor voltage drops below a reasonable versions which integrate mixed-signal peripherals
from the string and shunts the charging current minimum voltage, or to limit the inductor current optimised for power applications.
to the other capacitors to continue charging. This as the charge in the super-capacitor is depleted. The use of super-capacitors for energy storage
does have significant advantages, as well as
disadvantages, compared to chemical, battery
storage. Its extended life and immunity from
temperature effects can make the super-capacitor
the preferred storage medium, despite its cost and
limited energy-density. The challenges associated
with charging and retrieving energy from a super-
capacitor system, however, also have to be
factored into the cost/benefit analysis.
These challenges can be significant, but
they can be handled with careful design and the
inclusion of some simple embedded intelligence.
Recent developments in the PIC microcontroller
family include controllers which integrate many of
the mixed-signal peripherals needed to implement
SMPS-style charging and retrieval.
The addition of embedded intelligence can,
therefore, help to reduce the size and cost of
using super-capacitor storage as an alternative to
conventional batteries. <Ends>
Figure 2: Composite charge-retrieval SMPS circuit www.microchip.com

20 ESE Magazine October 2008 www.embedded-europe.com

P18-20_ESEOct08.indd 20 15/09/08 12:52:34


P21_ESEOct08.indd 1 15/09/08 12:00:25
< Technology Focus >

Systems Development: Power


It’s every designer’s responsibility
Just because your embedded system is line powered doesn’t mean you shouldn’t be concerned with power
management . By Richard Nass

esigners of portable systems are very technologies we’re dealing with today increase, According to Booth, “Every industrialised

D “power aware.” They look to save every


milliwatt in an effort to increase battery
life and, thereby, run time in their
systems. But for embedded systems developers
who plug their systems into an ac line, power
45nm in some cases, leakage is becoming the
dominant power contributor to the overall power
budget. The embedded systems developer needs
to be acutely aware of the active part of the power
equation.
country except the U.S. has government mandates
in place that require improvements in power
efficiency for this class of systems. The U.S.
chooses to encourage energy improvements
through the power of consumer marketing and the
management is not that important. Or is it? Tim Morin, a senior product development coveted Energy Star ratings.”
Whether plugged or portable, all embedded manager at Actel, notes that needs change over
systems today must manage power wisely. Power time. “Your computing needs change. They always Think power early and often
management is important and becomes more have. So how do you get more power/heat dissipated The key to why it’s so important to consider power
important every day. A multitude of reasons exist without having to change your environment or your early in the design process is consumption: the
for why designers need to care about power, and power coming into the building? You do that by world’s consumption of power is increasing at an
that list keeps growing. For example, the amount implementing poweruse models, understanding alarming rate.
of data we store grows With much of that
significantly larger every year. power generated from non
To handle all this data, we renewable sources (oil
need newer, faster servers or coal), the entire world
– and more of them. will have to squeeze more
More servers, and even “work” out of less available
more server blades within power. Engineers can do
each enclosure, means a much to accomplish power
greater demand for power. savings by increasing an
Additional servers create more application’s efficiency or
heat, requiring more cooling. lowering its total power
Air conditioning can get requirement.
expensive. And don’t forget Increased efficiency “Increased efficiency”
that the cost of the power comes simply by comes simply by replacing
(electricity) itself is greater older components with
than ever before.
replacing older newer, more energy-
So why, then, isn’t power a components with newer, efficient components. And
“front-of-mind” consideration more energy-efficient ones. because about 70% of the
for embedded systems world’s total energy goes
developers? “It’s starting to to motion applications, this
be,” says Rob Oshana, an engineering manager how much power is available and how much you’re improved efficiency can significantly contribute
at Freescale Semiconductor Inc. “Historically, actually consuming.” toward lowering the world’s overall power bill.
embedded systems were all about allocation of Don Shin, from Freescale’s Networking and
scarce resources, like performance, memory and A powerful state of mind Computing Systems Group, thinks the term “power”
power. But performance was the key attribute, Some industry members disagree with the is overused. “Whereas power for a designer is
often at the expense of power.” contention that developers are ignoring power as a really a supply issue, related to FETs, capacitors,
Perhaps more telling is how difficult it is to design consideration. Jean Ann Booth of Luminary inductors and the like, energy is more complex
design for power management. Performance Micro says, “Power frequently is considered and determines thermal strategies, system foot
is usually easier to manage from a software- early in the design process, and that frequency print and longterm consumption costs. Engineers
development and chip-design perspective. is increasing. Line-powered embedded segments frequently talk about reducing power, but what
Although turning up the clock frequency may that are increasingly power sensitive include they’re really talking about is lowering energy to
be an easy way to improve performance, it just white goods, like refrigerators, washing machines, support thermal, space and cost constraints.”
exacerbates the power problem. dryers, etc., and HVAC.” Regardless of where you think our power-
System cost is another consideration. Lowering Many of the power-efficiency improvements awareness level sits today, all designers understand
system power should result in fewer fans and heat we’ve seen over the last few years in white and agree that power management is and will be a
sinks; a shorter bill of materials is a great by- goods are a result of government mandates high priority going forward. <Ends>
product of using less power. and incentives, particularly in the U.S. from the
Designers also need to be more power aware federally sponsored Energy Star program. But it’s Richard Nass is editorial director of Embedded
as process technology evolves. As the process still not enough. Systems Design – a sister magazine of ESE.

22 ESE Magazine October 2008 www.embedded-europe.com

P22_ESSOct08.indd Sec1:22 15/09/08 16:40:57


P23_ESEOct08.indd 1 15/09/08 17:44:28
< Technology Focus >

Components: Digital
Halving the pain through parallelism
Seven tips to help get you started with multi-core processors.
By Stephen Blair-Chappell, Technical Consulting Engineer, Intel Compiler Labs.

ulti-core processors are of the product, then maybe there is no point in An example is the Intel Atom, a low power IA

M everywhere. In desktop computing,


it is almost impossible to buy a
computer today that doesn’t have
a multi-core CPU inside. Multi-core technology
is also having an impact in the embedded space,
upgrading.
One of the benefits of recent trends within
processor design has been the focus on power
efficiency. Prior to the introduction of multi-
core, new performance barriers were reached
processor which uses 45nm Hi-K transistor gates.
By implementing an in-order pipeline, adding
additional deep sleep states, supporting SIMD
(Single Instruction Multiple Data) instructions
and using efficient instruction decoding and
where increased performance per Watt presents a by providing silicon that could run at ever higher scheduling, Intel has produced a powerful but not
compelling case for migration. clock speeds. An unfortunate by-product of this power-hungry piece of silicon.
Developers are increasingly turning to multi- speed race was that the heat dissipated from such Taking advantage of the lower power envelope
core because they either want to improve the devices made them unsuitable for many embedded could in itself be a valid reason for using multi-core
processing power of their product, or they want applications. devices in an embedded design – even if the target
to take advantage of some other technology that As clock speeds increased, the limits of the application is still single-threaded.
is ‘bundled’ within with the multi-core package. transistor technology physics were moving ever
Because this new parallel world can also represent closer. Researchers looked for new ways to Use advanced architectural extensions
an engineering challenge, this article offers seven increase performance without further increasing All the latest generation of CPUs have various
tips to help ease those first steps towards using power consumption. It was discovered that by architectural extensions that are there for ‘free’
these devices. turning down the clock speeds and then adding and should be taken advantage of. One very
It’s not unnatural to want to use the latest additional cores to a processor, it was possible effective but often underused extension is support
technology in our favourite embedded design. to get a much improved performance per Watt for SIMD – that is, doing several calculations in
It is tempting to make a design a technological measurement. one instruction.
showcase, using all the latest knobs, bells and The introduction of multi-core, along with The Atom processor, for example, has dedicated
whistles. However, it is worth reminding ourselves new gate technologies and a redesign of the SIMD execution units, as can be seen in Figure 1.
that what is fashion today will be ‘old hat’ within a most power-hungry parts of a CPU, has led to Often developers ignore these advanced
relatively short period. If you have an application processors that use significantly less power, yet operations because of the perceived effort of
that works well the way it is, and is likely to deliver greater raw processing performance than adding such instructions to application code.
keep performing adequately within the lifetime their antecedents. While it is possible to use these instructions by
adding macros, inline assembler or dedicated
library functions to the application code, a
favourite of many developers is to rely on the
compiler to automatically insert such instruction in
the generated code.
One technique known as ‘auto-vectorisation’
can lead to a significant performance boost of an
application. In this technique the compiler looks
for calculations that are performed in a loop. By
replacing such calculations with, say, Streaming
SIMD Extension (SSE) instructions, the compiler
effectively reduces the number of loop iterations
required. Some developers have seen their
applications run twice as fast by turning on auto-
vectorisation in the compiler.
Like the power gains of the previous section,
using these architectural extensions may be a valid
reason in itself for using a multi-core processor,
even if you are not developing threaded code.
Not all programs are good candidates for
parallelism. Even if your program seems to need
a ‘parallel facelift’, it does not necessarily follow
that going multi-core will help you.
For example, say your product is an application
running real-time weather pattern simulations,
Figure 1: The internals of the Intel low power IA architecture based on data collected from a number of remote

24 ESE Magazine October 2008 www.embedded-europe.com

P24-26_ESEOct08.indd 24 15/09/08 12:56:02


Embedded Design.
Simplified.

Traditional System Design Tools Graphical System Design Platform

Get to market faster with graphical system design, an approach that combines open, graphical software and off-the-
shelf hardware to help you quickly iterate on designs and easily implement them on an NI embedded platform. The
NI CompactRIO system offers an ideal prototyping and deployment platform with a built-in microcontroller, RTOS,
programmable FPGA, integrated signal conditioning and modular I/O, as well as tight integration with intuitive NI
LabVIEW software.

01635 523545
>> Learn how to simplify your embedded designs at ni.com/embedded ni.com/uk
info.uk@ni.com

Come and see NEW NI Single-Board


RIO on Stand 620 at ESS

©2008 National Instruments Corporation. All rights reserved. CompactRIO, LabVIEW, National Instruments, NI, and ni.com are trademarks
of National Instruments. Other product and company names listed are trademarks or trade names of their respective companies.

P25_ESEOct08.indd 1 15/09/08 12:57:37


< Technology Focus >

that it has found an unsupported pragma.


As stated earlier, functional parallelism is
potentially more interesting than data parallelism
when developing an embedded application.
An alternative to using OpenMP is to use
one of the newly emerging language extensions
which supply similar functionality. It is expected
that eventually such language extensions will be
adopted by an appropriate standards committee.
An experimental compiler with such extensions
can be found at www.whatif.intel.com.
Another approach to traditional programming
languages is to use a graphical development
environment. There are a number of ‘program by
drawing’ development tools that take care of all
the low level threading implementation for the
developer.
One example is National Instruments’
LabVIEW, which allows the programmer to design
Figure 2: Using the Intel VTune Performance Analyser to observe runtime behaviour. his program diagrammatically, by connecting a
number of objects together. Support for multi-core
sensors. The measurements of wind speed, production line, where a series of workers carry is simply adding a loop block to the diagram.
direction, temperature and humidity are being out a specific duty before passing the work onto When programs run in parallel, they can be very
used to calculate the weather pattern over the the next worker in the production line. difficult to debug – especially when using tools
next 30 minutes. Imagine that the application In a multi-core environment, each worker that are not enabled for parallelism. Identifying
always produces its calculation results too late, – or pipeline – is assigned to a different core. In and debugging issues related to using shared
and the longer the application runs the worse the traditional parallel programming, much emphasis resources and shared variables, synchronisation
timeliness of the simulation is. is laid on the scalability of an application. Good between different threads and dealing with
One could assume that the poor performance scalability implies that a program running on a dual- deadlocks and livelocks are notoriously difficult.
is because the CPU is not powerful enough to do core processor would run twice as fast on a quad- However, there is a now a growing number of
the calculations in time. Going parallel might be core. In embedded systems, computing scalability tools available from different vendors, specifically
the right solution – but how do we prove this? Of is less important because the execution of the end designed to aid debugging and tuning of parallel
course, it could be that the real bottleneck is an product tends not to be changed; the shelf-life of applications. The Intel Thread Checker and Intel
IO problem, the reason for the poor application the end product usually being measured in years Thread Profiler are examples of tools that can be
performance being the implementation of the rather than months. can be used to debug and tune parallel programs
remote data collection and not excessive CPU It may be that when moving to multi-core, the Where no parallel debugging tools are available
load. embedded engineer should not be over-sensitive for the embedded target you are working on, it is a
There are a number of profiling tools available to the scalability of his design, but rather use a legitimate practice to use standard desktop tools,
that can help form a correct picture of the running combination of data and functional parallelism carrying out the first set of tests on a desktop
program. The Intel VTune Performance Analyser that delivers the best performance. rather than the embedded target. It’s a common
is an example of such a tool and can be seen in experience that threading issues appearing on the
Figure 2. Such analysers typically rely on runtime Using high-level constructs target can often be first captured by running the
architectural events that are generated by the CPU. Threading is not a new discipline and most application code on a desktop machine. <Ends>
Before you migrate your application to multi-core, operating systems have an API that allows the www.intel.com
it would be worth analysing the application with programmer to create and manage threads. Using
such a tool, using the information you glean to help the APIs directly in the code is quite tough, so
in the decision making process. the recommendation is to use a higher level of
There are different ways that one can introduce abstraction. One way of implementing threading is
parallelism into the high-level design of a program. to use various high-level constructs or extensions
Three common strategies available are functional to the programming language.
parallelism, data parallelism and software pipe- OpenMP is a pragma-based language
lining.In functional parallelism, each task or thread extension for C/C++ and FORTRAN that allows the
is allocated a distinct job; for example one thread programmer to very easily introduce parallelism
might be reading a temperature transducer, while into an existing program. The standard has been The author of this article – Stephen
another thread is carrying out a series of CPU adopted by a number of compiler vendors including Blair-Chappell – will also present a
intensive calculations. GNU, Intel, and Microsoft. A full description of the lecture and hands-on workshop on
In data parallelism, each task or thread carries standard can be found at www.openmp.org parallel programming for multi-core
out the same type of activity. For example, a large With OpenMP it is easy to incrementally add at Embedded Systems Show at the
matrix multiplication can be shared between, say, parallelism to a program. Because the programming NEC - see page 16 for more details or
four cores, thus reducing the time taken to perform is pragma based, your code can still be built on see the full program at:
that calculation by a factor of four. compilers that don’t support OpenMP – the www.embedded.co.uk
A software pipeline is somewhat akin to a compiler in this case would just issue a warning

26 ESE Magazine October 2008 www.embedded-europe.com

P24-26_ESEOct08.indd 26 15/09/08 12:56:25


JRexplus-LX SBC

Y Supercool
3,5“ plus PCI-104

Upd@ted
For instant access to over
80,000 price reductions,
visit our electronics range
online today!

PCI-104 bus-compatible
AMD LX 800-CPU 500 MHz
LVDS and TTL LCD support
2 x SATA, GBit LAN JRexplus-LX

rswww.com/electronics 08457 201 201


If you want to have the coolest cards in the hot 3.5”
embedded business, you need the new JRexplus
single-board computer from Kontron. It’s really cool:
Ultra-low power consumption, less heat dissipation,
extremely inexpensive. It’s super cool: Standardized
PCI-104 interface for maximum compatibility with
expansion boards, no-compromise features with all I/O
interfaces, 2 x SATA and Gigabit LAN for super-short
design-in times! Programmed through and through for
EMBEDDED
ultimate diversity and longevity across the years –
unique added value from the technology leader in the
Discover Embedded SBC business. Ask Kontron, we speak ‘embedded’ in
Platform Solutions your language, in 23 countries around the world!

A wide range of Embedded Single


Board Computers
t 5.25” Compact Boards (8” x 5.75”)
t 3.5” SubCompact Boards (4” x 5.75”)
t Embedded Motherboards ATX, MicroATX
and Mini ITX Our info hot line :
t EPIC Modules (4.53” x 6.50”)
t ETX & XTX CPU Modules + 44 1243 523500
t COM Express CPU Modules
t RISC CPU Modules u k s a l e s @ ko nt ro n . c o m
t PC/104 CPU Modules w w w. ko nt ro n . c o m
t Mini PCI Modules

Call our Sales Office for the latest product information

T: +44 (0)1959 563345


E: info@review-displays.co.uk A touch more responsive
www.review-displays.co.uk
If it‘s Embedded, it‘s Kontron.

P27_ESEOct08.indd 1 15/09/08 12:38:14


< Technology Focus >

Components: Digital
Your flexible friend
To what extent can hardware be designed-out in order to expedite development of embedded systems?
By Jon Pearson, Product Marketing Director, Cypress Semiconductor Corp.

ll embedded systems eventually look at your current project (or favourite past one) temperature, and try to walk through the design

A connect to hardware; be that external


sensors and actuators, or internal
functional blocks and peripherals.
And all hardware has its own idiosyncrasies
that a designer must contend with. Furthermore,
and consider what would happen if you changed
the microcontroller. If switching to a different
microcontroller would be a major disruption, you
have designed-in the hardware to some extent.
When you start a project, there is at least a
process, designing-out the hardware as we
go along. At the beginning of the project, it is
known that we need to: obtain a temperature
reading; compute a desired fan speed based upon
temperature; obtain a current fan speed reading;
changing any element of the hardware design, small set of driving ideas or requirements. This is compute a new fan command based upon the
even something as simple as adding or subtracting the time to begin designing a hardware-free system. current fan command and difference between the
an input or output port, impacts the embedded In its simplest form designing the hardware out of desired and the current fan speed, and; output the
software. Hardware changes are inevitable, but your embedded system means logical isolation new command to the fan
changes made late into the design process may between the embedded application software and Figure 1 shows a block diagram of the system,
mean your product is also late to market. Unless, all direct contact with the hardware. This includes in which the rectangles are hardware dependent,
that is, you completely design the hardware out of anything that would be affected if the physical and the ovals are not. Now as the project proceeds,
your system. design or selected microcontroller were to be a decision is made to use a thermistor as the
Beginning the design process using this changed. temperature sensor, maybe because it is cheap, or
approach can yield greater overall flexibility and It extends to obvious things like support it has specific desirable properties.
means that hardware can be swapped at almost hardware within the selected microcontroller. Looking at figure 2, the ‘Get Temperature’
any time, which simplifies debugging and speeds The analogue-to-digital converter (ADC), and the rectangle is expanded into separate hardware
time to market. Many readers may be thinking (quite communications interface (UART, SPI, I2C, USB, dependent functions associated with the thermistor
rightly) that this isn’t an entirely new idea, but new CAN), for instance. If the physical system design design, including the hardware characteristics of
technologies and design tools are now available includes sensors and actuators, these also impact the thermistor and its interfacing circuitry.
that make comprehensive hardware design-out software if changed, as do common elements like Temperature is represented by the device as a
and the associated benefits a practicable design input/output ports and embedded memory. resistance, with signal conditioning circuitry the
choice. Each piece of hardware you find that connects resistance is represented as a voltage, using the
to another piece of hardware is a potential point of ADC described the voltage is converted to a count
What does ‘design-out’ mean? disruption if it is swapped for another. value between 0 and 4095, and with software
In brief, designing-out the hardware means The answer is to isolate each piece of hardware the counts are converted to a temperature in a
separating all control and algorithmic software within a wrapper or interface; if you follow this machine-storable representation (for instance
from the hardware-interfacing software. By path throughout your design process, at the end fixed-point value temperature with the resolution
logically constructing wrappers and interfaces you will see two things. First, you will see how of 0.1°Celsius).
around all hardware you can replace, at any time, your hardware relates to your final system, and We have put the temperature into a data store
the particular hardware in use with a logical therefore how a new project could benefit from so that its value can be updated asynchronous to
alternative without impacting the control and your work. Second, someone designing a brand the control algorithm. This makes the temperature
algorithmic software. new project in a completely different type of always as current-as-possible for the control
Abstracting hardware with understandable, application can take your project and adapt it to algorithm and better isolates hardware from
logical interfaces (functions, macros, symbols) fit their project, replacing or removing layers that software.
makes a design more portable and enables change due to the new application. Later, it is determined that for this design, the
developers to concentrate on solving the real microcontroller will not be near enough to the
application problems. It sounds so easy and How it works – by example temperature hot-spot to use a thermistor; running
straightforward that your team may already be Let’s take an example application, a fan whose the analogue lines all the way from the thermistor
applying a form of this methodology, but take a speed is monitored and controlled according to to the microcontroller pins introduces too much
opportunity for noise and signal loss.
Instead we will install in the temperature zone
an integrated circuit, an LM75 I2C temperature
sensor that converts temperature locally and
provides a digital value onto an I2C bus as a slave
device.
Now in order to get a temperature, as
shown in figure 3, we have to enable I2C master
communications hardware in our microcontroller,
read a particular set of registers in the LM75, convert
Figure 1: Simple fan control system the temperature from native representation (the

28 ESE Magazine October 2008 www.embedded-europe.com

P28-30_ESEOct08.indd 28 15/09/08 13:02:43


P29_ESEOct08.indd 1 16/09/08 11:18:46
< Technology Focus >

Figure 2: Thermistor sensing details

least significant bit represents 0.125°Celsius) to sample the inputs would change and the counts- what the application requires, and can be added
our previously chosen temperature representation to-temperature conversion might change. or removed from the design as requirements
(fixed point value temperature with the resolution Since these were all tucked neatly into change. Abstraction can be carried to a higher
of 0.1°Celsius). rectangles (representing functions and/or macro level, however, by using a mixed signal array. For
Because we isolated our control software, definitions and calls) simply replacing the contents example, with the PSoC Mixed-Signal Array devices
the control application software has not been of the rectangles with the new instructions and visual embedded design tools, the software by
impacted at all by this hardware change; and any required by the new microcontroller changed the default employs a hardware abstraction method
peculiarities associated with the LM75 can be hardware but not the software. and generates all the layers automatically.
tucked into one of the blue rectangles of figure 3, Our specific example purposely changed the Referring to the example above, in order to
exposed to scrutiny and verification without having hardware outside of the microcontroller to make a modify the thermistor, the user selects ‘Thermistor’
to disturb the control software. more universal point, but the same process applies from a catalogue in the PSoC Express design tool,
For instance some of these devices start a if the microcontroller hardware changes. defines the ‘Compute Desired Speed’ control
new conversion each time the I2C master reads algorithm, and the development tool presents
the temperature value/register and if this access Technologies enabling design-out which devices are available with the necessary
occurs too fast or too often, the LM75 will not finish When it comes to making it easier to design-out resources for the application. Upon selecting
a conversion. The control algorithm, therefore, hardware, microcontroller companies are striving a device, the tools generate the necessary
doesn’t need to care about these details. to simplify the process a few steps further by firmware to read, convert and store the thermistor
If we started with the thermistor design of employing hardware abstraction within their temperature in fixed-point format into a data
figure 2 and changed our microcontroller, the software development tools. The peripheral structure and make it available to the “Compute
commands to configure and access the ADC would functions of microcontrollers are selected by users Desired Speed” algorithm. If the specifications
change, the register sequence to multiplex and from a catalogue of choices, depending upon of the thermistor change, the user can select a
different PSoC device with only those devices with
the necessary resources for the application shown,
and the hardware abstraction layers regenerated
without impacting the control algorithm.
When it comes to making it easier to design-
out hardware, microcontroller companies are
striving to simplify the process a few steps further
by employing hardware abstraction within their
software development tools. Until the day comes
when no unexpected design changes occur, or
everyone can set their own deadlines, it is worth
considering these developments and a greater level
of hardware design-out methodology. <Ends>
Figure 3: I2C digital temperature sensor details www.cypress.com

30 ESE Magazine October 2008 www.embedded-europe.com

P28-30_ESEOct08.indd 30 15/09/08 13:03:02


Save Money, Save Power and Save Time
Save Money: Implement PCI Express using Intrigued? To learn more about how Lattice
Lattice’s low cost LatticeECP2M™ FPGAs can help you save money, power and time go
with volume prices up to 50% less than to www.latticesemi.com.
competitive devices. Or, save look up
tables by using the hard IP blocks in Lattice provides a full suite
a LatticeSCM™ FPGA. of tested and interoperable
solutions for PCIe x1 and
Save Power: The LatticeECP2M offers x4, including:
static power substantially lower than other ■ FPGAs with embedded
FPGAs with embedded SERDES. Or, save SERDES
dynamic power with pre-engineered IP blocks ■ Soft and hard IP cores
like memory controllers and MACs in our ■ Development kits
LatticeSCM FPGAs. ■ Reference designs
■ Test and interoperability reports
Reference Save Time: Lattice PCIe solutions save
Design you time by combining Silicon, Intellectual
Available Property and Development boards. See 01908 263999
working hardware in minutes! lattice-uk@msc-ge.com
V-7_2008-GROS-4070

V-7_2008-GROS-4070

Get to a known good starting point for your


product development in hours.

MSC-Gleichmann, Distributor of

MSC UK Ltd. · Shaftesbury Court · 95 Ditchling Road · Brighton · Sussex · BN 14 ST N www.msc-ge.com


Tel. 01273 622446 · Fax 01273 622533 · Brighton@msc-ge.com

P31_ESEOct08.indd 1 12/09/08 17:28:11


Embedded2Enterprise

ZigBee simplifies water meter reading


David Blisset & Ollie Smith of Telegesis describe how ZigBee modules have been integrated into the Moscow
water supply.

M
onitoring and accurate ac- ter for central heating and washing – has been free as modems. The Telegesis command layer for the
counting of utility consumtion of charge. To introduce a levy based system and to ETRX2 firmware forms a powerful software prod-
– whether electricity, gas, monitor usage of hot and cold water a metering uct providing comprehensive access to the mesh
or water – is a strategically scheme has been introduced. networking technology of Ember silicon and of-
important task, affecting the economy of every TBN Energoservice delivers its energy service fering a simple and fast way to develop a ZigBee
country. TBN Energoservice is a Russian company via its own back end information system – dubbed wireless system. The ETRX2 firmware is based on
that has specialised in metering and analysis of GIS TBN ENERGO – which differs from many AMR the EmberZnet stack and performs all mesh-net-
energy resource consumption for the past decade. systems in the market in that it offers a compre- working functions such as network forming, data
its offers its energy services to utility companies hensive approach. re-transmission, self-healing and route discovery.
enabling their consumers to take an active role in The TBN system includes the AMR subsystem, One advantage of Telegesis products is that
energy saving programs by developing solutions. the dispatcher control subsystem – responsible for two versions of the module are delivered with the
TBN Energoservice has invested considerable control of equipment states and failure detection same form factor – a low cost base ETRX2 mod-
funds in the development of automatic meter read- – the data saving subsystem, and the analytic sub- ule and an ETRX2-PA module with an additional
ing (AMR) and advanced metering infrastructure system. From initial concept stage the GIS TBN EN- 100mW amplifier allowing designers to optimise
(AMI) systems using the latest technical develop- ERGO system has been designed to be truly scal- the overall cost of the system.
ments. TBN engineers are currently implementing able and can be implemented as a district, city, or Typically, modules without amplifiers have an
a major wireless water consumption AMR system regional scale system. Currently 50 district systems outdoor range up to 300 m however experience
which uses ZigBee mesh networking software and have already been put into the service in Moscow showed in the installation of the Moscow wa-
silicon from Ember Corporation delivered in mod- as part of the local government program known as ter meters that the ETRX2 modules can reliably
ule form via the ETRX2 module produced by British “Water meter into every municipal house”. transmit messages from inside an apartment with
company Telegesis (UK) Ltd. Initially, TBN’s AMR subsystem used one me- a metal door to a stairwell platform. The more
In the Russian model water is pre-heated in ter per house. This was followed by a wired data powerful ETRX2-PA modules allow outdoor data
dedicated power plants and pumped underground acquisition system with multiple apartment water transmission typically, up to 800 metres, and can
directly to consumers apartments. Historically, the meters per building. TBN Energoservice are now transmit data over 3 to 5 floors inside an apartment
provision of all water services – including hot wa- moving to a wireless AMR based on ZigBee tech- block.
nology. Module configuration is performed by program-
In order to simplify ming internal non-volatile registers. All modems in
system implementation a network are the same and can be assigned as
ZigBee wireless com- a coordinator, router or end device. The Telegesis
munication based on AT-command set introduces an additional concept
Telegesis ETRX2 modules – a central acquisition data node known as a ‘sink
using Embers technology node’ which is assigned by programming a cor-
was selected. The ZigBee responding modem configuration register. The co-
mesh network topology ordinator or any router in a network can be as-
can support a coordinator, signed as a sink. Telegesis ETRX2 modules have
multiple routers and mul- a deep sleep mode giving current consumption of
tiple end devices (sleepy less than 1µA whilst the RTC continues to work
or mobile). thereby allowing end nodes to extend their battery
Telegesis ETRX2 life to several years.
modules were chosen as A unique 64-bit identifier pre-programmed
the base components for into each module at manufacture is used for
the TBN wireless AMR node addressing and the availability of embed-
subsystem. Telegesis ded firmware tested by the manufacturer reduces
specialises in manufac- system development time and eliminates the need
turing wireless mesh net- for expensive, complex development tools. The
working modules based Telegesis AT-command set supports comprehen-
on Ember’s chip set and sive functions including wireless network forming,
are used in a range of im- network monitoring, transmit/receive messages
plementations. Telegesis via radio channel, input/output of digital and ana-
engineers were among log information, and control of timers and serial in-
the first to develop an terface. Thus designers using ETRX2 Modules can
‘AT’ style command set concentrate on application tasks and simply treat
for their radio modules the wireless network as an easily implemented
Figure 1: TBN wireless automated water metering subsystem effectively offering them data transmission interface.

32 ESE Magazine October 2008 www.embedded-europe.com

P32-34_ESEOct08.indd 32 15/09/08 16:48:09


The missing piece of your
electronics information puzzle

Offering global coverage with a


European perspective
Most existing electronics publications in Europe
only supply local coverage. Yet the electronics
market has become global. EE Times Europe,
delivers a truly dynamic European and global
perspective to the European reader.

www.eetimes.eu
EE Times Europe.
The innovative integrated media concept,
for the creators of technology in Europe.

Go online now,
and register free of charge!
To become an EE Times Europe reader,
you can register at:
www.eetimes.eu.

TechInsights Europe
144 Avenue Eugène Plasky
B-1030 Bruxelles
Belgium

P33_ESEOct08.indd 1 15/09/08 14:57:07


Embedded2Enterprise

electricity meters are in the same electricity cabinet. distributed throughout the building with the rout-
Floor controllers KM-K-8Z have microcontrollers and ers working as central nodes of the stars.
an ETRX2-PA module which has additional power Routers only transmit all buffered data upon
amplification enabling data to be transmitted over 3 a request from a central sink node. At this stage a
to 5 floors. wireless mesh network mechanism with retrans-
The building controller TBN KM-DZ is based on missions and route discovering is applied.
an ETRX2-PA amplified module which is pre-pro- Installing routers on every floor provides sev-
grammed to work as a network sink node. All infor- eral possible routes for message transmission to
mation from network routers is sent to a TBN KM-DZ the central node. In this case a wireless network
which communicates to a dispatcher office via Ether- can automatically choose the optimal route and
net. In addition the building controller KM-DZ has an rediscover a new route in case of failure of the
additional USB port allowing collected information old one.
to be copied into a USB flash stick if needed. The The GIS TBN ENERGO system has distributed
building controller has no visual display, so in order intelligence. Each level is responsible for its own
to read the system state a removable operator panel data processing task. So end apartment loggers
KM, with a 4-line alphanumeric LCD and a small key- KM-K-3Z have buffers that permanently contain
board is used allowing TBN KM-DZ memory reading data reflecting the cumulative total of water con-
Figure 2: KM-K-3Z loogers are installed in apartments and monitoring of network node states. sumed since last meter calibration. End nodes
alongside the water meters There is also an independent metering system also calculate the value of consumed water,
inside the building based on existing water meters. control meter link quality, monitor meter cover
Software stacks such as EmberZNet PRO 3.1 and Information from this system is also transmitted to a state (open/closed), report on battery status and
later, delivers robust and reliable mesh networking, dispatching office via Ethernet. other possible problem states. Floor routers KM-
supporting all ZigBee device types in a single stack K-8Z add additional data from their local electric-
image for Ember’s IC platforms. EmberZnet PRO 3.1 System commissioning and ity meters to these messages before forwarding
includes the industry’s first proven stack based on operation algorithm them.
the ZigBee PRO feature set, enhanced with Ember The major advantage of this system is its commis- The central building controller KM-DZ ag-
innovations; it provides many features for the most sioning simplicity. KM-K-3Z loggers are installed in gregates data to a dispatching office. This office
challenging applications such AMI, home automa- apartments at the same time as water meters – see also receives information from independent,
tion, and building automation systems. figure 2 – and no additional power or signal cables existing building meters and comparing results
ZigBee PRO adds advantages including larger are needed. Installation engineers simply mark the from these two information sources, calculates a
networks scaling to potentially thousands of nodes locations of every node on a building plan and fit balance of water consumption in a building alert-
in a single network enabled by stochastic address- node identifiers. Floor routers are installed in built-in ing authorities to possible leaks and equipment
ing, many-to-one/source routing and asymmetric link cabinets on each landing where mains power is avail- failures. As end loggers permanently store cumu-
handling. Dense networks through intelligent table able and the building controller is placed either in a lative records of total consumed water there is
management assure network stability even when basement or an attic or roof space. no risk of information loss even if communication
many routing nodes are within close proximity. Immediately after installation, end nodes and between an end node and the whole system is
Configurable deep-sleep time-outs and special routers begin joining the network. They perform a lost.
router parent functions significantly extend battery ‘PAN SCAN’ and attempt to join the established If an end KM-K-3Z logger loses contact with
life of end devices by allowing networks capable of wireless network. When the central sink node is a parent router it will continue counting water
sleep and hibernation. Security is further enhanced switched on routers connect to it and end nodes link consumption and calculating the water consump-
by implementing many of the optional ZigBeePRO to the routers. During network building only nodes tion tariff while the information system informs
security extensions for advanced network encryp- with a pre-programmed encryption key are permitted the authorities that there is a loss of contact with
tion and device security. Resilient networks are also to join. that end node. After communication is re-estab-
assured by a frequency agility feature allowing the Child nodes choose their parents randomly. Par- lished the end node will transmit all the data
entire network to change channels when interference ent routers could be situated either on the same floor collected whilst it was out of contact. Thus TBN
is present as their children or on upper or lower floors. End node Energoservice has developed an easy to install,
The main block layout of the TBN Wireless au- messages contain specific identifiers which allow a reliable automated meter reading systems of up
tomated water meter reading subsystem is shown central node to correlate data received via intermedi- to 500 water meters.
in figure 1. In this scheme apartments are equipped ate routers with apartment numbers. Consumers in each apartment can now be
with TBN KM-K-3Z loggers, which have inputs for It’s calculated that end nodes can work for up to 4 sure that they are being accurately billed grant-
three meters – one each for cold and hot running wa- years on one set of batteries. In order to save battery ing them sight of their consumption levels and
ter and one for heated water used for central heating. power the KM-K-3Z end nodes transmit data to their enabling them to monitor and conserve water
These loggers include a microcontroller and an ETRX2 parent routers once per hour. The receiving routers usage. Utility companies benefit from accurate
module and are configured as sleepy end devices in then buffer this data. Whilst in communication with customer consumption figures improving billing
the wireless network. end nodes, routers synchronize the end node clocks and payment collection with a consequent reduc-
KM-K-8Z floor controllers are located on stair and transmit any relevant control information from tion in bad debts and unpaid bills. The technology
landings of every floor in built-in cabinets with elec- the central node if required. When routers perform also assists by detecting leaks and equipment
tricity equipment. They are mains powered and are data exchange with their child node loggers in each failure far more quickly than usual. ●
configured as routers in the ZigBee wireless network. apartment, data is not automatically retransmitted. Ollie Smith is business manager and
In addition, each KM-K-8Z has eight inputs for elec- These exchanges are simply data acquisitions in Dave Blissett is marketing manager at
tricity meters with impulse output. In most cases the multiple independent star configuration networks Telegesis – www.telegesis.com

34 ESE Magazine October 2008 www.embedded-europe.com

P32-34_ESEOct08.indd 34 15/09/08 16:48:26


Kane Computing Ltd
DSP and FPGA Development Solutions
ViClaro III HD Video Development Kit

Manufactured by Microtronix, in conjunction with


Altera, this platform supports all interfaces for HD
video display and imaging applications typically
required by consumer, automotive and medical
market segments.

Bitec Cyclone III Video Development Kit

A combination of the Altera Cyclone III


Development Base Kit and Bitec HSMC Quad
Video Daughtercard and HSMC DVI Daugh-
tercard the CIII-Video-Dev-Kit provides a cost
effective integration solution for developers
wishing to use the Cyclone III device for video
applications.

Digital Video Infrastructure Platform (DVIP)

The DVIP is a Rapid Prototyping multi-processor


system utilising Xilinx Virtex-4 FPGAs and
TI's DaVinci SoC processors. Over 40 differ-
ent combinations of plug-in interfaces are also
available. DVIP is aimed at developers in very
demanding security applications, defence or
broadcast applications where scalable process-
ing is important.

www.kanecomputing.co.uk - sales@kanecomputing.com
Tel: +44(0)1606 351006 - Fax: +44(0)1606 351007

Our technical support


speaks your language

rswww.com/electronics 08457 201 201

P35_ESEOct08.indd 1 15/09/08 12:36:27


Embedded Distribution

Singling out a solution


Key issues for designers in the selection and use of single board computers.
By Richard Eden, Marketing Development Manager for Electronics, RS Components.

C
ompanies looking to source manufacturer direct to achieve any additional single plug-in processor module as standard.
single board computers (SBCs) to functionality required and to meet their volume The baseboard currently supports processor
meet new embedded electronics requirements. Customers in small companies modules featuring either the Infineon XC167
requirements not only need to often don’t want to spend precious development or ST Microeletronics STR912 processors.
know that they are selecting the right product time designing and testing their own bespoke Others will be added regularly. Various CPU and
for their situation, but that development times platform, so an SBC provides additional choice application module permutations are possible
and costs will be right for them, too. in helping them to develop a solution quickly. and even the minimum configuration allows the
Making these choices requires both expert Sourcing an SBC through a distributor engineer to operate a web-server easily, via the
product knowledge and a good understanding of such as RS offers some crucial benefits to standard onboard Ethernet connection.
what users are looking for. Electronic equipment customers. First, a distributor can often supply Various application modules are available,
distributors like RS Components are therefore SBCs from stock, the next day. A distributor can including an initial starter kit range consisting of
well-placed to work with their customers in cater specifically for the low-volume customer, basic digital and analogue I/O, a motor control
helping them make the right decisions and to enabling them to buy an off-the-shelf unit that module and a communications module. Each
access solutions quickly. will satisfy, say, 80% of their requirements module contains full schematics, Gerber files
However, a successful distributor does far before they need to talk direct to and a bill-of-materials supplied on an ‘Open-
more than simply sell products, they provide the manufacturer. Source’ basis. Further modules will be added
added value through services and support as the EDP becomes a standard designer’s
to their customers and they also invest in tool. The baseboard itself comes with a
continuously improving those services CD containing all necessary
to enhance the customer’s overall software drivers
experience. and, for processor
These days the range of m o d u l e s ,
applications for SBCs is huge, appropriate
including: vending machines; Windows-based
ATMs; some medical development tools.
equipment; dispensing Advanced users
machines; ticketing systems will also find the
and the information display systems linked baseboard can run
to them (such as in airport terminals); access more than one processor
control; bioscan and general security systems; module in a master and
transport and gaming systems; automation and slave configuration.
process systems; control of services in buildings, This development Fitted with rubber feet for
and factory automation equipment. Across all ‘stop-gap’ can therefore provide laying flat on the bench, the EDP
these fields, getting design solutions to market a crucial time and cost advantage. can also be used in a standard
quickly is a major challenge for embedded Of course, in the fast paced and dynamic r a c k system and, by adding a 64-way
electronics systems designers and selecting the world of the design engineer, where new DIN connector, such as RS’ 381-8696 (not part
right equipment is therefore vital. technologies and market demands emerge and of the EDP package), it can be plugged into a
There are many suppliers of SBCs available, evolve with astonishing rapidity, any additional backplane. It is also fitted with +3.3V and +5V
so it is important to apply the right criteria when functionality that can deliver time and cost regulators, a back-up battery, RJ45 Ethernet
selecting a manufacturer. RS looks at things very savings is a big plus. This is the unique edge and mini-USB connectors, +12VDC power-
much from the perspective of what customers that the Embedded Development Platform (EDP) supply jack, I/O breakout header and eight DIP
have expressed a need for. As a result, RS from RS can offer to hard-pressed designers. switches ported onto the system I_C bus.
favours the main protagonists, because they The EDP consists of a baseboard measuring The DIP switches allow the user software,
have a strong reputation in the global market, 220mm x 100mm that can hold a combination of running on a processor module, to read a
as well as the resources to offer a wide range up to four CPU or application modules – a ‘first’ configuration setting, enabling I/O ports to be
of products and functionality, which are crucial in this field of technology. It has been designed setup correctly. Depending on the capability
to meeting customers’ needs. robustly to have a significantly longer lifespan of the particular processor module, up to three
than the average development board and has I_C buses and two CAN networks are available.
Why SBCs? been subject to rigorous testing. And, during Many of the application modules use an I_C bus
Customers use SBCs for various reasons. Some the design stage, strenuous efforts have been for primary communication with the processor,
companies, who need a fast route through made to protect against the most common providing maximum flexibility. Some processor
the development cycle for their system, might human errors. chips will require +5VDC, others +3.3VDC. A
buy an SBC and use it to provide most of the The minimum configuration of the baseboard factory link on the module selects the correct
system functionality. They may then contact the comprises four identical stations, with a supply from the connector. This supply is linked

36 ESE Magazine October 2008 www.embedded-europe.com

P36-38_ESEOct08.indd 36 15/09/08 16:52:21


The missing piece of your
electronics information puzzle
Offering global coverage with a
European perspective

Most existing electronics publications in


Europe only supply local coverage. Yet
the electronics market has become global.
EE Times Europe, delivers a truly dynamic
European and global perspective to the
European reader.

Integrated Print and online. Delivering the news the way you prefer:
EE Times Europe print EE Times Europe web site
Via the mailbox and daily newsletter.
Product and news coverage Via the Internet.
is delivered twice a month, Daily updates of information
with quick turnaround. for senior engineers and
technical managers who
EE Times Europe require timely
digital edition information on global
For those who want the technology trends and
news faster competitive issues from
and to avoid the use of around the world. Online
paper, the digital edition can daily.
be downloaded the same
day the magazine is printed. www.eetimes.eu

Editors serving the global EE Times Europe.


electronics industry The innovative integrated media concept,
for the creators of technology in Europe.
- EE Times Europe has access to the world’s largest and
most respected editorial team. Go online now, and register free of charge!
- EE Times Europe provides the creators of technology
with news and analysis needed to stay abreast of key To become an EE Times Europe reader, you can register at:
technology and competitive developments in the global www.eetimes.eu.
electronics industry: design currents, editorial perspec-
tives, and analysis, technology business, East meets TechInsights Europe
West, research, new products, job ads, and more. 144 Avenue Eugène Plasky
B-1030 Bruxelles
Belgium

www.eetimes.eu
European Electronics without borders.

P37_ESEOct08.indd 1 15/09/08 15:25:43


Embedded Distribution

The core element of RS’ Embedded specific microcontrollers across different code and documentation. The baseboard
Development Platform is the reusable technologies and manufacturers. This stations can also accept any of the plug-in
baseboard, used to evaluate different reduces project costs by removing the need EDP Application Modules, acting as reference
microcontrollers and technologies, and to purchase specific development kits from designs to support microcontroller-based
develop applications. manufacturers. solutions. There are four modules currently
The platform adopts the extended There is currently two EDP CPU modules available, addressing analogue and digital
Eurocard format and consists of four identical available; one for the Infineon XC167, and one I/O, motor control and basic communications
development stations, with a host of breakout featuring the ST Microelectronics STR912. respectively.
peripherals and bus options. More CPU modules are promised. RS also supplies ‘ready made’ starter kits,
The unique design of the development Both modules are supplied with associated comprising a baseboard, processor module
stations accepts any plug-in EDP CPU Module, development environments (including the and application modules, to address specific
to allow the testing and development of Keil uVision and Hitex HiTOP IDEs), example market segments.

to a further connector pin on all the other module in control systems. The products include single so easily is how they will evolve or what they
stations providing a correct voltage reference or board computers (SBCs), box SBCs, PICMG might look like.
bus pull-up for the application modules. There SBCs, slot CPU cards, system on modules, flat The life span of an SBC depends on its
is also duplication of an analogue input unit, for panel PCs, industrial motherboards and graphic cost and capability and the purpose for which
larger inputs. controllers. it is required. For example, as long as people
It is important to note that the EDP is not Some may ask if there are too many or too need cash they will need an ATM and this
an SBC; it is a universal demonstration board few formats for SBCs available today. For SBC means some type of control will be needed to
available with different processor modules that technology, standardisation can be the key to dispense the money, and record the transaction
is designed to work seamlessly with different greater success overall. With the evolution of for the bank and the customer. Convergence of
application modules. On the other hand, an web-based technologies, SBC developments technology and size reduction mean that even
SBC is a ‘step down’ from a home PC that is need to be able to respond to future customer hand-held and moveable objects can now be
designed to operate a series of applications and requirements with greater flexibility while still defined as SBCs and these will benefit from
software to a customer’s specific requirements, retaining a recognised platform, such as PC104. PSoC products. Therefore, while the current
for example a pinball machine in a gaming hall, The number of formats at present is both format for SBCs may still be right for a range of
a vending machine at a station or a high street manageable and low. Kontron and Advantech applications, they could be overtaken by other
ATM. An EDP application would not be suitable have expansion boards for some products and types of technologies.
for this type of application because the modules stackable PC104 for multiple applications, so www.uk.rs-online.com
have not yet been developed. the real issue is what is on the board and what
will it do, rather than the format.
Fit for purpose These are mini computers configured with
An important issue – both for SBC suppliers and functionality to do a limited number of functions
customers – is to maximise complementarities well, so arguably the designer is going to be
and minimise cross-over. In this way conflict more concerned about how it interfaces with
between suppliers’ equipment is avoided and the rest of his system.
customers get solutions tailored to their specific With more sophisticated System-on-Chips
needs. To illustrate this, RS uses 3 suppliers; being developed every day, will SBCs be David Giles, Software Test Tools
Arcom, Advantech and Kontron, each of whom replaced with single-chip solutions in the near Manager, Hitex, (RS Components)
provides a complementary range of products future? There will, of course, always be demand – will present An Embedded
to suit slightly different needs. For example, for electronic equipment designed for specific Development Platform Explained on
Arcom is focused on the industrial market, embedded applications. This means that Single Thursday October 2 at ESS. See more
while Advantech supplies rugged applications, Board Computers in some format will be with us details at: www.embedded.co.uk
and Kontron offers SBCs for flexible solutions way into the future. What we can’t anticipate

38 ESE Magazine October 2008 www.embedded-europe.com

P36-38_ESEOct08.indd 38 15/09/08 16:52:40


Design Line
INDUSTRIAL CONTROL

The AUTHORITY in Industrial Control & Automation Design

THE INDUSTRIAL CONTROL


How-to Information
DESIG N ER’ S U LTIMATE & IN-DEPTHMotorARTICLES
DESIGN ON THE FOLLOWING:
Control/Sensors

● Industrial Instrumentation
RESOURCE ON EU-RELATED ● Process Control
● Networking

ISSUES ● Robotics

PRODUCTS LIBRARY
INFORMATION
Technical references,
Product reviews and
standards & certifications
announcements to inform
and industrial resources
your design choices

NEWS ELEARNING
The latest industrial aimed at helping
control industry news engineers solve their
and updates design challenges

Visit Us Online at:


www.Industrial-europe.com

SPONSORS

P39_ESEOct08.indd 1 15/09/08 15:12:15


Embedded Distribution

Embedded services target XP Professional


Distribution channels gear up to address the withdrawal of Windows XP Professional. Philip Ling reports.
Despite the fact it is used extensively in now face a future without XP this alternative is promised to last at least until
embedded applications, Microsoft has Professional. 2016.
announced the withdrawal of Windows One of the options is porting Nick Donaldson, General Manager of
XP Professional. This, in turn, is leading to their application to XP Embedded, Abacus Embedded, said: “Microsoft Windows
the introduction of new services to support a service now being offered by XP Professional is widely used in a host of
embedded users. some Systems Integrators such as applications, from kiosks to gaming machines,
Although the use of Windows XP Embedded MPC Data, through its ‘Embedded industrial control systems to building
would often provide a more attractive XPert’ service. management systems. Often the manufacturers
solution – both commercially and technically Abacus Embedded is also source their licenses through the Microsoft
– the simple reality is that many embedded rising to the challenge, by retail channel and will no longer be able to
applications are essentially pared down PCs, launching its ‘Windows XP obtain them from their existing suppliers. A
which means they are often deployed using the Professional Hotline’, available call to the Abacus hotline can not only provide
same desktop operating system used during on 0845 2011078. a replacement source for licenses, but can
the development of applications. Although XP Part of its solution includes also start a discussion about operating system
Professional wasn’t intended to be used in this ‘Zul Smart, one of ‘Microsoft XP Professional for products that may be more suitable, and could
way, porting the application with the same OS Abacus’ Windows Embedded Systems’, a package described even be cheaper than the software they are
eases deployment, with little or no modification Embedded as being technically identical to the desktop using at the moment.”
needed. specialists, mans product in every respect except the licensing www.embedded-xpert.com
However, with its withdrawal, OEMs must the hotline.’ terms. The company is promising support for www.abacus-embedded.com/xppro

Have it your Adapter for enable communications between wireless USB


2.0 compatible PCs, or wireless USB 2.0 host

way! wireless data systems and compatible peripheral devices.


It is software compatible with NEC’s previous
Surtech Distribution, specialist distributor for Gleichman Sunrise is now offering a wireless DWA, which operates between 3 to 5GHz and
enclosures and accessories, is now offering USB adapter with an extended frequency range enables the simultaneous communication of
customers the chance to design their own of 5 to 10GHz. NEC Electronics’ device wire multiple wireless USB hosts and peripherals.
enclosures – or modify standard products. adapter, the DWA uPD720180A, is designed to The recently announced uPD72017 host
Working alongside Surtech’s technical team, controller will support the
using specialist 3D CAD software, customers extended frequency range,
can see and approve their designs before combining to provide fast
placing an order. Once approved, the design is and reliable wireless USB
sent direct to the manufacturing plant and even connections.
allows batch production against orders. Samples are available
“Our customers are no longer constrained today from Gleichmann
by having to use standard products,” said Sunrise, with volume
Peter Curtis, Business Development Manager production expected to
at Surtech. “For applications where a custom commence in October.
design would deliver significant advantages, www.ge-sunrise.co.uk
designers do not have to trade this advantage
off against increased production costs, or
contend with extended lead-times.”
Curtis added: “We are the first distributor
On Semi adds industrial sectors, and include: transceivers;
stepper motor drivers; DSP systems; ULP
in the industry with the technical expertise and
systems to be able to offer this service, which AMIS to channel memories; PoE power devices; drivers, and
clocks.
is available with any Surtech enclosure, free ON Semiconductor has announced that “We are very excited about launching these
standing racking, sub-racking, cases, diecast the broad portfolio of Application Specific new products into distribution on a global
and plastic boxes – including custom finishing Standard Products (ASSP) it acquired through basis,” said Jeff Thomson, Vice President,
and colour.” the acquisition of AMI Semiconductor is Global Channel Sales: “We have excellent
Sutech has also signed a distribution now available through its global network of partners in our global distribution network, who
agreement with Rittal which will initially cover authorised distributors ensuring component have a strong focus on customer satisfaction
the Ripac 19in subrack range. Surtech will offer availability, providing credit, component and coverage. Through their dedicated
full technical support, design assistance and preparation and kitting services as well as resources we are better positioned to deliver
commercial support for the range as well as logistics support and design. the right products at the right time to the right
extensive stock holding. Former AMI Semiconductor ASSPs now customers.”
www.surtechdist.co.uk available address the automotive, medical, and www.onsemi.com

40 ESE Magazine October 2008 www.embedded-europe.com

P40-41_ESEOct08.indd 40 15/09/08 16:57:37


Auto connect miniature, rugged products.”
Peter Boreham, General Manager
A leading US based manufacturer of of Filcon, added: “Formula 1 is very
miniature connectors for high reliability advanced in its use of technology, and
applications, Omnetics Connector, the sport is constantly introducing
has signed a franchise distribution new electronic systems that place
agreement with Filcon, the UK based great demands in terms of size, weight
specialist connector distributor. The and performance on the connectors.
agreement will cover Europe for the Omnetics has the products to enable
autosport market and the UK for all these applications.”
other sectors. Boreham went on to say: “Omnetics
Gary Evans, European Sales Manager makes very reliable, miniature high
for Omnetics, said: “Filcon is a relatively quality connectors, and there is
new name in the UK, but its personnel always a good range of product, either

Waterproof PCs rated to IP65 have many years of experience in


connectors, so the company is in an
immediately available or on short lead
times. More, Omnetics leads the field
Trident has strengthened its industrial panel processor clocked at 1.5GHz; alternatively excellent position to help design-in our with new products such as its circular
computer portfolio, with the introduction of there is a 600MHz version for power- innovative connector products. Filcon is latched series in nano D and micro D
a new family of waterproof PCs. The FOX- conscious applications. Trident can add the especially active in the autosport arena densities, which the competition cannot
120 and FOX-150 multi-purpose computers customer’s choice of Windows 2000, XP and is also looking to target military offer.”
from AAEON feature Intel Celeron M or XP Embedded, allowing flexibility and and aerospace customers with our www.filcon.co.uk
processors and touch-screen SVGA compatibility with OEM applications.
displays, housed in a waterproof casing Both 12- and 15-inch models include
that is rated to IP65 on all sides.
The FOX-120 has a 12in SVGA colour
up to 512MB of RAM, together with either
an internal CompactFlash disk or an anti- Completion acquisition of Azzurri. Before that Cirrus
Logic and Avnet Memec had already
TFT LCD displaying up to 262k colours, with vibration 2.5in disk-drive bay for solid-state Avnet Memec is the only distributor in extended their distribution agreement
800 x 600 resolution. A 15-inch TFT LCD is storage. Europe offering a full range of Cirrus into the UK, France and Italy. It is now
built into the FOX-150, increasing screen External connections through the rear- Logic products in its portfolio. The distributing all Cirrus Logic products on
resolution up to 1024 x 768 and colour panel waterproof connector include dual completion of the product portfolio a pan-European level.
depth up to 16.7 million. RS-232 and two USB 2.0 ports. Optionally, mainly results from Avnet Memec’s www. avnet.eu
Brightness is the same for both 10/100Base-TX Ethernet is offered via a
models, but the FOX-150 offers a wider waterproof RJ-45 connector and an Audio
viewing angle of up to 160 degrees in (Mic-in / Line-in / Line-out) socket is also
both horizontal and vertical axes. An eight- available.
wire touch screen provides the analogue Both models operated over an extended
resistive user input and is guaranteed -20 to +60 degrees C temperature range
over a million operations. Day and night and are resistant to shock and vibration.
modes are available for power-saving Vertical applications are facilitated by
applications. the choice of VESA 100mm or in-vehicle
The new industrial panel computers mounting.
are based on a low-power Intel Celeron M www.trident-uk.co.uk

Tyco – Aerco Radiation cross-linking prevents cold flow


of the insulation, a recognised problem of
some uncross-linked materials.
cable deal Spec 55 cable is insulated with modified
Under the terms of a new trading radiation cross-linked ETFE polymer and its
partnership with Tyco, Aerco will stock high small size considerably reduces the size
performance Spec 44 and Spec 55 cable. and weight of electrical harnesses. It has Needing 253 different parts
Spec 44 cable has a dual wall a temperature rating of -65ºC to +200ºC.
from 36 manufacturers could
construction that combines the Both are supplied with tin-coated and
characteristics of radiation cross-linked silver-coated copper and silver-coated,
give you sleepless nights.
polyalkene and polyvinylidene fluoride high-strength copper alloy conductors Not with assured next day
(PVF2) to provide an insulation system that while the Spec 55 can also be made with delivery from a single source.
offers a temperature rating of -65ºC to nickel-coated copper conductors. Both Sweet dreams
+150ºC in a soldering iron resistant cable cables demonstrate a total resistance to
that is also impervious to most solvent, electrical arc tracking under wet and dry
fuels and lubricants. Spec 44 wire and conditions at aircraft system voltages
cable is highly flame retarded, non-melting, and are not susceptible to UV or moisture
mechanically very tough and is easy to degradation. rswww.com/electronics 08457 201 201
handle and install using conventional tools. www.aerco.co.uk

www.embedded-europe.com October 2008 ESE Magazine 41

P40-41_ESEOct08.indd 41 15/09/08 16:57:54


< Standards
/Standards>>

A Standard Individual:
Life is a cabaret oh chum, come to the cabaret!
I
t’s that time of year again: Show time! What follows are my ways you don’t get anywhere else. What’s more you can often sit
own views and have not been suggested by anyone connected and discuss it over a coffee and put it in perspective before looking
with ESS. Actually no one gets any editorial sway on this round again for more information and solutions at the same show,
column (apart from the ESE lawyer!). saving days of web searches and phone calls.
The problem is the average British Engineer (and their Some employers see it as a wasted day. They should see it as
management) doesn’t go to shows. Why not? Most don’t know a very cost effective day’s research. Many new things are shown
what they are missing. This is one of Donald Rumsfeld’s ‘unknown- at shows. The ESS gets many product launches and not just that,
unknowns’. distributors such as ourselves show new tools from news companies.
What are they missing? INFORMATION and PEOPLE! There are You can’t rely on email news letters; spam has caused much tighter
also ‘things’ at a show. The point is even with the internet – or filtering and many don’t get through. Besides there are many things
these days especially because of the internet – you can download you may have missed over the last year. A discussion at a show is
vast amounts of information and get swamped, easily missing far more effective than a web search; you can do those afterwards
the important stuff, especially as search engine armed with information from the show
results can be skewed and your details harvested by Also it is surprising how many people form ‘off
cookies. the wall’ solutions after going to a show, as their
You still can’t beat a face to face discussion, normal thought patterns have been altered and new
with the device, equipment or live demo in front ideas introduced. As the proverb goes ‘a change is
of you. Also, a picture on the web is not the same as good as a rest’. It jolts you out of familiar thought
as physically picking up the kit and examining the patterns and refreshes the brain. It is quite amazing
build quality and asking questions. At ESS you get how ideas will pop up, caused by unrelated things
to see all the main players in your area of interest you see.
who operate in the UK and you don’t have to give Also you end up with a bag of goodies, often
them your name or email address! Many of their the stress reliving ‘executive’ toys which can save
specialists will be there. They want to look around your sanity, a box full of pens, note pads and a few
too, so you can often meet the designers and experts toys for the kids. One year Cyan – which does an
who have been let out of the office for the day, the By Chris Hills IDE – had tins of mints marked with their name and
ones who don’t usually make sales calls. product. Think about it…. That year everyone had
Unusually ESS has, alongside the paid conference, a free track in CyanIDE pills.
the exhibition hall where there will be some useful presentations, I am not suggesting going to every event and show, but ESS is
apart from the one I am doing: Debugging is difficult: so why do the largest show of its type in the UK and should be on your list.
it? Yes, develop without debugging! Or rather develop without the There are other, more specialised events for specific areas, so by
bugs… not quite Bug Free Software, but getting there. all means look at some and pick carefully, but a day at the largest
Some years ago I gave a presentation on debugging methods generic UK event is a must just for the broad range of inputs and
starting from the ‘good old days’ and said no one should be doing ideas. You never know what will be useful or start a train of thought.
this now as for the last 5-10 years there have been far better One day a year is well worth it.
methods and tools. There were two rather glum looking engineers in Some employers used to be worried that staff would find other
the front row. After the presentation I asked them what the problem jobs at shows! With the on-line job web sites and everyone having
was. They said that they were still using methods that were 10 a mobile it is highly unlikely. In my experience engineers are looking
years old and did not realise how some of the tools and methods for solutions for their current or next project.
had advanced. Hopefully we will see you all at the Embedded Systems Show.
Their view of ICE was that they cost £20,000 and were unreliable. Stand 336, at the back by the exhibition theatre, but do glance
At the time, In Circuit Emulators were about £3-8k (and the £20k at the other stands on the way to see us. Apart from seeing my
was now £60k in real terms) extremely reliable and usable, with presentation it is a chance to see all that is new and innovative as
features that were a complete revelation to them. They were only well as the regular stuff in the embedded world. And, of course, the
at the event because it was free and on a Saturday it was the first coffee and doughnuts.
event they had been to in a decade. By not ‘wasting time’ on other Whilst on ‘highly unlikely’, as I write this, the team at CERN is
events over the previous decade they had cost their company a small going to start powering up and we could have disappeared into a
fortune in time using inefficient development and debug methods black hole, parallel universe (it will be nice to see David Icke again)
and tools, and developed products that were less reliable than they or just exploded before this article gets printed. As I am writing this
could have been. Not to mention being late to market. the panic merchants are on the TV, so if you are reading this all is
Apart from seeing new tools, new methods and components well. Well, at least the planet is still here, which is not quite the same
you get information; the sort of thing that does not get on to thing as ‘all is well’. You still have projects and products to finish.
corporate web sites. Specifically, several customers of mine picked These are my own personal views and not those of my company
up some information in the ESS exhibition in 2006 that saved their Phaedrus Systems see www.phaedsys.com which is where the full
companies many thousands of pounds and saved six months’ wasted version of this column, with links etc, resides under the Documents
development. Why? Because information flows at a trade show in tab. < Ends >

42 ESE Magazine October 2008 www.embedded-europe.com

P42_ESEOct08.indd Sec1:42 15/09/08 13:05:55


AD INDEX
Advertiser URL Page

Adaptive Modules Ltd. www.adaptivemodules.com 29


BFI OPTiLAS www.bfioptilas.com 9,13
Direct Insight Ltd. www.directinsight.co.uk 23
Embedded Systems Show 2008 www.embedded.co.uk 19
Eurocircuits www.eurocircuits.com 30
EuroTech Ltd. www.eurotech-ltd.co.uk 33
Express Logic (UK) Ltd www.rtos.com 15
Green Hills Software Ltd. www.ghs.com 4,44
Hitex (UK) Ltd. www.hitex.co.uk 23,35
Kane Computing Ltd. www.kanecomputing .co.uk 35
Kontron UK Ltd. www.kontron.com 27
Lauterbach GmbH www.lauterbach.de 11
Mentor Graphics (UK) Ltd www.mentor.com 2
MSC UK Ltd. www.msc-ge.com 31
National Instruments www.ni.com/uk 25
Nohau UK Ltd. www.nohau.co.uk 13
Phaedrus Systems Ltd. www.phaedsys.com 21
Qualisystems www.qualisystems.com 7
Review Display Systems Ltd. www.review-displays.co.uk 27
RS Components International www.rswww.com 5
RS Components International www.rswww.com 27,35,41

Sales Manager : Steve Banks


Tel: +44 (0)785 050 7362
steve@x3dmedia.com

ADVERTISING SALES
EUROPE Israel CANADA ASIA
Leslie Rose
Belgium Tel: +972-54-5746990 West South Korea
Nadia Liefsoens info@elarco-intl.com Todd A. Bria Export Media Ltd.
Tel: +32-11-224 397 Italy Tel: +1-805-226 8298 Tel: (82 - 2) 3473 9200
n.liefsoens@fivemedia.be Ferruccio Silvera tbria@globalmediasales.com (Extension: 201)
Tel: +39-02-284 6716 rflanders@globalsources.com
France, Spain & Portugal info@silvera.it East & Central
Geert de Vuyst Steve Priessman Taiwan
Tel: +32 2 740 0050 The Netherlands Tel: +1-630-420 8744 Asia Pacific Media Co. Ltd.
geert.devuyst@eetimes.be Mary Zaaijer priessman@stevenpriessman.com Tel: (886 - 2) 2712 6877 (Ext: 370)
Tel: +31-30-2291 799 ktsai@globalsources.com
Germany PLZ 0-3, mzb@mzb-mr.demon.nl U.S.A.
60-65, 8-9, Austria Japan
Eastern Europe Scandinavia West, South West E2 Publishing Co.
Victoria & Norbert Hufmann Jeff Draycott Todd A. Bria Tel: +81-3-3556-3841
Tel +49 911 93 97 64 42 Mobile: +46-(0)702 067636 Tel: +1-805-226 8298 ishida@e2p.co.jp
sales@hufmann.info jeff.draycott@conhem.se tbria@globalmediasales.com

Germany PLZ 4-5 Switzerland Midwest & East HEAD OFFICE


Armin Wezel Monika Ailinger Steve Priessman
Tel +49 9568 897 097 Tel: +41-41-850 4424 Tel: +1-630-420 8744 Geert De Vuyst
armin@eurokom-media.de m.ailinger@marcomedia.ch priessman@stevenpriessman.com Sales Director
European Business Press
Germany PLZ66-69, 7 UK & Ireland NY, NJ, PA 1030 Brussels - Belgium
Helle Pedersen Steve Regnier & Tim Anstee Jim Lees Tel: +32 (0)2 740 00 50
Tel: +49 7131 2040396 Tel: +44-1732-366555 Tel: +1-610-626 0540 Fax: +32 (0)2 740 00 59
helle.pedersen@t-online.de sales@starmediaservices.co.uk jim@leesmedia.com Email: sales@eetimes.be

www.embedded.co.uk ESE Magazine October 2008 43

P43_ESEOct08.indd 23 16/09/08 11:24:09


If it’s not INTEGRITY, ®

it’s not secure

INTEGRITY®
The only secure operating system
d 600
at Stan
Visit us , Birmingham
NEC 008 r2
tobe
1-2 Oc

Tel: 01844 267950 ▲ sales-uk@ghs.com ▲ www.ghs.com

Copyright © 2008 Green Hills Software, Inc. Green Hills, the Green Hills logo and INTEGRITY are trademarks of Green Hills Software, Inc. in the U.S.and/or
internationally. All other trademarks are the property of their respective owners.

P21_ESEOct08.indd 1 16/09/08 15:59:59

You might also like