Académique Documents
Professionnel Documents
Culture Documents
Sponsored By
TenAsys Corporation Phone +1 503.748.4720
Fax +1 503.748.4730
INtime RTOS for Windows www.tenasys.com
Virtualization Experts in Real-time The Best Solution for Adding Hard Problem
Technology Real-time Performance to Windows Does your multi-core Windows solution require
Using virtual machine technology, TenAsys The INtime® RTOS for Microsoft® Windows® deterministic real-time capabilities?
eliminates redundant computer and is the only fully-protected, virtual-machine
communication hardware by combining solution available for building hard real-time Solution
multiple hardware platforms into one. Our applications that run concurrently with the
The INtime RTOS for Windows Vista,
RTOS virtualization technology enables a single Windows operating system, on a single
Windows XP and Windows XP Embedded
hardware platform to simultaneously support hardware platform.
a standard Windows kernel and a real-time Benefits
kernel, sharing the CPU, memory, and I/O Combining robust industrial-grade control
resources. with enterprise-rich Windows functionality 1.3 microsecond jitter on dedicated dual-core
(Intel® Centrino® Duo T2300 @1.66 GHz)
lets applications take full advantage of every
Hosting Windows and an RTOS on a single Windows feature and thousands of off-the-shelf
hardware platform reduces system costs and applications, without having to sacrifice real- 3 microsecond worst-case interrupt latency
minimizes engineering development time and time responsiveness. INtime applications can (PCI interrupt on dedicated dual-core processor)
effort. be deployed on Windows Vista, Windows XP,
and Windows XP Embedded systems. 50 microsecond periodic loop rates for precise
control and data acquisition algorithms
Multi-core Enhancements
Multi-core processors further enhance TenAsys’ Field-proven Real-time Technology
RTOS virtualization technology by minimizing Based on over 25 years of reliable field-proven Microsoft Visual Studio integration means
development and source-level debugging
competition for key resources. TenAsys technology, TenAsys real-time operating
virtualization technology can dedicate one systems have been utilized in thousands of
processor core to the RTOS; the instruction applications worldwide, running millions of
cycles of the dedicated core are available flawless execution hours. The INtime real-
Key INtime Features:
· Support for all standard multiprocessor
100% of the time to the RTOS and its time solution includes a full complement
systems
processes. All remaining processor cores can of interprocess communication and
· Fully integrated with Microsoft Visual Studio
be dedicated to the Windows virtual machine. synchronization mechanisms to satisfy the
· Real-time TCP/IP and USB stacks
needs of the most demanding applications.
· EtherCAT, DeviceNet, PROFIBUS, CANopen,
Contention for key CPU resources such as
ControlNet, GPIB, motion control, and other
pipelines, cache, and the FPU are eliminated Familiar Development Environment real-time drivers available
on multi-core platforms. Coordination between Edit, compile, and source-level debug your
virtual machines is enhanced by using the built- INtime real-time applications using Microsoft
in interprocessor communication mechanisms, Visual Studio, the same tools you currently use
Key Technical Specifications:
eliminating context switch times. · Full memory protection and address isolation
to build standard Windows applications. There
· Precise 50 µs system timer granularity
are no new development tools to learn to use.
· Direct I/O and memory-mapped access to
hardware
· EC++ libraries conform to ANSI standards
INtime Windows
Real-Time Kernel
Kernel and Drivers
Dedicated Dedicated
INtime Core Windows Core
Dual-Core Processor
Industrial Control Solutions Guide
incorporate feedback from the device New Looks for HMI core can be devoted to running a “soft”
under control to adjust the control process Such a trend in the industrial PC real-time operating system like Windows
in things like servo applications. becomes very compelling when one looks XP Embedded for all the most common
Recently, popular operating systems at the human machine interface (HMI) as tasks such as the HMI software, network-
for Industrial PCs have been Windows industrial PCs become more closely inte- ing communications, data logging, etc.,
XP Embedded and Windows CE. Both grated with equipment. The graphical user while the other core can be completely
of these include a rich user interface interface is moving from workstations dedicated to a real-time operating system
and XP Embedded is able to address directly into industrial equipment along performing the most time-critical opera-
soft real-time applications and also with the controller, making the usability tions. Data exchanged between the two
handle user interface, networking and of industrial devices more straightforward OSs via the mechanisms using shared
other compute tasks such as data log- and bringing sophisticated graphics-based memory will not interfere with the RTOS
ging. Windows CE has evolved to be control to more points on the factory operations. Such a panel PC puts it all
capable of very deterministic operation floor. A wide variety of Intel®-based in one rugged box: real-time control,
Figure 3 The Siemens SIMATIC Rack PC 847B can be fitted with frame grabber cards, small industrial cameras and Siemens’ Visionscape software to
implement a high-end, versatile and rugged machine vision system.
while also maintaining a graphical user panel PCs are available. graphical operator interface and any other
interface. This trend is bound to continue For example, the Panel PC V from needed computer operations thanks to
with the advent of Intel’s multi-core Kontron incorporates an ETX Express Core Duo technology.
processors that are starting to appear board with an Intel Core Duo processor Intel’s graphic chipsets, such as the
on the very same form factor boards along with a 12.1-inch to 17-inch analog Mobile Intel® GME965 Express chipset
that are the foundation of the industrial resistive touch screen in a rugged enclo- are designed for low-power and incorpo-
PC. Now, thanks to Intel Virtualization sure (Figure 2). It also includes five USB rate the Intel® Graphics Media Accel-
Technology, a hard real-time RTOS such ports, high-speed networking, fanless op- erator X3000 which, with its massively
as VxWorks or QNX can run on one eration and two open PCI slots. With this threaded architecture, can simultaneously
core while Windows XP Embedded or kind of capability, it can be used for any process multiple threads of graphic or
Window CE runs on the other, making kind of interface from a relatively simple video data simultaneously. This can be of
the enhancement of its functionality a machine-specific GUI to a full-blown great use in something like a manufac-
smooth transition while preserving exist- SCADA system. turing process that includes inspection
ing software investment. The advantage of an Intel Core Duo where an operator may need to view some
processor in such a system is that one part being manufactured and also access
Industrial Control Solutions Guide
the user interface to the equipment. Intel’s tors, handles multiple domains like logic, vidual cores coupled with the high-speed
support of dual independent displays can motion, drives and process control on a on-die communications that can bring the
make such a system straightforward to single platform, which means they also servo loops down into the 10 mS range.
implement. Add to this the built-in sup- use a single development environment The developer has the option, depend-
port for a wide range of display technolo- with richer programming resources, a ing on the demands of the application, to
gies and the choice of a single graphics single database and the ability to use open place the entire control operation on one
solution can be applied to a wide selec- architectures for interfaces, languages, core, reserving the other for a user inter-
tion of system implementations both large and networking. The source of strength face, or to dedicate a core to the control of
and small. for a PAC is its processing power and its each axis. The use of a quad core proces-
Intel’s low-power solutions, both in multiplicity of I/O capabilities. Most PAC sor extends these options and the amount
terms of Intel® ultra mobile chipsets as manufacturers offer a huge variety of I/O of processing power that can be applied
well as the Intel® ultra mobile processors modules for all kinds of special require- to them even further. Intel Virtualization
can extend the same powerful function- ments. The I/O signals are then translated Technology makes it straightforward not
ality into handheld and mobile devices by the software. These capabilities are only to balance the loads that may be re-
for a high-end HMI on a small device to integrated in a rugged, industrial package. quired for different axes, but also to move
connect over a wireless link to a machine All this, of course, makes increas- an application from, for example, an Intel
or process, which lets the operator use ing demands on processors. Intel offers a Core Duo solution to a quad core solution
the same HMI on a smaller display. The scalable range of processors, chipsets and with minimal effort. As Intel’s roadmap
ultra mobile chipset allows for a 7 watt networking silicon, including the Intel extends into the future, these basic tech-
solution in a fanless, embedded form fac- Celeron M and the low-power Intel Core nology foundations will continue to guide
tor while offering application scalability 2 Duo processors that integrate processor the transition to more powerful solutions.
to higher-end Intel architecture-based cores, PCI Express, UARTs, USB 2.0,
devices. Intel’s low-power roadmap ex- SATA and Gigabit Ethernet. This enables Machine Vision
tends beyond Intel Ultra mobile and will the development of controller systems Computer vision systems are becom-
continue to push the performance/power/ with a scalable range of capabilities and ing increasingly important in an expand-
cost envelope through advancements in price points but which share industry ing range of industrial applications.
process technology and architectural in- standards in terms of hardware compat- These include pick-and-place, automated
novations. ibility, ease of development and modular- assembly, silicon fabrication, inspection,
ity. plant safety systems and even automated
From PLC to PAC multi-robot manufacture of complex
Renowned for their robustness and Motion Control assemblies. A typical machine vision
reliability, the programmable logic con- From small, high-speed “pick-and- system consists of one or more cameras,
trollers that have traditionally been used place” operations to moving multi-axis and image capture/processing element,
in factory automation have been evolving robot arms and heavy equipment, motion and some means of triggering processing
with the development of microproces- control is an area where high-perfor- along with the software for the needed
sor control systems. Originally oriented mance computing, real-time control and tasks.
around ladder logic that imitated the the need for high-speed communications Machine vision depends on some of
wiring of physical relays and timers, converge. Sophisticated PID control the basic DSP functions addressed by the
PLCs that have incorporated computer loops must work from reference positions Intel Performance Primitives IPP library,
control also need a way of handling more computed by the motion profiler portion but that same library also contains func-
complex control tasks that cannot be of the motion control software. Then they tions specific to machine vision. These
defined in ladder logic. Tasks involving must issue commands to motors, sense include feature detection, such as corner
floating point arithmetic and PID control the resulting positions in relation to the and edge detection, pattern recogni-
loops, for example, require higher levels reference points, compute the difference tion, distance transforms, optical flow
of programming and processing. and issue new position commands in a calculation and camera calibration. The
As more computing power has been steady real-time stream of incoming data advent of the Intel Core 2 Duo has made
added to the PLC, it has evolved into and commands. In the case of multi-axis it possible to include such sophisticated
the programmable automation control- control, they must communicate their functions in a much smaller space and
ler, a computer-based system, which is individual control and position status to consuming much less power, resulting in
multifunctional and can simultaneously each other to coordinate the motion for a the self-contained smart camera.
monitor and control digital, analog and common goal. The smart camera incorporates the
serial I/O signals from multiple sources. Intel® multi-core processors offer image sensor and lens (the camera) along
PACs, in contrast to their PLC ances- the computing performance of their indi- with the embedded image processor,
Industrial Control Solutions Guide
Anti-vibration up to 1.3G:
With a special vibration-resistant design pattern, the GOT panels can work well under 1.3G (5-
500Hz) in operation mode, and equipped with a 2.5”HDD standard; or optional with Flash Drive,
IDE DOM or CF.
axiomtek.indd 1 8/29/07 4:17:40 PM
Industrial Control Solutions Guide
and data transmission power along with Working with high-end control and Building the Digital Factory
its Windows XP-based Visionscape programming systems such as Na- Outwardly, a factory is traditionally
software, developers can create rugged tional Instruments’ LabView, connected built with bricks held together by mortar.
high-end industrial vision systems that modules based on Intel processors can Inwardly, today’s modern factory is built
can readily be reprogrammed for what- be monitored and configured with a of intelligent modules held together by
ever tasks are at hand. straightforward graphical tool. LabView networks and software. Intel and its part-
is now available in Version 8.5, which ners offer a vast selection of board-level
Test and Measurement supports multi-core development and modules, all of which are rapidly becom-
The idea of test and measurement includes modules for high-end control ing available supported by the very latest
usually brings to mind the use of indi- design, includeing Model Predictive multi-core processor and high-speed
vidual instruments like oscilloscopes and Control (MPC) and advanced filtering graphics technology from Intel. Increas-
frequency meters, but it is an integral algorithms. Using a tool like LabView ingly, the emphasis is on performance
part of the manufacturing process. Moni- with connected Intel-based modules, and per watt per square centimeter and this is
toring processes, such as the temperature an operation can be set up that imple- leading to exciting new developments in
and levels of liquids in vessels, the flow ments control and instrumentation in the modules and form factors.
of materials into a mixer must be able to same application and which connects
present the results to automatic control multiple applications into an overall Intel® SoCs
processes as well as to human operators. plant operation. Intel partners like Na- Intel has announced plans to also
Technologies like PCI Express rapidly tional Instruments are constantly work- bring to market in 2008 a range of highly
get data from I/O modules and sensors ing with Intel as its technology develops integrated system-on-chip (SoC) proces-
to the processors that integrate it into to produce tools that can help developers sors that will combine multiple system
control loops and simultaneously send it quickly take advantage of the advances components into a single chip design.
to HMI displays. in their day to day operations. Instead of three chips on a board, the
corvalent.indd 1 8/29/07 4:21:07 PM
Industrial Control Solutions Guide
new SOC products will allow developers chip design, while improving throughput fer, silicon cost, board real estate, power
to use just one device that integrates an performance and processor efficiency. consumption and development costs.
Intel® Architecutre processor, an MCH With the ever-increasing computa-
Northbridge and an ICH Southbridge. Replacing DSPs tional power and speed of today’s proces-
Additional capabilities will be integrated In many industrial applications that sors, Intel has been able to close the gap
on different models including Gigabit require the use of digital signal process- between the needs of a large segment of
Ethernet, PCI Express, SATA, USB 2.0 ing, such as machine inspection or filter- DSP tasks and the ability of software us-
and others to offer a range of pre-inte- ing and transforming input signals from ing the Intel architecture to perform at the
grated selections. real-world events, it has been necessary required speed. Intel has developed a soft-
The benefits of the new SoC include to either use a dedicated digital signal ware library called the Intel® Integrated
lower system and development costs, eas- processor (DSP), which then had to Performance Primitives (Intel® IPP),
ier design, smaller form factors, and even communicate with other elements in the which is now optimized for use on multi-
greater power-performance efficiency. control systems, such as the main CPU core. Included in the Intel IPP are a set
These devices will be extremely attractive or a data network. This involved separate of DSP functions that includes filtering
for use in applications such as industrial memory systems, some high-speed com- and convolution operations such as finite
control, where the integration of IEEE munication link between processors and impulse response (FIR) and cyclic convo-
1588 hardware-based control, Gigabit separate areas of software development lution. It supports transforms such as FFT
Ethernet MACs, and security accelerators expertise. Alternatively, there has been an and discrete cosine transforms (DCT)
on to a single-chip will be expected to option to offload dedicated DSP functions along with array/signal initialization and
reduce chip sizes by up to 45 percent and to an FPGA. While both approaches can manipulation, array signal statistics and
power consumption by approximately 20 achieve the needed performance, the also array arithmetic and logic operations.
percent compared to a standard three- involve overhead in terms of data trans- Implementing such DSP function-
Siemens Siemens AG
Automation and Drives
www.siemens.com/simatic-pc
SIMATIC® Box PC 627B / Panel PC 677B
Maximum performance in minimum space - with Intel® Core™2 Duo processors
Equipped with powerful and energy-efficient Intel® Core™2 Duo processors, the rugged and
compact SIMATIC Box PC 627B and Panel PC 677B offer 75 percent more computing power
than the predecessor models: sufficient system power for demanding measuring,
open-/closed-loop control and visualization tasks.
They are perfectly suitable for space-saving and flexible installations in control cabinets or
panels through compact enclosure design. With an optional remote kit, the operating unit can
be installed up to 30 meters away from the PC. Highlights
• Powerful Intel® Core™2 Duo processors
Expansion slots and integrated interfaces for sufficient flexibility and integrated Intel® graphics technology
Powerful expansion cards can be integrated via two PCI interfaces or, optionally, one PCI and • Rugged and compact industrial product
one PCI express x4 interface. More flexibility offer the PROFIBUS/MPI interface (optional) for design with high electromagnetic compatibility
a cost-effective connection of distributed field devices.
• 2 freely programmable 7-segment displays
and signaling LEDS for status/alarm display
Maximum industrial functionality for high reliability and system monitoring
Box and Panel PC offer two drive slots for accommodating Compact Flash Cards – of which
• Dual-LAN (2x Gigabit Ethernet) onboard
one is externally accessible. They are designed for harsh industrial use with maximum
computing power - without derating - up to an ambient temperature of 55° C for reliable 24-h • Brilliant displays from 12” to 19“
continuous operation. Resistant to high vibration, shock and dust loads. • Device availability of 3 to 5 years
• Spare parts availability of at least 5 years
High system availability for high data security and minimized downtimes
Vibration-suppressed double-hard-disk module as an optional RAID1 mirror disk system,
supported by an onboard RAID controller. CMOS battery accessible from the outside and a
battery-buffered SRAM stores critical SIMATIC WinAC control data in case of unexpected
power failures.
10
siemens1.indd 1 8/23/07 4:39:01 PM
Industrial Control Solutions Guide
ality on an Intel Core 2 Duo processor tailored to the needs of the application,
would allow a real-time control program the size of the operation and the budget of
running on an RTOS to work alongside the organization. With multi-core as the
the needed DSP functions where the two foundation, Intel Virtualization and Ac-
could exchange commands and data via tive Management Technologies coupled
the processor’s internal communication with PCI Express and the Intel Architecu-
mechanisms. In addition, they are able to tre instruction set let you build, configure
share cache and main memory on a single and adapt all your control, monitoring,
board consuming less power and less human interface and data communication
space. But perhaps the biggest savings needs to keep pace with today’s demand-
come from the unified development envi- ing world of industrial automation.
ronment made possible by the Intel Core Intel at every level—adding technol-
2 Duo and the use of the Intel IPP library. ogy, innovation and ease of use to meet
If a quad-core design is used, it would today’s manufacturing challenges—and
enable dynamic execution of real-time not just alone. A world-wide network of
control and DSP algorithms as needed on partners who both support and enhance
three of the cores and reserve the fourth the underlying power of the technology
for non-deterministic operations such as are bringing a world of solutions to build
networking and the user interface. the factory of tomorrow.
For virtually any task in the mod-
ern world of industrial control there is
a solution from Intel. Solutions can be
Core™ Duo T2500 and Intel Celeron M 440 processors for high performance, low power
applications with operating temperatures up to 60C. For ultra low power applications, the
Endura TP945GM is also available with the Ultra Low Voltage Intel® Celeron® M BGA
processor, which has a thermal design power of just 5.5W. This processor enables the
is therefore ideal for use in rugged, space constrained applications with demanding thermal
performance characteristics.
11
radisys.indd 1 8/30/07 11:19:40 AM
Industrial Control Solutions Guide
A modern industrial control system control) into a partition and allocate the
may contain dozens or even hundreds partition 50% of the entire CPU capacity. Local Sensor Input /
of software tasks, all competing for a The partitioning scheduler will then guar- HMI Data Acquisition
finite amount of memory and CPU time. antee that this partition always receives its
To speed development of such complex allocated CPU budget.
systems, companies will often divide the In effect, each partition provides a
Automation
work among multiple development teams, stable, known runtime environment that System
assigning each team the job of creating a development teams can build and verify
separate software subsystem. Given the individually. If the software processes
parallel development paths, performance within a partition perform well during
issues often arise at the integration phase, unit testing, they will, with a high degree
Remote
when, for the first time, the various sub- of confidence, exhibit the same perfor- Web-Based Motor / Actuator
systems begin vying with one another for mance at integration time. Unforeseen Monitoring Control
system resources. Subsystems that worked resource contention among subsystems
well in isolation now respond slowly or can be eliminated. Figure 1 A simple automation system.
simply fail to operate.
Diagnosing and solving such prob- Avoiding Thread Starvation
lems is intrinsically difficult. Design- In most cases, a typical control
ers must juggle task priorities, possibly system schedules threads using a priority- lower-priority thread) from accessing the
change thread behavior across the system, based preemptive scheduler, which always CPU. In an industrial control system, A
then retest and refine their modifications. gives CPU time to the highest-priority could be the robot arm control loop and
The entire process can easily take several thread that has work to do. This type of B the human machine interface (HMI).
calendar weeks, resulting in increased scheduler is widely used and well-under- If the control loop consumes too many
costs and delayed product. stood, and it helps ensure that time-criti- CPU cycles, it will prevent the HMI from
Resource partitioning offers a way to cal threads always meet their deadlines. It displaying updates or make the HMI
manage these complex integration issues. does pose a problem, however: If a given unresponsive to operator input.
Using this approach, the system designer thread is even one priority level higher As control systems become more
can isolate software subsystems into sepa- than another thread, it can potentially complex and design teams grow, assign-
rate containers, or partitions, and allocate starve the less-critical thread of CPU time. ing and maintaining priorities for a large
a guaranteed portion of memory or CPU Imagine you have two threads, A and number of threads becomes increasingly
time to each partition. For example, the B, where A has a slightly higher priority difficult. Realizing that unconstrained
designer can place a set of threads that than B. If A becomes swamped with work, priority assignment yields to chaos (or a
have a common purpose (such as motion it will lock out B (as well as any other nonoperational system), system design-
12
Industrial Control Solutions Guide
Simplifying Development and effect, each partition becomes a separate becomes starved when the system operates
Testing virtual processor, allowing each design at full CPU load.
With time partitioning, the system team to define a subsystem-level priority Trying to solve the problem, the system
designer can define an OS-enforced CPU scheme appropriate to their subsystem’s designer assigns the local HMI a lower
budget for each software subsystem. requirements. The need to enforce global priority than the remote monitoring agent.
Moreover, each team can easily test their priority schemes is eliminated. However, this approach leads to an unac-
subsystem to ensure that it works within To appreciate these benefits, consider ceptable level of performance for the HMI.
those defined budgets. At integration a simple system designed without the use Setting the remote monitoring agent, sensor
time, the RTOS will enforce the resource of time partitioning. The system, illus- scanner, and HMI to medium priority
budgets, preventing any subsystem from trated in Figure 1, contains the following doesn’t work either, as it compromises the
consuming resources needed by other processes: performance of all three processes. Because
subsystems. Each system will work as •A medium-priority process that handles priority reassignment doesn’t resolve the
expected — and as previously tested. the local human machine interface issue, the development team must take the
In effect, partitioning makes it much (HMI) next step and attempt to change thread
easier for development teams to work in •A medium-priority process that per- behavior — a costly solution at the integra-
parallel. As a developer, you no longer forms periodic sensor scanning tion stage.
•A high-priority Partitioning provides a way to avoid
Activity Time Required process for motor these integration headaches. For instance,
control the system designer could set a CPU budget
Verification and Problem Reporting
(1 person tests and creates problem report)
1 day • A low-priority for each of the four partitions: 10% for the
remote monitor- HMI partition, 10% for the remote monitor-
Initial Troubleshooting
(1 person assigned to fix problem)
2 days ing agent process ing partition, 30% for the sensor scanner
that sends updates partition, and 50% for the motor control
Joint Troubleshooting to a central, web- partition..
3 days
(3 people participate)
based monitoring With this approach, each partition can
Joint Problem Resolution system be verified according to its CPU budget.
9 days
(3 people participate, 3 days each)
When the system is brought together at inte-
Re-verify
1 day During the gration time, all processes will receive their
(1 person retests) integration phase, the share of CPU time as determined by their
Total Effort 16 person days web monitoring sys- budget. As a result, the remote monitoring
Table 1 Conservative cost of resolving a task-starvation incident.
tem works fine until agent will no longer starve when the system
A moderately sized control system may experience several someone uses the becomes fully loaded. Furthermore, by
such incidents at integration time. local HMI. At that simply changing the partition budgets, the
point, the monitoring developers can trade off local HMI response
have to worry about the priorities of system often appears to freeze and ceases to time with remote update time to tune the
threads outside of your subsystem: those display any updates. Troubleshooting reveals system to the desired performance level.
threads won’t impact your performance, that when the HMI issues commands that Properly implemented, a partitioning
even if they run at a higher priority than result in a high level of motor control, the scheduler will allow developers to perform
yours. remote monitoring agent doesn’t receive any this tuning at runtime, without forcing them
Within a partition, threads are sched- CPU time. An assessment of the priorities to rebuild their applications or the system
uled according to the traditional rules of illustrates why this occurs. Since the remote image. Figure 2 shows a tool for dynamically
a preemptive, priority-based scheduler. In monitoring agent is the lowest priority, it tuning partition budgets.
13
Industrial Control Solutions Guide
14
ardence.indd 1 8/29/07 4:27:16 PM
Industrial Control Solutions Guide
way of dealing with these task starvation two, four, or more processing cores requirements — and independently of
issues. Therein lies the challenge. In a single- processor boundaries. For instance, in
Partitioning schedulers vary. Some processor system, the RTOS allocates CPU Figure 3, Secure Partition 1 spans across
strictly enforce CPU budgets at all times, capacity to each partition. To extend this two cores while the other partitions run
so that each partition will consume its full concept across every core in a multi-core on single core.
budget even when it has no work to do. system, the RTOS must have the ability to This flexibility accommodates plat-
Other implementations can dynamically control multiple cores simultaneously. form evolution. For instance, introduc-
allocate these unused CPU cycles to other An RTOS can support asymmet- ing new software features to a partition
partitions, thereby maximizing overall ric multiprocessing (AMP), symmetric may stress it to the point where a single
CPU utilization and allowing the system multiprocessing (SMP), bound multipro- core can no longer handle the load. If so,
to handle peak demands. cessing (BMP), or any combination of the the partition can easily be expanded to
three. In AMP, a separate instance of the encompass two cores. Moving to a differ-
Bringing Resource Partitioning to RTOS runs on each core. This approach ent multi-core processor may also require
Multi-Core treats each core as a discrete CPU and, as changes to partition budgets, again
The idea of resource partitioning takes a consequence, prevents partitions from creating the need for partitions that span
on an entirely new dimension when you spanning multiple cores. In SMP and multiple cores.
add partitioned hardware resources in the BMP, on the other hand, a single instance
form of multi-core processors. To date, of the RTOS can manage all of the chip’s QNX Software Systems
partitioning has been used almost exclu- cores. This approach gives the RTOS an Ottawa, Ontario.
sively in single-processor systems. But with overall system view, allowing it to use all (613) 591-0931.
the growing proliferation of multi-core of the available cores for partitioning. www.qnx.com
chips such as the Intel Core2 Duo and Intel With SMP and BMP, the system
Core2 Quad processors, developers now designer can flexibly map partitions
need a way to implement partitions across onto multiple cores according to system
The NuPRO-965 is an SHB Express (PICMG 1.3) system host board supporting the powerful
combination of the Intel® Core™2 Quad / Core™2 Duo family of processor families and the
Intel® Q965 chipset for improved system manageability, graphics, and stability. The NuPRO-
965 also supports the
Intel® Pentium® D, Intel® Pentium® 4, and Intel® Celeron® D processors on a front side
bus up to 1066 MHz to support a wide range of performance requirements. This performance
is further enhanced by backplanes, which allow 10 Gb/s bandwidth from/to the system host
board to eliminate data bottlenecks between the I/O cards and memory. The four DIMM slots
support up to 8 GB of dual channel DDR2-800 RAM with a peak transfer rate at 12.8 GB/s.
The NuPRO-965 integrates a 3D graphics engine based on the Intel® Graphic Media
Accelerator 3000 (Intel® GMA 3000) architecture with Microsoft® DirectX® 9.0 to provide
the high-end graphics performance. The PCI Express® x16 lane offers the possibility for
additional high-end graphics options. There are four PCI Express® x1 lanes for a variety of
high-bandwidth I/O applications, two Ethernet connectors for redundancy, support for four
3.0 Gb/s Serial ATA storage devices, four USB 2.0 ports, and an UltraATA/133 IDE interface.
This unique combination of the support for the latest high-performance processors, memory,
and bus technologies makes the NuPRO-965 ideal for industrial automation, process control,
medical instruments, surveillance systems, and network security applications.
15
adlink.indd 1 8/29/07 4:28:39 PM
Industrial Control Solutions Guide
Discover how Dan and the QNX team deliver the shortest
migration path to multi-core. Call 1 800 676 0566 or
visit www.qnx.com/innovate.
QNX, Momentics, and Neutrino are trademarks or registered trademarks of QNX Software Systems GmbH & Co. KG and are used under
license by QNX Software Systems International Corporation. All other trademarks belong to their respective owners. 301905 MC339.31
Industrial Control Solutions Guide
breaches. How then can managed control The controllers are performance opti- RTX ran on single processor systems only.
be attained in the new networked world of mized, secure, centrally managed, reliable But for more than 8 years, RTX releases
embedded devices? and supportable. Security, manageability run on multiprocessor systems and on
Ardence, a Citrix Company, has de- and supportability are achieved by on- Multi-Core systems as soon as they were
veloped best practices for delivering man- demand streaming of the OS/application introduced.
aged control through software solutions image. And with RTX included in the Intel Multiprocessor Specifications
that enable Dynamic Devices™. A dy- device image, optimized performance and provide for interrupts to be controlled
namic device comprises standards-based reliability are assured. by an advanced programmable interrupt
hardware and software; the OS and appli- Developers are creating and opti- controller (APIC), suitable for a multipro-
cations are delivered on-demand – not de- mizing a variety of dynamic devices by cessor system. Through the APIC, differ-
ployed. By streaming the device’s required utilizing Ardence software in a variety ent interrupts can be steered to different
OS and software on demand – including of combinations to address the required sets of processors.
hard real-time control capabilities for criteria for a fully controlled, networked On a multiprocessor system (MP),
Windows – Ardence can provide all of the system. RTX can be configured in one of the fol-
desired managed control advantages while lowing ways as shown in Figure 1:
eliminating vulnerabilities. Ardence RTX for MP and Intel® multi- • Shared Mode - One processor handles
Take the example of networked facto- core Processors-based Systems both RTX and Windows processing;
ry-floor controllers, using a combination RTX was the first real-time extension all other processors are dedicated to
of on-demand OS/application-streaming to support Intel® multi-core architectures, Windows processing.
technology developed by Ardence and and has done so since 2005. Ardence • Dedicated Mode – The real-time
Ardence® RTX® , the high-performing also supports Intel® vPro™ Processor subsystem (RTSS) of RTX dedicates
deterministic control solution for Micro- technology as well as all of Intel’s new one processor of the system to running
soft® Windows. multi-core architectures. Before 1999, RTSS threads, while the remaining
The new MSM945 CPU board features a vast variety of interfaces with 6xUSB V2.0, 2xPS2,
2xCOM, LPT and LAN. It has one Video/SDVO and one AC97/HDA-compatible 7.1-sound
interface, one floppy disk, one P-ATA and two S-ATA150 interfaces. Stackable extension
is provided with the 32-bit PCI port and the PCI Express port with 4 automatic shifted PCI
Express lanes, PEG (PCIe 16 lanes), 2xSDVO, 2xUSB V2.0, SMB and ATX signals. For
displays, the MSM945 board uses the graphic controller of the Intel 945 GME Express
Chipset with up to 224MB video memory. The video controller offers two 18-bit LCD
interfaces. It supports resolutions with up to 2048x1536 pixels.
The MSM945 can run fan-less with passive cooling or with active cooling-fan at extended
temperature of -25°C to +70°C. Designed for low current consumption with high video
performance, it is the ideal solution for video processing, video streaming and data
processing. The MSM945 module is perfectly suited for embedded computing with high
CPU and graphics performance, in transportation, telecommunication, medical, or aerospace
applications.
18
digitallogic.indd 1 8/29/07 4:32:00 PM
Industrial Control Solutions Guide
processors run Microsoft Windows The Ardence® Software-Streaming options. This device-configuration
XP threads. This dramatically lessens Platform™ enables cost reductions and manager enhances the user experience
the latency of real-time threads while productivity gains by centralizing the de- and provides a separate utility configura-
preventing the processor starvation livery and control of the operating system tion that helps in system diagnostics and
of Windows XP threads possible on a and applications. Streaming the OS and enables rapid recovery.
single processor system. applications from the network provides Ardence® ReadyOn® enables OEMs to
• Symmtrical Multi-processing – RTSS devices with unmatched manageability integrate instant availability with en-
will assign threads and tasks to pre-de- and reliability, while reducing operating hanced reliability and corruption protec-
termined cores costs. PCs and devices can be operated tion into their Windows-based designs.
without a hard-disk drive and be managed Additional benefits include reducing
The Ardence Product Suite remotely via a local or remote server. The manufacturing costs and speeding time to
Ardence® RTX® is the highest-per- OS and application are processed locally market. The enhanced end-user experi-
forming deterministic control solution for on the client devices, without the need for ence of instant-on/off functionality and
Microsoft® Windows – saving developers increased RAM, and the clients maintain secure, corruption proof reliability in de-
time, reducing system costs and getting direct access to peripheral devices. vices using the Windows operating system
products to market faster. It is the only Ardence® Select™ is a next-generation provides OEMs with clear competitive
complete solution that supports stan- product (the direct result of customer advantages and the required functionality
dards-based multi-processor and multi- feedback) that provides single OS systems to compete in tomorrow’s markets.
core platforms. RTX enhances Windows®’ with the ability to boot to multiple con-
universally adopted look/feel with features figurations, or “personalities.” OEMs can Ardence
that give developers real-time deter- easily re-configure and update products Waltham, MA.
minism, better control, and unmatched remotely, and even provide multiple (781) 647-3000.
dependability. configurations based on boot-sequence www.ardence.com
The new single-slot, 3U CompactPCI Express F18 incorporates the latest Intel® multi-core
technology, employing the Intel® Core™ 2 Duo T7500 processor operating at 2.2 GHz and
offering full 64-bit support with 4 GB of addressable memory. The versatile SBC offers a 32-
bit/33 MHz CPCI bus interface and can function without a bus as well. In addition, various
side cards easily extend the board’s functionality. For example, a specific side card enables
the F18 to perform system-slot functionality in a CompactPCI Express system.
Designed for embedded systems requiring high computing performance coupled with
low power consumption, the F18 is used in a wide range of industrial applications such
as monitoring, vision and control systems, and test and measurement throughout the
automation, transportation, aerospace, robotics and medical engineering industries.
The board features six PCI Express (PCIe) lanes for high-speed communication (Gigabit
Ethernet, graphics, etc.) and two x1 PCIe links used for the two onboard Ethernet interfaces.
Standard I/O available via the front panel includes graphics on the VGA connector, two
PCIe-driven Gigabit Ethernet interfaces and two USB 2.0 ports. Additional functions include
two digital video inputs for flat panel connection via DVI (multimedia), a variety of different
UARTS, SATA for hard disk or RAID connection as well as HD audio. Four additional USB
2/0 ports can also be added using a side card connector.
The F18’s 2 GB soldered DDR2 DRAM withstands significant shock and vibration. A robust
CompactFlash interface through onboard IDE offers virtually unlimited space for user
applications.
19
menmicro1.indd 1 8/29/07 4:34:20 PM
Industrial Control Solutions Guide
To take advantage of multi-core or event-driven, systems which evolved key problem areas in developing multi-
processors for high-end control applica- from the classical state diagram used to core-ready software.
tions, engineers can gain real advan- represent finite state machines. Figure 2 The real-time software stack consists
tages by leveraging parallel software to shows an example of a state chart used to of development tools, libraries, device
maximize key system requirements. These represent a control and logging applica- drivers, and a real-time operating system.
include control loop rates, number of data tion. Notice how the distinct states and Many real-time control applications from
channels, and algorithm performance. transitions provide a clear high-level view previous generation systems were built
One way to do this, is to use a high-level of what’s happening in the system. on a software stack intended for single-
language that takes care of a lot of work Choosing the right language to processor designs. Companies migrating
involved with parallel programming. express parallelism is critical in a multi- software to a multi-core processor experi-
National Instruments LabVIEW is a core design; however, that alone does not ence varying levels of scalability, and
programming language which is inherent- ensure a successful project. Examining the should look at each layer of the stack for
ly multithreaded to allow for optimal ex- complete software stack helps to evaluate readiness. Table 1 lists a few key consider-
ecution of control applications on parallel
hardware. For example, a block diagram
with a filter operation and a spectral mea-
Filter
surement operation will execute in paral-
lel and utilize both cores in a dual-core Simulate Growth Signal
based system simply because the diagram
Sawtooth Filtered Signal Filtered Signal
is drawn in parallel (Figure 1).
LabVIEW also supports program-
ming models that allow engineers to
abstract the complexity of the application Spectral
at hand – all of which leverage the same Measurements
LabVIEW multithreading technology Signals
under the hood. Programming models
FFT - (Peak) Data
supported in LabVIEW include configu-
ration-based, textual math, simulation
models, and state charts. State charts are Figure 1 Example of a LabVIEW application to perform filtering and fast fourier transform
the latest addition to the LabVIEW family, operations on a signal.
and are a visual representation of reactive,
20
Industrial Control Solutions Guide
Libraries Libraries are thread-safe and can be made re-entrant so they may be executed in parallel. Algorithms
are in place so as to not cause memory allocation and induce jitter into system.
Real-Time Operating System RTOS supports multithreading and multitasking, and can load balance tasks on multi-core processors
with SMP.
ations to help evaluate the readiness of the test all data in a single dynamometer, Ea- ibility with customers’ systems and keep
real-time software stack found in a typical ton would have needed 15 desktops. Such costs down.
control application. a configuration would have been unwieldy • Harness the multithreaded architecture
With LabVIEW, the software stack is for many reasons. The ability to measure of LabVIEW software to improve test
top-to-bottom a “multi-core ready” stack, transmission performance while a vehicle efficiency.
which allows for scalability to the latest is operating on open roads would make • Move the Eaton test application to the
processors. A real-world application can for more ideal test conditions and provide vehicle to allow portable testing
demonstrate how multi-core technology better feedback to Eaton’s engineers.
can improve system performance in a Therefore, Eaton’s goals for improving Eaton performed tests to evaluate
control application. their transmission testing platforms were the LabVIEW-designed application using
Deterministic Control System for identified as follows: different desktop configurations, all with
Transmission Testing Intel® processors. Eaton’s internal bench-
Eaton Corporation developed a Lab- • I ncrease platform performance to allow mark tests were run using the company’s
VIEW control application with a multi- for the processing of more data chan- three-loop application performing real-
threaded architecture to acquire, analyze nels without affecting determinism or time data acquisition, analysis, statisti-
and report for their transmission testing real-time analysis. cal trending, and sequence control. The
platform. The primary task in the ap- • S horten the test and product develop- channel limits reached on each platform
are noted in Table 2.
Processor Channel Limit Using their LabVIEW-designed
control application with with two Dual-
Single CPU 2.4 GHz Intel® Pentium® 4 Processor 22 Channels Core Intel® Xeon® processors 5130, Eaton
Single CPU 3.0 GHz Intel® Pentium® 4 processor 29 Channels has been able to basically quadruple the
number of channels processed by a single
Dual-Core 3.0 GHz Intel Pentium D processor
® ®
50 Channels
system.
Quad CPU 2 Dual-Core Intel Xeon Processor 5103
® ®
80+ (never reaches the limit) “With the multi-core architecture of
Intel’s newest chips, we can finally take
Table 2 Channel limits for transmission testing application on single- and multi-core processors. advantage of the automatic multithreaded
design of the LabVIEW software to get to
plication was a control loop that executed ment cycle to help speed time to market real-time data acquisition, analysis and
deterministically while simultaneously for new solutions. feedback that meets the requirements
acquiring many channels of data. A short • S tay within the current system footprint of our application” said Scott Sirrine,
time ago, Eaton’s transmission testing ap- so that power consumption and thermal Lead Design Engineer in Eaton’s Truck
plication was running on single-core pro- output do not increase. Division. “Not to mention the fact that
cessor desktops limited to 16 channels of •C ontinue to use standard, off-the-shelf LabVIEW as a programming language
data. To get to the point where they could PC technology to maintain compat- presented our engineering team with two
21
Industrial Control Solutions Guide
Control Logging
mance, need to consider how they can
implement parallel applications. With
High LabVIEW, you can take advantage of a
Fill
Speed software environment that is ideal for
parallel programming because of the
dataflow nature of the language. Lab-
Process
Low
Speed
VIEW also includes programming models
such as statecharts to allow different levels
of abstractions to solve applications. In
addition, applications can take advantage
of a top-to-bottom “multi-core ready”
Error
software stack, as the example from Eaton
Corporation illustrated.
Figure 2 An example of a LabVIEW
statechart model. National Instruments
Austin, TX.
key advantages over other programming (512) 338-9119.
languages – development productivity www.ni.com
and execution performance.”
Engineers looking for faster control
loop rates, a high number of data chan-
nels, and improved algorithm perfor-
22
advantech.indd 1 8/29/07 4:33:48 PM
Mu L a b
l ti V I
co E
r
W Re a
e
8. dy
5
NI LabVIEW.
Limited Only by Your Imagination.
Communicate via
multiple protocols
including Bluetooth
Build and program robots
with LEGO® MINDSTORMS®
NXT using software powered
by NI LabVIEW
Graphically program
concurrent, real-time
applications
National Instruments
Independently control Target 32-bit
multiple servo motors microprocessors
and FPGAs
>> Expand your imagination with technical resources at ni.com/multicore 866 337 5041
© 2007 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. LEGO and MINDSTORMS are trademarks of the LEGO Group
used here with special permission. 2007-9087-821-101D
Industrial Control Solutions Guide
Maximizing the power of industrial PCs by increasing clock frequency reached its limits
because the processors could no longer be sufficiently cooled. The new industrial PCs by
Siemens with Intel® Core™2 Duo processor technology achieve a higher computing power
without increasing power consumption.
environments, the Rack PC offers a high installation options and is also suitable for
electromagnetic compatibility (EMC) as space-saving portrait assembly.
well as shock and vibration resistance. Two CompactFlashDrive slots, one of
Even at ambient temperatures of up to which can be easily accessed from outside,
50 degrees Celsius, the computing power allow for the assembly of low-mainte-
does not decrease as throttling is not nance systems without hard disks and
necessary. The enclosure is very dirt-resis- high availability. The RAM can be upgrad-
tant and protected against dust through the ed up to 4 GByte so that the industrial
positive pressure ventilation with tempera- PCs also support applications with a high
ture-controlled fans and replaceable filters. data volume. Despite its small size, the
Box PC comes with numerous interfaces
Box and Panel PCs for Machine- such as two Gigabit-Ethernet interfaces,
Level Applications four USB-2.0 or one COM1 interface.
Figure 2 The Panel PC (left) comes in various
As a space-saving industrial PC, Simatic Panel PCs, also shown in screen sizes and the Box PC 627B
the Simatic Box PC 627B (Figure 2) is Figure 2, are a combination of a Box PC (right) offers a small footprint
particularly designed for machine-level and a rugged operation and display unit. without compromising functionality.
applications. Occupying minimum space The panel is available in four sizes 12, 15, Both are suitable for on-site
– with a volume of only 6 liters – it is as 17 or 19 inch with touch screen. With machine applications.
powerful as the Rack PC. Chipset and the Simatic Panel PC, machines can be
motherboard are identical. As storage operated and monitored directly on site. An essential feature of the IPC
media, up to two SATA hard disks can be The front of the Panel PC complies with product range with Intel® Core™2 Duo
installed, which are currently available at degree of protection IP65 and is also pro- processors is the scalable system avail-
up to 80 GBytes. The system offers flexible tected against chemical influences. ability concept. Although the industrial
Simply install the product, use the many tools available to you through Microsoft Windows Embedded Studio, and start innovating your
device with:
· Over 9,000 Windows Hardware Quality Labs (WHQL) certified drivers for PC-architecture hardware platforms
· Over 3,000 operating system components
· Pre-existing design templates
· Plug and Play interoperability (with a third-party plug-in)
· Win32 API compatibility
· A rich set of integrated technologies including multimedia codecs and formats, Bluetooth, DirectX, and the .NET Framework
· Familiar desktop applications and services, such as Microsoft® Windows® Media Player and Internet Explorer
· Support for all x86-based hardware platforms
· Embedded-enabling features that help optimize Windows XP Embedded for embedded devices
· Professionally tested hardware support providing at least 10 years maintenance support for all operating system components and drivers
that are included with Windows XP Embedded
Based on the Win32 programming model, Windows XP Embedded allows you to reduce development time and costs by
using familiar development tools such as Visual Studio 2005, working with commodity PC hardware and desktop applications,
drivers, and services. The Windows Embedded Studio tools help streamline the end-to-end development process and help
enable developers to rapidly configure, build and deploy smart designs with rich applications.
25
microsoft.indd 1 8/29/07 4:36:04 PM
Industrial Control Solutions Guide
can be improved by efficient expansion months. These short market cycles are not
Benchmark tests Sysmark 2004 SE v1.0 285
(Official run under WinXP)
Increased
options. acceptable in the industrial environment.
Performance
>100%
220 This is why Siemens only uses proces-
Long-Term Availability Versus sors from the Intel’s Embedded product
157 State-of-the-Art Technology range for industrial applications. Here,
125 In a broad sense, high system avail- Intel guarantees a long-term availability.
Intel® Celeron® Processor 440
108
100
spare parts, which ensures that machine motherboard are developed and produced
and plant manufacturers can order identi- internally. The life cycles of industrial PCs
cal types of Simatic PCs for their existing are therefore adaptable to the require-
machines in the foreseeable future. This ments of industrial customers; availability
Intel® Pentium® 4 SIMATIC PC based on
Processor Based Systems Intel® Core™2 Duo Processors is a dilemma particularly as regards the is not controlled by the (office) market,
Figure 3 Performance improvements of processors: On the one hand, the market but by Siemens. The typical marketing
Intel® Core™2 Duo processor- calls for state-of-the-art industrial PCs period of a new industrial PC is ap-
based systems over conventional where, on the other hand, old systems are proximately three years. The availability
Intel® Pentium® 4 Processor- expected to be available without modifica- of identical spare parts is guaranteed for
based systems. tions for several years (i.e. installation- another five years.
PCs already feature a rugged design and and image-compatible). This is a tough The long-term availability of industri-
comprehensive reserves, important data balancing act for IPC manufactures. al PCs is one of the reasons for Siemens to
may still get lost as a result of improper The Intel Core 2 Duo processor origi- currently offer computers with dual-core
processing or the fan may fail due to ex- nates from the office PC sector, where technology. Only the second generation of
cessive temperature. In order to eliminate the marketing period of motherboards the Intel Core 2 Duo processors pro-
these fault sources, system availability usually ranges between six and twelve duced with 65 nm technology, which are
and test engineers to collaborate effectively to test and repair running software before
deployment- an estimated 30-50% faster than is customary today. The ability to
automate long-run testing workflows streamlines system integration, verfication and
validation, making it possible to deliver higher quality products to market faster. Streamlines development
and QA processes to
Streamlines the support
process to increase device
deliver higher-quality uptime and device user
devices to market faster satisfaction
Wind River Device Management products support Intel® architecture for Wind River
Linux and VxWorks 6.X.
26
windriver.indd 1 8/29/07 4:37:53 PM
Industrial Control Solutions Guide
also part of the Intel-Embedded product tional single-core systems and the Simatic to-date technology, the computers feature
range, can guarantee the required long PCs with Intel Core 2 Duo processors a long-term availability which is matched
service life. proved that cycle times of 10 ms are to the life cycles of machine and plant
When using industrial PCs with Intel easily realizable also with complex PLC construction.
Core 2 Duo processors, users not only programs (Figure 3). At the same time
benefit from the increased performance the visualization is characterized by short Siemens
and the reduced power consumption for image change and refresh times – despite Munich, Germany.
reliable operation even at high ambient the large number of images and process +49 89 636-00
temperatures. Intel Core 2 Duo proces- connections. Improvements of up to www.siemens.com
sors most notably shows its strength when factor 10 and 4 compared to single-core
multiple applications are run simultane- systems were achieved. In addition to this,
ously: the integration of control and visu- the processor utilization of the visualiza-
alization in a single system will provide a tion component remains rather low. The
cost-efficient total solution to users. user can use this performance reserve for
With these new system solutions, the further software applications and adding
PLC software (Siemens Simatic WinAC more hardware resouces is a thing of the
RTX software package) is installed in past, resulting in further cost-savings.
a way that ensures it is permanently The new Simatic PC product range
allocated to one core, which is then now includes an IPC system which not
reserved with this software, while the only meets the performance requirements
visualization software (Simatic WinCC of future automation tasks, but can also
flexible) is executed on the second core. directly contribute to the rationalization
The latest comparisons between conven- of systems and machines. Despite this up-
• Intel® Core™ 2 Duo / Core™ Duo / Core™ Solo / Celeron® M 4xx Processor @ 533 / 667MHz FSB
• Mobile Intel® 945GM Express chipset and integrated Intel® Graphics Media Accelerator 950
• 2 x DDR2 533/667MHz SDRAM up to 3GB
• Integrated RTC with onboard lithium battery
• ACPI 1.0 compliant, supports power saving mode
• 1 x 44-pin Ultra DMA33 IDE interface supports up to 2 x ATAPI devices
• Up to 224MB video memory shared with system memory
• Onboard 18/24-bit single/dual channel LVDS connector
• Dual video, VGA LVDS, DVI and component video output
• 2 x serial ATA interfaces with 150MB/s transfer rate
• 4 x Intel 82573L Gigabit Ethernet controller
• Onboard programmable 8-bit digital I/O interface
• 1 x PCI slot ,1 x Mini-PCI socket
• RoHS-6 compliant
• 3 year Product Warranty
27
arcom_v2.indd 1 9/4/07 10:10:28 AM
Industrial Control Solutions Guide
Partitioning at the operating system system software that is appropriate to the Example: DSP Elimination
(OS) level is a straightforward technique specific tasks being performed. Consider a high-speed electronic circuit
for shrinking embedded systems that Task isolation via independent board assembly machine that performs
formerly required multiple hardware hardware platform, however, comes at precision motion operations. The system
platforms down to a single hardware significant expense in the form of com- includes a DSP subsystem for calculating
platform. You can reduce cost, size, and munication overhead, physical system size, coordinated real-time multi-axis motion
hardware complexity by assigning each OS excess heat, component cost, and manufac- profiles that drive a positioning platform.
to dedicated cores in a multi-core proces- turing and test complexity. By eliminating Another subsystem performs real-time data
sor platform. This includes embedded redundant system elements (such as disk, acquisition from a vision subsystem. And a
systems that incorporate a mix of dedicated memory, network interfaces, and power third subsystem serves as an HMI to moni-
subsystems, providing functions such as supplies) inter-module communication tor and control overall machine operation
real-time control, data acquisition, and a bottlenecks can be avoided, system costs and to perform setup and assembly tasks
human machine interface (HMI). The key can be reduced, and system manufacturing from a menu of options (Figure 1).
to supporting a mix of real-time and gener- and maintenance can be simplified. The assembly machine’s vision subsys-
al-purpose operating systems, on dedicated tem contains a dedicated real-time computer
cores within a multi-core processor, is to
use an underlying element of software that
exploits the Virtualization Technology in
the latest Intel® multi-core processors.
Traditionally, embedded systems have
been built from a collection of independent
subsystems, each running its own oper-
ating system on independent hardware
platforms. This was driven by the need for
critical applications to respond quickly and RTOS
predictably to real-time events, without DSP Card
Machine
interference from subsystem elements
that deal with non-critical events, such as Windows
human interface functions and enterprise Network Machine Shared
Interface Memory
network connections. Multiple indepen-
dent subsystems minimize the potential Figure 1 Independent real-time functions in a control system connected via a non-real-time
for conflicts, and allow the use of operating control computer over networking schemes.
28
Industrial Control Solutions Guide
Issue Solution
Cost of DSP subsystems Dedicate a CPU core and utilize libraries that exploit SIMD instructions (Single Instruction, Multiple
Data) such as SSE on Intel® Architecture processors.
Development and maintenance Use a standard processor architecture. Better availability of talent that understands standard
expenses and risk associated with platforms. Development tools for mainstream processors are more powerful and easy to use.
specialized subsystems
Hardware duplication (e.g., Merge multiple hardware platforms into a single hardware platform.
memory, power supplies, and
enclosures)
Increased complexity decreases A single hardware compute platform minimizes interconnects, increasing reliability.
reliability
Redesign costs due to hardware Build software on operating systems designed for forward-moving platforms.
obsoletion
ware platform (Table 2). Building Inter-OS Protocols for pointed to by PCI configuration register
Dedicating CPU cores to operating Multi-Core Systems BAR0, maps the shared memory buffer.
systems in a multi-OS platform removes To facilitate the reuse of existing The second range, pointed to by BAR1,
contention for key processor resources like application software in new multi-core presents an I/O address to each guest OS.
registers, instruction pipelines, floating point designs, virtual device drivers can be used When an application within the guest OS
resources, and interrupts. This approach has as an interface for inter-OS communica- accesses the BAR1 I/O address a trap is
a dramatic impact on real-time performance tion and signaling protocols. For example, made into the virtual device driver hosted
metrics, such as interrupt latency, when an inter-OS protocol could be implement- by the VMM. The virtual device driver
compared to platforms that must share a ed entirely within a virtual PCI hardware then injects a virtual IRQ into the target
CPU with non-deterministic tasks. In Figure interface. The guest operating systems are guest OS, which responds by accessing the
3, worst case interrupt latencies measuring as configured to share an area of physical shared memory area for updated data.
high as 20 microseconds have been reduced memory to which common data is posted. The net gains from the application
by a factor of three to a maximum of seven After a guest updates its data structure in of real-time virtual machine technology
microseconds. In this case a dual-core the shared memory region, it signals the on multi-core processor platforms are the
system was first operated in shared-mode other guests of the update via a register in elimination of redundant computer and
where Windows uses two CPU cores, shar- the virtual PCI interface (Figure 4). communication hardware, faster com-
ing one with the INtime RTOS, and then in In this example, each virtual PCI munication and coordination between
a dedicated-mode where Windows uses only device presents two memory ranges multiple operating environments, im-
one CPU core and the INtime RTOS uses to each guest. The first memory range, proved reliability and robustness, reuse of
the other core.
TenAsys has measured even more dra- Intel® Virtualization IA-32 Special CPU root mode to trap system-level instructions.
matic improvement in worst case interrupt Intel® architecture
latency, when comparing the INtime RTOS
and Windows running on a dual-core plat- VT-d: Chipset Virtualization Hardware supported DMA and interrupt remapping.
form compared to an equivalent clock speed
PCI-SIG: I/O Device Address Translation Services (ATS) to accommodate sharing
single-core platform. With such low guar-
anteed interrupt latencies, real-time control Virtualization PCI Express I/O cards between multiple operating systems.
loops can execute at 50-200 microsecond
cycle times with very high precision, while Table 2 Intel® architecture-based system virtualization attributes
a general-purpose OS such as Windows
is simultaneously supported on the same
hardware platform.
30
Industrial Control Solutions Guide
MEN Micro, Inc., a world-renown provider of embedded computing and I/O solutions for
demanding industrial, mobile and harsh environment applications, has just released a new
6U, CompactPCI single board computer (SBC) equipped with either one or two Dual-Core
Intel® Xeon® processors, providing up to four CPU cores with a frequency of 1.66 GHz,
and the Intel® E7520 server chipset. The new D7 blade server, which can function as
either a system or a peripheral slot board, is ideal for applications where fast and reliable
communication is required.
The hot-swappable D7 can be used as a peripheral slot board, a 64-bit/66 MHz PCI system
or a 64-bit/133 MHz PCI Extended (PCI-X) system on the CompactPCI bus using one or two
slots depending on the configuration. The PCI Express (PCIe) link connect to the two Gigabit
Ethernet interfaces on the front panel and are used to attach up to two XMC modules.
31
menmicro2.indd 1 8/29/07 4:40:03 PM
Intel. Powering an
Industrial Revolution.
Intel provides a full range of components and platforms to meet the demands of the digital factory—
from Test & Measurement devices and advanced Human-Machine Interfaces to Industrial PCs and
Factory Automation & Control systems. Intel’s embedded lifecycle products provide the real-time
operation and energy efcient performance of processors based on Intel® Core™ microarchitecture.
Create your own revolution with Intel’s advanced platform technologies, development tools, and an
ecosystem of leading third-party vendors—including members of the Intel® Communications Alliance.
Visit us online today. The industrial revolution is about to begin.
www.intel.com/go/industrial
©its2006 Intel Corporation. All rights reserved. Intel, the Intel logo, Intel. Leap ahead., the Intel. Leap ahead. Logo, Intel XScale and Intel Core are trademarks or registered trademarks of Intel Corporation or
subsidiaries in the United States and other countries.