DE

Solo developer

Dull Edge Technologies

Documentation

Software Specification V0.5

Home

A document for Software.

PCB: Software V0.5

Overview

This system uses

  • ROS 2 for orchestration and internal communication
  • Headless Ubuntu as the embedded operating system
  • DRM/KMS for direct camera control
  • OpenCV for image processing <Planned>
  • C++ for hardware interactions
  • Systemd for boot, supervision, and recovery.

Work Flow

The system currently runs a Raspberry Pi 4B with 1 Gb of memory attached to the exposure tool.

The target is designed in a tool (KiCad, Altium, Inkscape, etc.) uploaded to a web interface as a gerber file with configuration given. Then sent to orchestrator.

Process overview.svg

There are then two ways to prepare the exposure: Artwork and Dimensional. Artwork preparation allows for more customization and scaling; Dimensional preparation allows for creating of preparation groups, all exposures in the preparation group share a common transform. Dimensional preparation also blocks both rotation and scaling.

Once a exposure is prepared it can be ran using the run exposure card on the home page.

Software Layout

Architecture overview.svg

ROS Packages

PackageResponsibility
pcb_webValidation of http requests, store and upload jobs, and translate approved endpoints into ROS calls.
pcb_orchestratorHandles any multi step process, manages ownership of the tools, and system health tracking.
pcb_calibrationHandles validation of calibration and is source of truth for latest calibration.
pcb_rendererHandles rasterization of Rgb8 images into working area, asks pcb_projector to render each frame.
pcb_projectorSole authority for exposure tool output. Enforces session fencing, presents frames using either DRM/KMS or a simulated PPM output. Handles lease expiry and emergency clear actions. <Planned to:> Handle turning on and off projector over RS-232 and opening and closing a shutter
pcb_interfacesDefines are each package communicates with another.
pcb_bringupDefines the launch files for both production and simulation.

Web services

NameResponsibility
ExposureHandles interfaces with exposure tool.
JobsHandles saving and loading of a exposure job.
PreparationsHandles saving and loading of a preparation groups.
SvgConvert svg to standard xml (same as gerber).
Via JigGenerate via jig for manufacturing step.