Onboard train control units: Safety Engineering, Risk Analysis and Verification

Introduction and application problem 

An onboard control unit may combine multiple control and monitoring functions. Incorrect I/O, software state, configuration or communication can propagate across subsystems and affect traction, braking, doors, auxiliary systems or driver indications. Railway safety depends on the complete system and its operational context—not only on individual components. The analysis should include interfaces, degraded modes, maintenance, configuration, human actions and the consequences of faults at train and infrastructure level. 

  • Railway hazards can involve high-energy motion, long stopping distances, passenger exposure and complex interactions between onboard and wayside systems. 
  • A component that behaves correctly in isolation can still contribute to an unsafe system through incorrect data, interface assumptions or configuration mismatch. 
  • Safety requirements need traceable links to hazards, design measures, verification evidence, operational rules and the safety argument. 
  • Failure handling and degraded operation are part of the design; they should not be left solely to maintenance instructions or operator judgement. 
  • Cybersecurity, reliability, availability and maintainability interact with safety but have distinct objectives and evidence needs. 

  • Define system boundaries, intended functions, operational concept, interfaces, operating modes and assumptions. 
  • Apply the railway RAMS lifecycle and hazard-management process required by the governing standards and project contract. 
  • Identify hazards, hazardous events, safety functions, operational constraints and evidence needed to demonstrate requirements are met. 
  • Allocate measurable requirements to hardware, software, communications, field elements, rolling stock and operating procedures. 
  • Plan verification, integration testing, validation and independent assessment early, including configuration and application data. 
  • Maintain change control, safety-case traceability, maintenance controls and post-commissioning feedback. 

Application-specific challenges 

Common controller affects multiple functions: Shared processor, power or I/O fault propagates into several subsystems. 

Incorrect I/O mapping or scaling: Wiring, pin mapping, units, calibration or configuration error produces wrong control values. 

Software reset, hang or memory fault: Watchdog, scheduling, memory corruption or startup logic causes loss or unexpected output. 

Communication loss or stale data: Network disruption leaves consumers using invalid values or stale commands. 

Power transients and brownout: Vehicle power variation, interruptions or sequencing produce resets or output glitches. 

Configuration and update mismatch: Wrong application, parameter set, bootloader or software version is installed. 

Maintenance/service access risk: Diagnostic commands or temporary overrides affect live safety-related functions. 

System architecture and operating context 

Consider processor(s), safety partitioning where used, I/O modules, analogue/digital sensing, output drivers, watchdogs, memory, power conversion, network interfaces, time synchronisation, diagnostics, event logging, bootloader/update mechanism, service tools and interfaces to TCMS, traction, braking, doors, HVAC and other vehicle systems. Define which functions are safety-related and whether functions share hardware, power, software, memory or communication resources. 

An architecture view should show safety-related inputs and outputs, command and feedback paths, power, communications, diagnostics, maintenance/service interfaces and interactions with neighbouring systems. Identify the operating context and define what happens on loss, corruption or uncertainty of information. State assumptions that must be verified at integration or controlled through operating rules. 

Applicable standards and boundaries 

  • EN 50155: electronic equipment used on rolling stock; verify current edition and equipment scope. 
  • EN 50128 / EN 50716 and EN 50129 may apply to safety-related software/electronic functions according to the governing railway framework. 
  • EN 50121 series: EMC; select applicable part. 
  • EN 45545 series may apply to fire protection of railway vehicles and materials, depending on equipment and installation. 
  • Applicable TSIs, national rules, vehicle specifications and cybersecurity requirements. 

Applicability note: this is a preliminary standards screen, not a declaration that every listed standard applies. Confirm current editions, amendments, national adoption, contractual requirements, interoperability specifications, system classification and any transition arrangements before finalising a compliance matrix. EN 50128/EN 50716 transition and governing-standard decisions should be made explicitly for each project. Formal independent assessment or authorization, where required, is distinct from engineering support. 

Railway safety lifecycle 

  1. System definition and operational concept: establish boundaries, interfaces, users, modes, environment and assumptions. 
  2. Hazard identification and risk assessment: identify hazards, initiating events, hazardous scenarios and consequences; document risk acceptance method. 
  3. Safety requirements and allocation: derive traceable requirements, allocate them to subsystems and define operational/maintenance constraints. 
  4. Architecture and implementation: address independence, common-cause and dependent failures, configuration, data integrity and failure handling. 
  5. Verification and validation planning: establish test methods, acceptance criteria, coverage, tool confidence, independence and required evidence. 
  6. Integration and system validation: test interfaces and realistic operating scenarios, including degraded modes and maintenance transitions. 
  7. Safety case and in-service lifecycle: link claims to evidence, track assumptions, manage changes and use incident/maintenance feedback to revisit risks. 

Hazards, failure scenarios and safety objectives 

The following are illustrative engineering scenarios, not a completed project hazard log or quantitative risk assessment. Risk classification, tolerable hazard rates and safety integrity targets must be derived using the governing railway framework, operational context and project-specific hazard analysis. 

