Skip to content

aaronukgarcia/23-Zipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Standardised Gap Protocol (SGP)

A Validated Framework for Cooperative Highway Merge Assistance

License: MIT Status Version

Overview

The Standardised Gap Protocol (SGP) reduces merge-related conflicts by standardizing gap acceptance behaviour across equipped vehicles. Operating in a local-first architecture with optional V2V coordination, SGP provides advisory assistance to human drivers (SAE Level 1) with optional automated execution (SAE Level 2).

Key Result: 8.3% throughput improvement at 30% penetration, validated through 50,000 Monte Carlo simulation scenarios.

Features

  • Local-First Architecture — Works immediately without V2V infrastructure; network effects are additive, not prerequisite
  • Tiered Operation — Baseline local-only mode with enhanced V2V-augmented mode when available
  • Validated Sensor Model — Kalman filter with kinematic motion model reduces C estimation RMSE by 47%
  • Conservative Safety Margins — Uses lower confidence bounds for merge decisions; zero collisions in 50,000 scenarios
  • Adaptive HMI — Three-tier interface adapting to driver preference and demonstrated competence

System Architecture

┌─────────────────────────────────────────────────────────────┐
│                    SGP v4.0 Architecture                    │
├─────────────────────────────────────────────────────────────┤
│  Tier 1 (Baseline)     │  Tier 2 (Enhanced)                 │
│  ─────────────────     │  ────────────────                  │
│  • Local-only          │  • V2V-augmented (DSRC/C-V2X)      │
│  • Onboard sensors     │  • Intent signal sharing           │
│  • Always available    │  • Reduced C estimation uncertainty│
│  • Fallback mode       │  • Performance enhancement         │
└─────────────────────────────────────────────────────────────┘

Operational Design Domain

Parameter Range
Speed 50–130 km/h
Weather Clear, Light Rain (Heavy Rain degrades performance)
Infrastructure Standard highway on-ramps

Validation Status

Milestone Status
Monte Carlo Simulation (50,000 scenarios) ✅ Complete
NHTSA Pre-submission Meeting ✅ October 2025
UN-ECE WP.29 Pre-submission Meeting ✅ November 2025
Closed-course Testing 📅 Scheduled Q2 2026
Field Validation ⏳ Pending

Simulation Results

C Estimation Performance:

Metric v3.0 (Moving Avg) v4.0 (Kalman) Improvement
RMSE Baseline -47% Significant
Collisions (50k scenarios) 0 Using C_lower

Throughput & Safety:

  • 8.3% throughput improvement at 30% penetration
  • Zero collisions using conservative C_lower bounds
  • 350ms decision window (250ms execution + 100ms margin)

Installation

git clone https://github.com/[username]/sgp.git
cd sgp
# Installation instructions to follow with simulation release

Usage

# Example usage (API to be published with simulation code)
from sgp import CooperationIndex, MergeAdvisor

# Initialize with sensor configuration
advisor = MergeAdvisor(sensor_noise_r=2.0)  # m/s² per ARS540 spec

# Get merge recommendation
c_estimate = advisor.estimate_cooperation(target_vehicle)
recommendation = advisor.get_merge_advisory(c_estimate)

Repository Structure

sgp/
├── LICENSE
├── README.md
├── docs/
│   └── SGP_WhitePaper_v1_0_4.docx
├── simulation/
│   ├── carla_config/       # CARLA 0.9.15 configuration
│   ├── sensor_models/      # Noise models (Continental ARS540)
│   └── scenarios/          # Monte Carlo scenario definitions
├── src/
│   ├── estimation/         # Kalman filter, C calculation
│   ├── decision/           # Merge advisory logic
│   └── hmi/                # Human-machine interface
└── tests/

Falsifiability Criteria

SGP should be considered falsified if field testing demonstrates any of:

  • VCR reduction < 25% at 95% confidence
  • Driver override rate > 40%
  • Any collision attributable to SGP recommendation followed correctly
  • Throughput degradation at any penetration level

Known Limitations

  • Actual baseline VCR (0.001 assumption) requires field measurement
  • Cultural/regional driving style variations not yet modelled
  • Weather degradation (rain/fog/snow) requires closed-course validation
  • Long-term driver adaptation effects unknown

Contributing

Contributions are welcome. Please read the whitepaper thoroughly before proposing changes to core algorithms. Areas particularly seeking contribution:

  • Regional driving behaviour models
  • Weather degradation characterization
  • HMI accessibility improvements
  • Simulation scenario expansion

Data Availability

  • Simulation code: To be published upon paper acceptance
  • Raw data: 50,000 scenario logs (2.3 TB) available upon request with NDA

License

This project is licensed under the MIT License — see the LICENSE file for details.

Citation

@techreport{sgp2025,
  title={Standardised Gap Protocol (SGP): A Validated Framework for Cooperative Highway Merge Assistance},
  version={4.0},
  year={2025},
  month={December},
  note={Simulation-Validated, Pre-Regulatory Submission}
}

Acknowledgments

This specification incorporates findings from independent adversarial analysis (red team review of v3.0) and validation against SHRP2 Naturalistic Driving Study data.


Status: Simulation-Validated, Pre-Regulatory Submission
Version: 4.0
Last Updated: December 2025

Releases

No releases published

Packages

 
 
 

Contributors