Continuous UV level estimation using photochromic PLA surfaces: a transformer-based heterogeneous deep ensemble approach
MEASUREMENT SCIENCE AND TECHNOLOGY, cilt.37, sa.46, 2026 (SCI-Expanded, Scopus)
- Yayın Türü: Makale / Tam Makale
- Cilt numarası: 37 Sayı: 46
- Basım Tarihi: 2026
- Doi Numarası: 10.1088/1361-6501/aebfbc
- Dergi Adı: MEASUREMENT SCIENCE AND TECHNOLOGY
- Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Applied Science & Technology Source, Chemical Abstracts Core, Compendex, INSPEC, Engineering Source (EBSCO)
- Açık Arşiv Koleksiyonu: AVESİS Açık Erişim Koleksiyonu
- Erciyes Üniversitesi Adresli: Evet
Özet
This study presents a high-precision, continuous machine vision system for estimating ultraviolet (UV) radiation levels using low-cost, 3D-printable polylactic acid-based photochromic material (PLA-PCM) surfaces. Filament color transitions under different UV irradiance levels were recorded at eight ambient color temperatures, and a zero-padding spatial arrangement protocol was applied to the 252 & times; 56 images that underwent color changes to extract stable temporal features. The methodology employs a deep transformer encoder with multi-head self-attention, computing global temporal dependencies in parallel within 222 ms and ensuring edge-AI compatibility. Multi-spectral feature vectors from the RGB, HSV, and CIELAB color spaces, augmented with ambient color temperature and DCT components, were constructed for 59 000 frames derived from 236 video sessions at 10 Hz. A strict zero-data-leakage protocol was enforced through video-level holdout, in which each session is assigned to a partition as an indivisible unit. Each fold contained the fast-onset phase and the slow, decelerating approach to saturation of the photochromic reaction, with five-fold cross-validation. The resulting transformer-based heterogeneous deep ensemble (T-HDE), integrating Transformer, SVR, CatBoost, LightGBM, ExtraTrees, and MLP regressors with Nelder-Mead-optimized weights, achieved R 2 = 0.9938 on the held-out test set with a homoscedastic error distribution, indicating that prediction accuracy is with residuals whose spread shows no systematic dependence on the UV level across the measured range. In single-frame snapshot mode, R 2 = 0.9811 was attained, confirming that even without temporal sequence information, the color features extracted from the standardized frame alone provide robust UV estimation. These findings demonstrate that PLA-PCM surfaces, coupled with the T-HDE architecture, can serve as precise, continuous, and cost-effective UV dosimeters for IoT-based environmental monitoring and edge-AI sensing platforms.