Skip to content
View PS-O5's full-sized avatar
:atom:
Researching
:atom:
Researching

Block or report PS-O5

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
PS-O5/README.md

Pratik Suryawanshi

Systems Engineer → Systems Architect | Avionics · Autonomous Systems · Safety-Critical Firmware

M.Sc. Scientific Computing — Elite Network of Bavaria, University of Bayreuth
Munich / Bavaria, Germany


The Architecture Mindset

I build systems where failure is not recoverable and timing is not negotiable.

Three years across radar imaging, autonomous UAV stacks, and HPC numerical solvers have converged on a single discipline: designing deterministic software architectures across the full hardware-software boundary from register-level silicon up to distributed RTOS microkernel design.

My work lives in the intersection of control theory, real-time OS internals, and embedded compute constraints. I don't integrate systems, I architect them from the physics upward.


What I've Shipped

VANGUARD-PASIL : 500Hz Avionics Flight Stack

Apache NuttX · Bare-Metal C · STM32F411 · HIL Validation

A hard real-time flight stack proving that deterministic avionics behavior is achievable at the microcontroller level without a full flight OS.

  • 707 µs hard deadline met consistently via asynchronous I/O decoupling and deliberate scheduler partitioning
  • 7.5% SRAM footprint (9.9 KB) through zero-dynamic-allocation architecture
  • Custom NuttX character drivers written from scratch to expose raw IMU telemetry to a 7×7 Error-State Kalman Filter with 4th-order Runge-Kutta integration
  • Autonomous ToF-driven ground-proximity failsafe with deterministic trigger latency
  • Full HIL validation pipeline for sensor-actuator timing verification

→ Codebase & Technical Architecture


Wolf3D Bare-Metal Port

Bare-Metal C · STM32F411CEU6 · DMA · No OS

A complete port of the 1992 Wolfenstein 3D raycasting engine onto bare-metal ARM: no OS, no framebuffer, 128 KB SRAM.

  • "Slice & Stream" rendering pipeline: CPU computes column geometry in fixed-point trigonometry, DMA asynchronously transfers 16bpp RGB565 columns to ST7789 display
  • Eliminates global framebuffer entirely — physics within silicon constraints
  • Raw ADC analog joystick and timer-driven PWM audio through a piezo speaker

→ Codebase & Architecture


Real-Time Embedded MPC Engine (Current Sprint)

Pure C++17 · ARM Cortex-M4/M7 · Zero-Allocation · Active Development

A constrained Model Predictive Control engine built from first principles — no libraries, no heap, no compromises on WCET.

  • Warm-started Fast Gradient Method (FGM) with Nesterov acceleration for a 4-state, 1-input reaction-wheel inverted pendulum
  • Compile-time matrix dimension resolution via C++17 templates (std::array); zero runtime overhead, zero heap fragmentation
  • In-place Cholesky decomposition solver operating entirely on the stack, bypassing matrix inversion in real-time
  • Memory layout maps solver kernel to ITCM, state matrices to DTCM for zero-wait-state processing
  • AHB bus matrix isolation of display pipeline to eliminate CPU cache contention

Automotive Safety Gateway (ASG)

QNX RTOS 8.0 · Raspberry Pi 4 · STM32F411 · POSIX VFS

A distributed AMP architecture bridging a microkernel RTOS host with a bare-metal edge controller; modeled after production automotive gateway patterns.

  • STM32 edge node mounted directly into the QNX microkernel filesystem at /dev/asg_sensor via a formal POSIX VFS Resource Manager
  • ASIL-aware Independent Watchdog (IWDG) system with graceful degradation state machine
  • POSIX UDP telemetry link for real-time network-layer diagnostics

→ Architecture & LaTeX Technical Report


Technical Stack

Layer Technologies
RTOS & Kernels QNX 8.0, Apache NuttX, FreeRTOS (AMP/SMP), Zephyr, Embedded Linux (Yocto/Buildroot)
Languages C, C++17/20 (bare-metal & STL), CUDA C++, Python, SystemVerilog
Silicon STM32 Cortex-M4/M7, ESP32 (Xtensa Dual-Core), NVIDIA Jetson TX2, RISC-V, RPi 4
Protocols CAN, SPI, I2C, UART, USB, MAVLink, Micro-ROS (XRCE-DDS), UDP/TCP, LoRa
Control & Estimation MPC, EKF/ESKF, Runge-Kutta Integration, Fixed-Point Math, Sensor Fusion
HPC CUDA, OpenMP, MPI, H-Matrix arithmetic (AHMED library)
Safety Standards ISO 26262, DO-178C, IEC 61508 — domain awareness across automotive, avionics, industrial
Tools Git, CMake, Docker, Gazebo, MATLAB, Logic Analyzers, Oscilloscopes

Availability

Open to full-time roles in avionics, autonomous systems, space, or defense. German: B2 | Immediate availability | Munich / Bavaria


"Correctness at 707 microseconds. Every cycle accounted for."

Pinned Loading

  1. wolf3d-stm32f411ceu6 wolf3d-stm32f411ceu6 Public

    Forked from id-Software/wolf3d

    The port of original open source release of Wolfenstein 3D for STM32F411CEU6(Blackpill)

    C

  2. Model-Predictive-Control Model-Predictive-Control Public

    OMEGA-1: A deterministic, bare-metal Model Predictive Control (MPC) engine for the STM32H743. Features a warm-started Fast Gradient Method solver constrained to ITCM/DTCM for strictly bounded worst…

    C++

  3. VANGUARD-PASIL VANGUARD-PASIL Public

    A high-performance, deterministic flight-stack testbench built on Apache NuttX RTOS.

    C

  4. ADIv5-AVR ADIv5-AVR Public

    An 8-bit AVR debugging an ARM Cortex-M4. Bit-banged SWD with hardware breakpoints, watchpoints, flash programming and RTT in 18KB. One resistor, four wires, no probe chip.

    C 3 1

  5. OFPrimer OFPrimer Public

    Forked Repository from OpenFOAM Primer for implementing custom solvers and algorithms.

    4 2

  6. QNX-AMP-Gateway-Pi-4-Edge-Node QNX-AMP-Gateway-Pi-4-Edge-Node Public

    This repository contains the architecture documentation, system builder configurations, and POSIX C source code for an Asymmetric Multi-Processing (AMP) Automotive Safety Gateway.

    C