Benefits

Using the Gateway block in VisualSim provides:

  • Security Enforcement: Detects, filters, and blocks unauthorized traffic.
  • Functional Safety Assurance: Supports redundant design and error recovery.
  • Deterministic Behavior: Predictable latency and bounded jitter.
  • Scalable Configuration: Handles up to 23 communication channels simultaneously.
  • Cross-Domain Integration: Connects heterogeneous protocols across safety-critical domains.
  • Design-Time Validation: Explore security/fault tolerance trade-offs before implementation.

The Gateway block in VisualSim models an embedded systems gateway that manages communication between multiple subsystems and network interfaces in automotive, aerospace, defense, industrial, and space systems. Unlike traditional IT networking gateways, this block focuses on safety-critical and real-time communication between heterogeneous networks and controllers.

It provides routing, packet transformation, and security enforcement across up to 23 channels, using configuration rules from the Gateway_Config_DB. By allowing configurable software delays and buffer settings, designers can accurately simulate real-world timing, congestion, and security validation.

Historically, gateways were first introduced in automotive systems to manage communication across multiple CAN buses. Today, they are used in satellites, launch vehicles, avionics, and industrial control systems to ensure fault tolerance, cybersecurity, and deterministic communication.

Overview

The Gateway block provides the following functions:

  • Ingress & Egress Buffers: Stores and manages messages for controlled and predictable transmission.
  • Routing Engine: Applies rules from Gateway_Config_DB to determine message forwarding paths.
  • Packing & Unpacking Modules: Compresses/decompresses and reformats data for different network domains.
  • Security & Authentication: Verifies message integrity and prevents injection of malicious traffic.
  • Functional Safety Features:
    • Redundant processing support.
    • Error detection and correction.
    • Fail-safe routing to ensure continued operation under faults.
  • Scan Rate Configuration: Defines the frequency of message scanning to meet real-time requirements.
  • Debug & Monitoring: Tracks latency, dropped packets, and security alerts.

Supported Standards

While no single universal standard governs all embedded gateways, the block aligns with:

  • ISO 26262: Functional safety for automotive ECUs.
  • DO-254 / DO-178C: Safety compliance for avionics hardware/software.
  • AUTOSAR Gateway Patterns: Standardized ECU communication strategies.
  • ARINC 653: Partitioned architectures in aerospace control.
  • IEC 61508: Functional safety for industrial automation.

Key Parameters

Configurable parameters include:

  • Scan_Rate: Defines polling frequency for new messages.
  • Egress_Buffer_Size: Controls outgoing message queue depth.
  • Gateway_Speed_MHz: Clock speed for message handling.
  • Security_Policy: Defines filtering/authentication rules.
  • Error_Recovery_Mode: Retry, failover, or safe-state fallback.
  • Logging_Enable: Captures events for traceability and auditing.

Applications

The Gateway block is widely used in safety-critical embedded systems:

  • Automotive:
    • Routing between CAN, LIN, FlexRay, and Automotive Ethernet.
    • Enforcing security policies and message filtering for ECU communication.
    • Functional safety for ADAS and autonomous driving.
  • Aerospace & Defense:
    • Communication between avionics subsystems with redundancy.
    • Secure data handling in satellites and rockets.
    • Ensuring deterministic data flow in flight-critical systems.
  • Industrial Automation:
    • Bridging multiple controllers and industrial field buses.
    • Supporting redundancy and safety in PLC networks.
  • Space Systems:
    • Secure interconnect between guidance, navigation, and control modules.
    • Fault isolation to maintain mission reliability.

Integrations

  • Works with CAN, FlexRay, Ethernet, and LIN models for in-vehicle communication.
  • Integrates with satellite and avionics subsystems for redundancy and fault recovery.
  • Can connect with industrial control and robotics models.
  • Interfaces with Gateway_Config_DB for dynamic routing rules.

Schedule a consultation with our experts

    Subscribe