Embedded systems go Linux

09/14/2006


Microprocessor-based embedded control systems traditionally have used proprietary real-time operating systems (RTOSs) to attain the real-time or near-real-time response needed in such applications as automotive engine control systems. Proprietary RTOS, however, involve some particularly thorny issues.

One major issue is simply the engineering cost to develop an RTOS. Proprietary RTOS development is up to the system designer, who usually has more pressing issues to deal with-for example, focusing on developing the algorithms for a particular application-than engineering background software. Even with a previously developed RTOS, there are maintenance issues.

To take advantage of new, better performing hardware, the system engineer has to make more or less major revisions to the RTOS. Chip makers have no motivation whatsoever to help system engineers update a proprietary RTOS to run on their new hardware, so the task, once again, falls on the system engineer. System designers can avoid these issues by designing their applications around a widely disseminated commercial operating system. Currently, two such OSs on the market have enough presence to make them attractive: Microsoft Windows and Linux.

According to Brian Handley of Macraigor Systems , embedded system designers are voting with their feet overwhelmingly for Linux. Macraigor provides a suite of hardware and software debugging tools used for all aspects of embedded development from hardware debug through manufacturing and test. The company is, therefore, uniquely situated to see embedded-system OS trends. 'Microsoft products just aren't seen,' he reports.

Why should the most commonly used operating systems on the planet be invisible in the embedded systems space? The answer is latency. Most embedded system applications require real-time response rates. OSs designed for office- and Internet-oriented use are the opposite of deterministic. They respond to interrupts when they get to them.

Linux, on the other hand, is an open-source product. That is, the source code is freely available for use, re-use, and modification by anyone with the wherewithal and desire to do so. Specifically, there has long been a cadre of Linux users interested in applying the OS in real-time situations.

MontaVista Software has optimized Linux for various environments-including real time. 'What real time means,' says Paxton Cooper, MontaVista's director of product marketing, 'depends on your application.'

The key is to know how fast your embedded system needs to react. Windows is effectively real time for desktop jobs, such as text editing. The computer is usually waiting for you to press the next key and few users type fast enough to tax Word's type-ahead feature. A few hundred milliseconds latency in an antilock braking system (ABS) controller, on the other hand, would likely lead to disaster.

Embedded Control

 

The figure shows the latency requirements in various use requirements and compares them to existing Linux implementations. Applications that most users would consider 'real time' range from 1 ms to below 10 ms. MontaVista's 4.0 version Real-Time Linux, with latency in the tens of microseconds range, provides sufficient 'real-time' performance for nearly half of embedded applications, including nearly all mobile phone and industrial applications, and most telecom applications. Further improvement is needed for automotive control applications, such as engine control modules and, especially, safety systems (ABS, air-bag triggers, etc.).

The upshot is a real win for the Linux community. As processor speeds increase and more responsive versions of the open-source OS become available, the need for 'roll your own' RTOSs for embedded systems is going away except at the high-performance end.

C.G. Masi , senior editor,
Control Engineering





The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Controller programming; Safety networks; Enclosure design; Power quality; Safety integrity levels; Increasing process efficiency
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Controller programming; Safety networks; Enclosure design; Power quality; Safety integrity levels; Increasing process efficiency
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Controller programming; Safety networks; Enclosure design; Power quality; Safety integrity levels; Increasing process efficiency
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me