GPU-accelerated Optical Sensor Simulation - Simulating a Network of Optical Sensors Utilizing GPU-acceleration
| dc.contributor.author | Forsberg, Joar | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
| dc.contributor.examiner | Ali-Eldin Hassan, Ahmed | |
| dc.contributor.supervisor | Ali-Eldin Hassan, Ahmed | |
| dc.date.accessioned | 2026-05-12T05:39:27Z | |
| dc.date.issued | 2026 | |
| dc.date.submitted | ||
| dc.description.abstract | Laser triangulation sensors are widely used in industrial measurement systems, where multiple sensors continuously acquire geometric data and transmit it to a host for calibration and analysis. Prototyping such systems is costly and time-consuming, as physical sensors require specialized hardware, precise alignment, and dedicated network infrastructure. This thesis presents a proof-of-concept framework for virtual laser triangulation sensors that can be used as a substitute for physical prototypes during system development and testing. The work consists of two main components: a mathematical simulation for generating sensor-like measurements, and a network layer that enables the virtual sensors to communicate with the host software exactly as real devices do. The simulation computes raypolygon intersections to emulate the measurement process of a triangulation sensor. A naïve CPU version and a GPU-accelerated version were implemented, followed by a custom CUDA kernel based on Cramers rule for solving large batches of independent 2 × 2 systems. Profiling and roofline analysis show that the custom kernel achieves several orders of magnitude higher performance compared to both the CPU implementation and high-level GPU libraries such as cuSOLVER. The network interface is implemented using UDP communication and a virtual Wire- Guard network, allowing each virtual sensor to appear indistinguishable from a physical one to the existing configuration software. This enables seamless hardware-in-the-loop style testing without modifications to the host system. The results demonstrate that virtual laser triangulation sensors can generate realistic measurements at rates significantly higher than required for real-time operation, creating room for future improvements in physical accuracy and noise modeling. The framework establishes a foundation for scalable virtual prototyping of optical measurement systems and shows that highly specialized GPU kernels can dramatically accelerate small-matrix computations commonly found in geometric simulation workloads. | |
| dc.identifier.coursecode | DATX05 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12380/311078 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | Technology | |
| dc.subject | laser triangulation | |
| dc.subject | GPU acceleration | |
| dc.subject | CUDA | |
| dc.subject | UDP | |
| dc.subject | numerical simulation | |
| dc.subject | virtual sensors | |
| dc.title | GPU-accelerated Optical Sensor Simulation - Simulating a Network of Optical Sensors Utilizing GPU-acceleration | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | High-performance computer systems (MPHPC), MSc |
Ladda ner
License bundle
1 - 1 av 1
Hämtar...
- Namn:
- license.txt
- Size:
- 2.35 KB
- Format:
- Item-specific license agreed upon to submission
- Description:
