Case Study TenAsys INtime* RTOS Intel Core Duo Processor Real-Time Embedded Windows* Applications TenAsys INtime* RTOS and Intel Dual- Core Processors Help Lower System Costs for Embedded Real-Time Applications Summary Background Embedded developers that want to use the Windows* operating system in their solutions usually need to include a real-time operating system (RTOS) to run the deterministic algorithms essential to virtually all embedded applications. To do this, developers typically add a second processing platform one for Windows, the other for the RTOS. Some may use an entirely separate processing system, while others add a second board or processor to their existing system. Either way, the two-platform approach provides a dedicated computer for the RTOS, ensuring that closed-loop control systems run with a high degree of precision. Problem No matter how it is engineered, the use of two distinct hardware platforms is a complex and costly proposition. Two platforms take more time to develop, can be more difficult to integrate, and consume more power, more space, and more resources. Solution Part One New dual-core Intel Core Duo processors provide the compute capacity of two equivalent-speed, single-core processing platforms, but use a single hardware footprint and consume less power. With only one platform on which to develop software, the dual-core processor shortens the design cycle for embedded solutions, thereby helping to lower costs and speeding time to market. Solution Part Two Developers can further improve performance and speed time to market by adopting the TenAsys INtime* RTOS as part of their real-time embedded solutions. Designed and optimized specifically for Intel Architecture and Microsoft* Windows* software, the INtime RTOS uses virtual machine technology to facilitate close communication between the two execution cores for virtually jitter-free performance. The TenAsys INtime RTOS is validated and optimized for the Intel Core Duo processor, using software to dedicate one core to the real-time features of a Windows-based, embedded design.
TenAsys INtime* RTOS and Intel Dual-Core Processors Help Lower System Costs for Embedded Real-Time Applications We expect the Intel Core Duo processor to make it much easier and more cost-effective for developers to extend their Windows-based applications into embedded systems without sacrificing critical performance requirements. Paul Fischer Senior Technical Marketing Engineer TenAsys Corporation A Real-Time Dilemma For users and developers alike, Windows* XP is an attractive platform for complex applications and highly visual programs features of many embedded solutions. The familiar GUI makes it easy for users to learn and use programs, while the behind-the-scenes protocols readily integrate with existing enterprise networks. But many embedded applications such as automated manufacturing systems that require closed-loop control need a real-time operating system as well. Critical machine control functions must follow a deterministic schedule and meet deadlines predictably, in a definite order. Such a deterministic application can only be built if the timing of events managed by the operating system is reliable and predictable and the developer is allowed extensive control over the relative priorities of all operations and events. Windows doesn t work that way, says Paul Fischer, Senior Technical Marketing Engineer at TenAsys. It is built around a generalpurpose multitasking kernel that distributes performance fairly to maximize use of system resources. This architecture makes Windows ideal for desktop, server and general-purpose computing environments precisely because it is fair to all applications. But this is also why real-time embedded developers need an RTOS: because they must be unfair with regard to their use of the processor. A Dual-OS Solution In other words, developers can use Windows for precise embedded applications so long as they also employ an RTOS. This requires that key resources be dedicated to the RTOS. Developers often manage this by adding a second computing platform to implement the real time portion of the application. How they implement their solution depends on the demands of the application and existing machinery. Solutions can range from the addition of a second dedicated real-time processor on the motherboard to two completely separate hardware systems, including chassis, power supply, and so forth.
A Real-World Example One of the first real-time Windows* applications ported to the new Intel dual-core platform is the National Instruments LabVIEW* Embedded Development Module. TenAsys Corporation has done the development work, dedicating one execution core to host Windows and the LabVIEW Front Panel user interface while the other processor core hosts INtime* and the LabVIEW Embedded Virtual Instrument (VI) runtime engine. LabVIEW Embedded technology was developed to maximize data acquisition and control performance and was originally designed to run on two, independent hardware platforms one for the real-time embedded target and the other for the host applications. Using the TenAsys INtime plug-in for the LabVIEW Embedded Development Module, application developers can take full advantage of Intel s new dual-core architecture to implement embedded, real-time applications on a single Windows-based hardware platform. Developers are able to realize all of the underlying control, data acquisition and processing functions in a high-performance, real-time environment capable of updating instrument display parameters and closing control loops as frequently as once every 50 microseconds. Bringing the LabVIEW* Embedded technology environment onto the Intel Core Duo platform opens up a wide range of new embedded development opportunities, said Shelley Gretlein, National Instruments Group Manager for Real-Time and Embedded Software. The TenAsys INtime* software plug-in for the LabVIEW* Embedded Development Module simplifies and extends the ways in which engineers and scientists can use graphical programming on cost-effective, high-performance, embedded platforms. Fischer explains: A two-platform hardware solution allows developers to assign all the resources of one CPU to Windows* applications while simultaneously giving the RTOS its own dedicated computing platform. Because the two operating systems then run on separate hardware platforms, there is no contention for CPU resources. This keeps timing jitter to a minimum so that closed-loop control applications, like those found in automated machinery, can run with maximum precision. But adding a second computing platform significantly increases both the cost and complexity of an embedded system. Additional components (such as power supplies, storage devices, chassis, and interconnect hardware) require more board space and programming effort, and must be factored into the development process. The Dual-Core Answer Intel now makes it possible for real-time Windows applications based on the INtime* RTOS to achieve the same level of functionality as a two-platform hardware solution without the second platform. The new Intel Core Duo processor contains two distinct execution cores for all the processing capability of a two-platform solution in a single hardware platform. Using the Intel Core Duo processor, developers can dedicate one core to the INtime RTOS and the other to Windows, just as if there were two separate hardware platforms. What s more, the Intel Core Duo solution is more efficient to work with. It provides many of the same design efficiencies as a single-platform system: using less board space, consuming less power, and requiring less development time. We expect the Intel Core Duo processor to make it much easier and more cost-effective for developers to extend their Windows-based applications into embedded systems without sacrificing critical performance requirements, says Fischer. In fact, Intel estimates that because dual-core processor-based systems can be constructed with a single processor board containing a single set of central processor resources (such as memories and disks), developers can significantly lower their system costs by eliminating the need for multiple hardware platforms, each with their own related components. Better Precision on One Platform The TenAsys INtime RTOS is a widely established real-time operating system optimized for Windows and Intel Architecture. What makes the TenAsys INtime* RTOS unique is how we use virtual machine technology to host both Windows* and a protected-mode RTOS environment on
Bringing the [National Instruments] LabVIEW* Embedded technology environment onto the Intel Core Duo platform opens up a wide range of new embedded development opportunities. Shelley Gretlein Group Manager for Real-Time Embedded Software National Instruments a single-core hardware platform, explains Fischer. We use one development tool, Visual Studio*, for both environments, enabling developers to create and deploy sophisticated real-time applications without trying to force a Windows device driver to achieve real-time performance. Now that TenAsys can use a dual-core processor to power its virtual machine technology, developers can realize very precise performance from their Windowsbased embedded, real-time applications without the addition of a second hardware platform. (See A Real-World Example on the previous page.) Using the Intel Core Duo processor s built-in IPI communication mechanism, TenAsys software allows for tight coordination between the two execution cores, eliminating context switch times entirely. Worst-case timer interrupt latencies are reduced by an order of magnitude to as little as 1 3 microseconds so that loop cycle times in the 50 200 microsecond range can operate with very high precision and accuracy on a real-time Windows system. Having a dedicated core to run the RTOS in a dual-core processor system provides other advantages as well. Because application processing can be assigned to an independent OS/core, the potential to develop even more advanced control algorithms emerges, resulting in further increases in the quality and performance of the control systems that can be implemented on realtime Windows systems. The TenAsys INtime RTOS has been validated on the Intel Core Duo processor architecture and is ready for integration into Windows-based embedded solutions. Along with the Mobile Intel 945GM Express chipset, the Intel Core Duo processor plus Windows and the INtime RTOS allows for faster real-time bandwidth, high-quality graphics, and remote asset management capabilities all essential features in a tightly controlled real-time embedded system. Conclusion As shown by the TenAsys INtime RTOS and the National Instruments LabVIEW* Embedded Development Module example, new dual-core processing technology is the starting point for some very exciting changes in embedded system design. When one platform can do the job of two, it s not hard to imagine how graphics-rich applications and multiple operating systems may eventually lead to a new range of embedded applications. There are a vast number of potential uses for new dual-core and eventually multi-core processors. How vendors will employ solutions is yet to be seen, but examples like National Instruments LabVIEW* Embedded technology using an Intel Core Duo processor and INtime* in their Windows*-based, real-time virtual instruments gives us just a tiny glimpse at how vast, remarks Fischer. For More Information http://developer.intel.com/design/intarch www.tenasys.com www.ni.com/embedded www.intel.com/go/ica
About Intel Core Duo Processors Intel Core Duo processors are members of Intel s growing product line of multi-core processors. These dual-core processors combine the benefits of two high-performance execution cores with intelligent power-management features to deliver significantly greater performance per watt over previous single-core processors. While incorporating advanced processor technology, Intel Core Duo processors are based on the Intel Pentium M Processor design and remain software-compatible with previous members of the 32-bit Intel Architecture processor family. This means developers can take advantage of existing Windows*- based applications developed for Intel Architecture-based platforms and extend them into real-time embedded systems with little additional development effort.
Visit the Intel case study library to read about other developers that have successfully used Intel technologies and building blocks to deliver leading edge solutions. http://developer.intel.com/design/network/solutions/search.htm TenAsys is an Affiliate Member with the Intel Communications Alliance, a community of communications and embedded developers and solution providers. For more information, please visit www.intel.com/go/ica Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel s Terms and Conditions of Sale such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Intel may make changes to specifications and product descriptions at any time, without notice. Information regarding third party products is provided solely for educational purposes. Intel is not responsible for the performance or support of third party products and does not make any representations or warranties whatsoever regarding quality, reliability, functionality, or compatibility of these devices or products. Copyright 2006 Intel Corporation. All rights reserved. Intel, the Intel logo, Pentium and Intel Core are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. 0106/KSC/QUA/POD/250 C Please Recycle 311275-001US