📑 DIRECTORY TERMINAL (TABLE OF CONTENTS)
- Executive System Overview
- System Datasheet & Engineering Targets
- Computer Vision & Kinematic Control Logic
- Hardware Fabrication & Bill of Materials
- Vision Processing & Execution Pipeline
- Repository Architecture & CI/CD
- Empirical Validation Matrix (Development Log)
- Deployment & Reproducibility
- R&D Framework & Development Scope
- Academic Trajectory
- Academic Citation
By processing high-dimensional image frames in real-time, the system extracts path geometries, dynamically calculates heading errors, and maps those errors directly to a 4WD differential drive system. This architecture ensures smooth, high-speed tracking and robust trajectory correction under variable ambient lighting conditions, preventing the track-loss common in IR-based systems.
| Subsystem | Specification | Engineering Objective |
|---|---|---|
| Control Architecture | Embedded SBC (Single Board Computer) | Execute multi-threaded vision and PWM pipelines simultaneously. |
| Vision Framework | OpenCV Image Processing Pipeline | High-speed contour extraction and centroid localization. |
| Drive Kinematics | 4-Wheel Differential Steering | Translate angular correction to left/right wheel RPM variables. |
| Environmental Adaptation | Dynamic Thresholding Matrix | Isolate target paths despite glare, shadows, or track noise. |
| Response Latency | Optimized Frame Rate Processing | Ensure mechanical actuation occurs before geometric tracking loss. |
| Project Status | OPERATIONAL | Fully functional and field-validated under dynamic track conditions. |
- 🛡️ Chassis Dynamics: Rigid 4WD frame layout ensuring all four wheels maintain uniform surface contact during sharp differential turns.
- 👁️ Optical Mounting: Angled camera geometry calibrated to capture an optimal Region of Interest (ROI) slightly ahead of the chassis for predictive tracking.
- ⚡ Power Distribution: Dual-rail power management isolating logic-level voltage (SBC/Sensors) from high-current motor spikes to prevent brownouts.
Primary Hardware Bill of Materials (BOM):
| Component | Material / Specification | Subsystem |
|---|---|---|
| Master Controller | Embedded SBC (e.g., Raspberry Pi / Jetson) | Logic Engine & Vision Processing |
| Optical Sensor | High-Framerate Telemetry Camera | Machine Vision Input |
| Motor Drivers | High-Current Dual H-Bridge | PWM Signal Amplification |
| Actuators | 4x High-Torque DC Gear Motors | Physical Locomotion |
| Chassis | Aluminum/Acrylic 4WD Frame | Structural Containment |
- Frame Ingestion: The camera captures RGB frames and crops them to a strict ROI, ignoring background noise and reducing computational overhead.
- Color Masking & Binarization: Frames are converted to the HSV color space, and dynamic thresholding is applied to isolate the path geometry into a stark binary mask.
-
Centroid Extraction: OpenCV moments are calculated to find the
$(c_x, c_y)$ coordinates of the target path. -
Kinematic Execution: The PID loop converts the
$c_x$ offset into proportional PWM adjustments, triggering the motor drivers via GPIO pins.
📁 Vision-Autonomous-4WD/
│
├── 📁 .github/workflows/ # CI/CD: Automated linting for Python/C++ vision scripts
├── 📁 src/ # Core Logic & Algorithms
│ ├── vision_tracker.py # OpenCV color masking and centroid extraction pipeline
│ ├── kinematics_pid.py # Differential drive math and PWM mapping
│ └── main_loop.py # Multi-threaded execution script
│
├── 📁 hardware/ # Physical Build Assets
│ ├── wiring_schematic.pdf # Motor driver, SBC, and power rail routing
│ └── CAD_models/ # Chassis layouts and camera mount geometries (STEP/STL)
│
├── 📁 docs/ # System documentation
│ ├── dynamic_thresholds.csv # Calibration logs for varying ambient lighting conditions
│ └── PID_tuning_log.md # Kp, Ki, Kd parameter adjustments for speed benchmarking
│
├── requirements.txt # Python dependencies (OpenCV, NumPy, GPIO libraries)
└── README.md # Main system dossier