Software teams schedule enclosure design for "later" because it feels like packaging — something that wraps the real product after the electronics are done. That mental model produces enclosures where the lens port is in the wrong position for the camera FOV, the Raspberry Pi thermally throttles in summer because there is no ventilation, and the mount flexes under cable tension and shifts the camera angle by enough to degrade detection performance. We model enclosures alongside electronics because the enclosure is a component of the perception and thermal system, not packaging.

Enclosure as a system component, not packaging

The enclosure directly affects three system properties: thermal performance, optical performance, and electromagnetic compatibility. Thermal path design determines whether the board runs at its rated operating temperature or throttles during sustained load. Lens port position and geometry determine the effective camera field of view in the installed configuration, which may differ significantly from the theoretical specification if the port introduces vignetting or if the mount angle places the sensor at the edge of its focus range.

Antenna placement for Wi-Fi and Bluetooth is constrained by the enclosure material and geometry. A metal enclosure that is ideal for EMI shielding requires external antenna routing for wireless connectivity. A plastic enclosure optimised for wireless signal pass-through may need additional shielding considerations if the electronics generate significant emissions. These are not afterthoughts — they are constraints that affect the enclosure design from the first sketch.

Mount design affects measurement accuracy in sensing applications. A camera mount that flexes under the weight of its own cable will produce a different effective viewing angle when the cable is routed left versus right, or when the robot is accelerating versus stationary. We design mounts to be rigid under the actual load conditions — cable weight, connector insertion force, vibration — not just under static inspection.

Installation access is a design constraint that is often omitted from first enclosure iterations. A circuit board that cannot be removed without disassembling the entire enclosure, or a USB port that requires a right-angle adapter because there is no straight-access clearance, creates field serviceability problems that are expensive to fix after units are in the field. We model installation and service access as explicit design requirements.

Thermal modelling and optical constraints

Thermal validation runs before the enclosure design is finalised, not after the first prototype arrives. We model the thermal path — board to heatsink to enclosure to ambient — using the board power measurements at sustained inference load and the ambient temperature range for the deployment environment. The model predicts whether the board will operate below its throttle threshold at the design point. The prototype validates the model under real conditions.

Passive ventilation is preferred over active cooling for enclosures in field environments because fans introduce moving parts, noise, and ingress points for dust and water. Chimney-effect passive ventilation — inlet vents near the heat sources, outlet vents above them — can handle the thermal load of Pi and Jetson class boards in moderate-temperature environments without any active components. For higher-power boards or higher-temperature deployments, a sealed enclosure with a heat exchanger is preferable to an open fan system in dusty environments.

Camera optical constraints define the lens port geometry: minimum aperture diameter for the lens focal length and sensor size, required flush tolerance to avoid vignetting at the sensor corners, and IR filter or diffuser requirements if the enclosure interior produces reflections visible to the sensor. These constraints are computed from the camera specification and validated with the actual sensor and lens before the port geometry is finalised.

Fabrication handoff and versioning

STEP files for CNC or injection moulding and STL files for 3D printing are both maintained in the same version-controlled repository as firmware and software. A mechanical revision that is not version-controlled and not linked to the electronics revision it was designed for produces the same class of problems as software without source control: "Final_enclosure_v7_real_FINAL.step" is not a version history.

Fabrication handoff packages include: STEP files with all bodies labelled by material and finish, DXF drawings for any features that require tight tolerances with explicit dimension callouts, a thread and fastener specification for all hardware, and a surface finish and colour specification with RAL or Pantone references. A fabrication package that requires a follow-up call to clarify tolerances has not been completed.

First-article inspection against a checklist verifies that the fabricated unit matches the design intent before production quantities are ordered. Checklist items include: all critical dimensions within tolerance, lens port optical clearance verified with the actual camera module, all cable routing paths accessible without tools, and thermal validation with the actual electronics at sustained load. A first article that passes inspection is the sign-off for production — not a judgment call.