ID  Illustrative hazardous scenario  Potential consequence  Example engineering objective 
H-01  Incorrect command to safety-relevant subsystem  Unexpected traction, brake, door or other control response  Define output state, command validation, fault containment and interface supervision. 
H-02  Loss of control or monitoring  Subsystem fault remains undetected or cannot be controlled  Specify watchdogs, diagnostics, communication timeouts and degraded behaviour. 
H-03  Shared resource failure defeats separation  Multiple safety functions fail together  Analyse partitioning, independence, common-cause and resource interference. 
H-04  Incorrect configuration or software deployed  Control behaviour differs from approved baseline  Control release, identity, compatibility, rollback and commissioning verification. 
H-05  Unsafe reset or power recovery  Outputs or modes change unexpectedly  Define startup sequencing, output initialisation, retained state and recovery tests. 

 

Safety requirements, architecture and implementation 

Specify safety-related functions and boundaries, I/O ranges and scaling, output default/fault states, task timing, watchdog and diagnostic behaviour, communication deadlines, stale-data handling, startup and reset sequencing, power-transient tolerance, partitioning/resource assumptions, configuration identification, secure update/service access, event logging and maintenance procedures. Requirements should explicitly address shared-resource and dependent-failure concerns where functions are integrated on common hardware or software. 

Maintain bidirectional traceability from hazards to safety requirements, subsystem allocation, implementation, verification results and safety-case claims. Identify requirements that depend on external systems or operating procedures and document how those assumptions are validated, monitored or controlled. 

Verification, validation and safety evidence 

Test I/O mapping and scaling, open/short/stuck inputs, output driver faults, watchdog expiry, task overload, memory and communication faults, stale data, network partition, power dips/transients, cold/warm reset, startup sequencing, configuration mismatch, update/rollback, EMC and relevant environmental conditions. Verify cross-function impact when resources are shared, not only each function independently. Use hardware-in-the-loop and integration rigs where appropriate, with controlled software/configuration baselines and traceable acceptance criteria. 

Evidence should be reproducible and configuration-specific. Record test plans, procedures, test equipment and calibration, software/hardware/application-data baselines, test results, deviations and closure, tool assumptions, independent reviews and rationale for any analysis or simulation used in place of physical testing. 

Common pitfalls and recommended prevention 

Pitfall  Recommended prevention / detection 
Assuming a general-purpose ECU is automatically suitable  Assess the required safety role, environmental conditions, architecture, lifecycle evidence and governing railway framework. 
Testing each software function in isolation  Test shared-resource, I/O, power, communication and dependent-failure scenarios. 
Ignoring bootloader and service tools  Include startup, update, rollback, diagnostic commands and access controls in the system boundary. 
Treating watchdog reset as always safe  Verify output behaviour before, during and after reset and define recovery constraints. 
Leaving signal semantics implicit  Specify units, validity, freshness, range, default and fault semantics at every interface. 
Failing to manage vehicle variants  Control variant coding, parameter sets, hardware revisions and installed baselines. 

 

Relationship to adjacent disciplines 

RAMS and hazard analysis establish safety objectives; embedded software assurance addresses lifecycle and testing; electronics design and EMC/environmental qualification address the railway environment; network engineering addresses timing and communication; cybersecurity protects update and service paths; configuration management maintains variant integrity; integration engineering checks vehicle-level effects.

  • EN 50155 — Electronic equipment used on rolling stock; verify current edition. 
  • EN 50126 series — Railway RAMS lifecycle. 
  • Applicable EN 50128 / EN 50716 and EN 50129 framework for safety-related functions. 
  • EN 50121 series — Railway EMC; select applicable part. 
  • EN 45545 series — Fire protection on railway vehicles; verify applicability. 
  • Applicable TSIs, national rules and cybersecurity requirements. 

Currency note — Draft prepared 29 October 2026. Recheck standards catalogue status, edition, amendments, national adoption, project contract and railway-authority requirements before publication or use in a compliance plan. This article is engineering information, not a safety approval, certification, operational instruction or substitute for the project safety process.

  • Shared processor, power or I/O fault propagates into several subsystems. 
  • Wiring, pin mapping, units, calibration or configuration error produces wrong control values. 
  • Watchdog, scheduling, memory corruption or startup logic causes loss or unexpected output. 
  • Network disruption leaves consumers using invalid values or stale commands. 
  • Vehicle power variation, interruptions or sequencing produce resets or output glitches. 
  • Wrong application, parameter set, bootloader or software version is installed. 
  • Diagnostic commands or temporary overrides affect live safety-related functions. 

VerveTronics can support onboard control-unit suppliers with system safety requirements, dependent-failure analysis, I/O/interface reviews, software and HIL test planning, configuration assurance and railway environmental/EMC evidence planning. Scope should identify vehicle platform, safety functions, shared resources, interfaces and applicable standards. 

Suggested CTA: Request a railway safety engineering, RAMS or verification-planning review. 

  • Does EN 50155 establish functional safety by itself? No. It addresses electronic equipment used on rolling stock within its scope. RAMS, safety-related software/electronic-system standards and application-specific requirements may also apply. 
  • Can one controller host safety and non-safety functions? Potentially, but the architecture must justify segregation, independence, shared-resource controls and the evidence required by the governing safety framework. 
  • Why test reset and power recovery? A controller may produce unintended outputs or restore stale state during startup and recovery; these transitions need explicit requirements and verification.