arXiv:2611.09679cs.RONov 2026

Manuscript Offprint

arXiv:2611.09679

Autonomous Particle Image Velocimetry Using Zero-Shot Sim-to-Real Reinforcement Learning

Chang Rajani, Luke Sebastien Marsden, Stephan Kunz, Claudio Mucignat, Ivan Lunati

Chang Rajani¹, Luke Sebastien Marsden¹,², Stephan Kunz¹, Claudio Mucignat¹, Ivan Lunati¹,²

Abstract—Particle image velocimetry (PIV) reconstructs a flow field from the motion of tracer particles but the reconstruction quality is bounded by how well the flow structure of interest is resolved in the images. The acquisition position is typically fixed by the operator before the measurement. We cast camera placement as a sequential decision-making problem and train a reinforcement learning agent to control a 6-DoF manipulator equipped with a camera, enabling it to locate, frame and resolve a hydrofoil wake in a water tunnel. The agent commands the camera pose and observes the scene only through the velocity field and uncertainty estimated from time-separated image pairs. It is trained entirely in a photorealistic simulation of our water tunnel, with wakes generated by Computational Fluid Dynamics (CFD) simulations of hydrofoils with varying profiles, positions and angles of attack. After zero-shot transfer to the real water tunnel, the policy reliably locates and frames the wakes of randomly placed hydrofoils. It resolves the wake at a higher resolution than a fixed camera view and with lower error in the measured flow statistics, in roughly half the time of a full scan and with far fewer image pairs.

I. INTRODUCTION

Particle image velocimetry (PIV) is an optical technique for measuring fluid velocity fields by tracking the displacement of tracer particles between successive images of a flow illuminated by a light sheet [1]. The quality of the resulting velocity estimates depends critically on the imaging conditions. Parameters such as magnification, camera distance, separation time, and depth of field determine the spatial resolution of the measurement and the particle displacement between exposures. Established PIV guidelines provide recommendations for selecting these parameters [1], [2], but tuning them to a particular flow typically requires several iterations and the judgement of an expert operator.

In conventional practice, those parameters are selected based on prior knowledge or expectation of the velocity magnitude and the location of relevant flow features. This makes the measurement vulnerable to deviations from these expectations. When features of interest are compact, move across the field of view, or occur in unexpected locations, the quality of the recordings may be insufficient to allow accurate velocity reconstruction. No subsequent improvement in the PIV algorithm can recover information that was not adequately captured, resulting in suboptimal velocity estimates and inefficient use of measurement resources.

Robot-mounted PIV systems address this limitation by traversing a probe along a pre-planned path at close range and stitching the resulting image tiles together afterwards [3], [4]. This approach provides detailed coverage of the entire measurement plane, but requires lengthy scans and devotes measurement time to regions that may not contain features of interest. In both conventional and robot-mounted PIV systems, camera placement is determined before measurement and is not adapted based on the acquired data. As a result, the camera may cover too little or too much of the region of interest.

In this work, we propose treating where the camera looks as a controlled, closed-loop variable, in the spirit of active sensing [5]. We mount the camera on a 6-DoF manipulator observing a water tunnel and train a learned policy to reposition it so that an a priori unknown flow structure is brought into a favourable imaging configuration: within the field of view and at a distance that allows it to be fully captured and sufficiently resolved. An appropriate representation of flow regions with low energy has long been of particular interest in applications such as wind energy [6] and air quality [7]. In this work, we focus on hydrofoil wakes, which are known to exhibit large variations in shape and size with changes in angle of attack and flow speed [8].

Casting camera placement as a sequential decision-making problem poses three challenges. First, the true flow field is not available to the agent, which can estimate the velocity only from its own camera images. These estimates are unreliable when the camera is badly positioned. Our agent therefore uses the flow estimate and uncertainty provided by LIMA, a CNN-based PIV estimator that is fast enough to run within the control loop [9], [10], to guide camera positioning decisions. Second, reinforcement learning requires millions of interactions, which would take weeks to collect on physical hardware. We train a DreamerV3 agent [11] entirely in a simulation of our laboratory setup built in NVIDIA Isaac Sim with Isaac Lab [12]. The simulation includes the test section, light sheet, tracer particles and camera optics of the real setup, together with flow fields from CFD simulations. We then deploy the policy on the physical manipulator without fine-tuning or training on real-world data. Third, camera viewpoint selection and robot joint motion are defined in different spaces. The agent commands a Cartesian camera position, and a calibration of the manipulator against a marker board in the test section maps each command to joint angles (Fig. 1).

Our contributions are threefold: (i) a system that formulates active PIV camera placement as a reinforcement

¹Computational Engineering Lab, Empa, Swiss Federal Laboratories for Materials Science and Technology, Switzerland. ²ETH Zurich, Switzerland. This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible. Supplementary Video: https://youtu.be/RlfhBA8eIFc

Figure

Fig. 1. System overview. (a) The water tunnel (blue, with a plexiglass test section in the middle) is seeded with tracer particles, and an LED line light illuminates a thin planar sheet of the flow. A test hydrofoil is placed at an arbitrary position and angle of attack and sheds a wake. A camera on the wrist of an igus ReBeL 6-DoF arm images the sheet. (b) At each decision step the camera records four image pairs at times τ\tau and τ+Δτ\tau + \Delta\tau. After background subtraction, LIMA estimates the velocity, from which we compute the streamwise velocity deficit, and its uncertainty. The policy takes these three fields as input and outputs a new camera position, which is converted to joint angles and sent to the arm.

learning problem over Cartesian camera-position commands, in which the policy must locate, frame, and resolve an initially unknown wake; (ii) a high-fidelity Isaac Sim model of our laboratory PIV setup, incorporating CFD flow fields for different NACA hydrofoils to simulate tracer-particle motion; and (iii) zero-shot deployment on physical hardware, demonstrated through extensive experiments showing that the policy consistently converges to camera positions that outperform a conventional fixed view and achieve flow-estimation quality comparable to brute-force image stitching at a substantially lower measurement time.

References (31)