• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Advertise
  • Subscribe

Motion Control Tips

Automation • Motion Control • Power Transmission

  • News
    • Industry News
    • Editor Blogs
  • Controls
    • HMIs
    • PC-Based Controllers
    • PLCs + PACs
    • Stand-Alone Controllers
    • Software
  • Drives
    • Servo Drives
    • Stepper Drives
  • Encoders
    • Absolute Encoders
    • Incremental Encoders
    • Rotary Encoders
  • Mechanical
    • Bearings
    • Brakes + Clutches
    • Belt + chain
    • Couplings
    • Gears + Gearing
    • Lubrication
    • Shock + Vibration Mitigation
    • Springs + Rings + Seals
  • Linear
    • Actuators
    • Linear Motors
    • Linear Encoders
  • Motors
    • AC Motors
    • DC Motors
    • Brushless Motors
    • Gearmotors
    • Piezo Motors
    • Servo Motors
    • Stepper Motors
  • Systems
    • Conveyors + linear transport systems
    • Gantries + Stages
    • Rotary Tables
    • Grippers + End Effectors
    • Robotics
  • Networks
    • Connections + Sliprings
    • Fieldbuses
    • I/O
    • Sensors + Vision
  • Resources
    • FAQs
      • Motion Casebook
      • Motion Selection Guides
    • Suppliers
    • Video
You are here: Home / FAQs + basics / What role does Linux play in motion control systems?

What role does Linux play in motion control systems?

July 15, 2020 By Danielle Collins Leave a Comment

Operating systems manage the communication between hardware and software in devices such as servers, computers, mobile phones, and embedded systems. Most personal computers and laptops use either Microsoft’s Windows operating system or Apple’s macOS, and mobile devices such as phones and tablets primarily use Google’s Android operating system or Apple’s iOS. In the industrial world, servers, HMIs, and enterprise systems have historically been run on Windows operating systems, primarily because of Windows’ familiarity, availability, and ease-of-use. But there’s another operating system that’s gaining traction in motion control applications: Linux.


Since its introduction in 1991, the Linux operating system has consistently been praised for its security, stability, and reliability. Although Linux isn’t a household name like Windows or Android, Linux operating systems work behind the scenes in many of the products we use every day, including Roku devices, the Amazon Kindle, and many smart appliances. The Android operating system is even built on the Linux kernel.


Just for fun: check out these 25 Awesome Things Powered by Linux.


One of the key attributes that makes Linux so attractive is that it’s open-source, meaning the source code is freely available and has no licensing fees. And as an open-source software, users can modify it to suit their specific needs. In fact, dozens of modifications of Linux have become standard offerings from third parties. (These modifications are often referred to as “distributions,” or “distros,” for short.)

While Linux made significant headway in consumer and business environments, compatibility issues limited its adoption by manufacturers of industrial equipment. But the introduction of OPC UA (Open Platform Communications Unified Architecture) has made the use of Linux a reality for industrial applications, by enabling devices running on different operating systems (Windows, macOS, and Linux) to communicate with each other. So networks that integrate OPC UA — either alone or in conjunction with other Industrial Ethernet communication protocols — can implement systems running on Linux without worrying about compatibility and communication with other parts of the enterprise.

Another drawback of Linux operating systems, historically, was their lack of real-time capabilities. However, two solutions have been introduced to address the need for real-time operation, particularly for industrial applications. The first is a patch, or modification, of the Linux kernel (the core of the operating system that manages communications and resources), referred to as PREEMPT_RT. Simply put, the patch allows threads to be preempted if a higher priority thread comes along.

The other solution — known as Xenomai — is a real-time extension to Linux. Xenomai takes a dual-kernel approach, with a “co-kernel” working alongside the Linux kernel. The co-kernel handles real-time tasks and the Linux kernel handles those that don’t require real-time performance.

linux
Two solutions for real-time performance are to use a “preempt” patch in the Linux kernel (left) or to use dual kernels (right).
Image credit: Delgado, Park, Choi

With solutions to compatibility issues and real-time communication now readily available, the list of motion control devices that run on Linux is growing rapidly. For example, Bosch Rexroth’s new ctrlX Automation software platform is based on the Ubuntu distribution of Linux. Rexroth chose Linux as the operating system due to its openness and flexibility, including the fact that it allows programmers to use modern languages like C/C++, Javascript, and Python, as well as the traditional IEC 61131-3 languages.

In the hardware space, Opto22’s groov EPIC controller for edge devices is based on a real-time version of Linux, and since it’s open-source, users can run their own custom-developed applications. Wago’s series PFC100 and PFC200 controllers also use a real-time Linux operating system.

And these are just a few of many examples. To see more manufacturers and products that integrate or support Linux, go to the Design World online site and search for “Linux.”


Feature image credit: Ewing, Budig, LeSage

You Might Also Like

Filed Under: FAQs + basics, Featured, Software

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

LEARNING CENTER

Design World Learning Center

Motion Control Handbook

“mct
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for Design Engineering Professionals.

RSS Featured White Papers

  • Robotic Automation is Indispensable for the Logistics Industry’s Continued Growth and Success
  • Reliable Linear Motion For Packaging Machines
  • Polymers Outperform Metals In Precision Gearing

Footer

Motion Control Tips

DESIGN WORLD NETWORK

Design World Online
The Robot Report
Coupling Tips
Linear Motion Tips
Bearing Tips
Fastener Engineering.
Wire and Cable Tips

MOTION CONTROL TIPS

Subscribe to our newsletter
Advertise with us
Contact us
About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy | RSS