Applications › Industrial automation

RTOS for industrial automation

Industrial controllers and gateways run for years, must react on time and are increasingly connected. STK provides deterministic scheduling, isolation and secure-networking building blocks in a small, readable kernel.

Discuss your project See all features

The challenge

Deterministic cycles

Control and I/O tasks run on fixed periods. Jitter and missed cycles show up as lower process quality or machine faults.

Control meets connectivity

The same device runs a real-time loop and an Ethernet or cloud connection that must never disturb it.

Long product lifetimes

Devices stay in the field for many years, so the kernel must be maintainable, auditable and not tied to one toolchain.

How STK helps

Hard real-time scheduling

KERNEL_HRT mode with monitored deadlines and miss callbacks, EDF, RM and DM schedulers, and worst-case response time analysis for RM and DM.

Commercial

Mixed-criticality

The commercial MCAS and MCAS4 schedulers keep control or safety functions on schedule when diagnostics or communication overrun. See mixed-criticality systems.

Multi-core (AMP)

One STK instance per physical core: deterministic control on one core, communication and diagnostics on another.

Networking and security

Third-party ports for lwIP and mbedTLS. Bring your own fieldbus or protocol stack.

Isolation

MPU-based privileged and user tasks and a hardware stack guard. Arm TrustZone can protect keys and update logic, see secure IoT.

Maintainable by design

MIT-licensed, readable C++, builds with GCC, Clang and IAR. Warranty of title and SLA-backed support are available as services.

A typical setup

  1. Put cyclic control and I/O in periodic hard real-time tasks (EDF, or RM/DM for fixed priorities), and use worst-case response time analysis to check the schedule.

  2. Handle deadline misses with callbacks that move outputs to a defined safe state.

  3. Run communication, logging and diagnostics in lower-urgency, unprivileged tasks, or on a separate core in an AMP design.

  4. If functions differ in criticality, group them and consider MCAS or MCAS4.

  5. Trace timing with SEGGER SystemView during commissioning.

STK is a kernel, not a PLC runtime or fieldbus stack: bring your own protocol stacks and I/O drivers. Porting and integration are available as services.

Building something like this?

Porting, real-time tuning, certification support and commercial components are available. See services.

Contact us

Other applications: Robotics & motor controlMixed-criticality systemsSecure IoTBattery-powered & consumer devicesAudio & USBEducation & researchMigration from legacy RTOSAll applications