🎓 Lesson 12 D5

Hardware Triggering: Encoder Sync, Strobe Signals, and Exposure Delay Tuning

Hardware triggering is how a camera or sensor precisely starts capturing an image at the exact moment a robot moves or a blast occurs—like snapping a photo with perfect timing using a physical signal instead of software.

🎯 Learning Objectives

  • Explain the functional role of encoder sync, strobe signals, and exposure delay in hardware-triggered vision systems
  • Calculate required exposure delay to compensate for mechanical latency in robotic guidance loops
  • Design a trigger timing budget accounting for encoder resolution, camera shutter lag, and PLC cycle time
  • Analyze timing jitter sources and quantify their impact on pose estimation uncertainty in blast face mapping

📖 Why This Matters

In mining blasting operations, autonomous drill rigs and blast-face survey robots must capture sharp, motion-free images *exactly* as the drill bit contacts rock—or as the blast wave propagates—to guide real-time fragmentation analysis and post-blast assessment. Software-triggered imaging introduces unpredictable delays (up to 50 ms), causing motion blur, misalignment, and failed pose estimation. Hardware triggering eliminates this variability—ensuring every pixel corresponds to a known, timestamped robot pose or encoder angle. Without it, vision-guided robotic drilling fails under dynamic conditions.

📘 Core Principles

Hardware triggering relies on three tightly coupled elements: (1) An encoder sync signal—typically a quadrature A/B/Z pulse from a motor or rotary stage—provides absolute angular position reference; (2) A strobe signal—a short-duration TTL pulse—physically illuminates the scene or gates the camera sensor during motion; (3) Exposure delay tuning—the programmable offset (in nanoseconds to microseconds) between trigger edge arrival and sensor integration start—compensates for fixed system latencies (e.g., cable propagation, FPGA pipeline, sensor reset). These components form a deterministic timing chain governed by IEEE 1588-2019 (PTP) traceability and IEC 61800-7 safety timing requirements. Synchronization fidelity degrades if any element exceeds its jitter budget—making delay tuning not optional, but calibration-critical.

📐 Exposure Delay Budget Calculation

The total exposure delay (ED) must compensate for all upstream latencies to align image integration with the desired event (e.g., encoder zero-crossing or blast initiation pulse). It is calculated as the sum of fixed and variable delays minus the desired lead/lag offset.

Total Exposure Delay (ED)

ED = Σt_latency − t_lead_lag

Computes required programmable delay to align sensor integration window with target physical event.

Variables:
SymbolNameUnitDescription
ED Exposure Delay ns Programmable offset between trigger edge and start of sensor integration
t_latency Component Latency ns Sum of shutter lag, FPGA pipeline, cable propagation, PLC response, etc.
t_lead_lag Desired Lead or Lag ns Time offset relative to trigger event (positive = lead, negative = lag)
Typical Ranges:
Robotic drill guidance: 10,000 – 60,000 ns
Blast wave imaging: 500 – 5,000 ns

💡 Worked Example

Problem: A robotic survey arm uses a 10,000-line incremental encoder (Z-pulse every 36°). Camera has 12 µs shutter lag, FPGA processing adds 8 µs, signal propagation over 3 m coax is 15 ns/m, and PLC sends trigger 22 µs after Z-pulse detection. Target: integrate image 500 ns *before* Z-pulse for pre-contact imaging.
1. Step 1: Sum fixed latencies — shutter lag (12,000 ns) + FPGA (8,000 ns) + cable (3 × 15 = 45 ns) + PLC (22,000 ns) = 42,045 ns
2. Step 2: Subtract target lead (−500 ns): 42,045 ns − (−500 ns) = 42,545 ns
3. Step 3: Round to nearest configurable step (e.g., 100 ns increments): 42,500 ns
Answer: The configured exposure delay must be 42.5 µs, which falls within typical programmable range of 0–100 µs for industrial GigE Vision cameras.

🏗️ Real-World Application

At BHP’s Jimblebar iron ore operation, a vision-guided autonomous drill rig uses encoder-synced hardware triggering to map blast-hole collar positions. Each drill mast rotation generates a Z-pulse synchronized to the mast’s 0° reference mark. A strobe LED fires 20 µs before Z-pulse, and the camera’s exposure delay is tuned to 38.7 µs—calibrated daily via laser-etched test pattern on mast. This achieves ≤ ±0.15° angular registration error (vs. ±2.1° with software triggering), enabling sub-5 mm positional accuracy at 3 m standoff—critical for verifying hole depth and deviation prior to charging.

📋 Case Connection

📋 Vision-Guided Palletizing Robot for Mixed-SKU E-Commerce Fulfillment

Unstructured tote input with random part orientation, variable box dimensions, and reflective surfaces causing glare

📋 Vision-Guided Deburring Robot for Cast Aluminum Engine Blocks

Variable burr height (0.1–2.4 mm) and location due to inconsistent casting; complex freeform surfaces limiting fixed-too...

📚 References