CellDefectNet: A Machine-designed Attention Condenser Network for Electroluminescence-based Photovoltaic Cell Defect Inspection

Carol Xu, Mahmoud Famouri, Gautam Bathla, Saeejith Nair, Mohammad Javad Shafiee, Alexander WongCRV 2022

Abstract

Photovoltaic cells are electronic devices that convert light energy to electricity, forming the backbone of solar energy harvesting systems. An essential step in the manufacturing process for photovoltaic cells is visual quality inspection using electroluminescence imaging to identify defects such as cracks, finger interruptions, and broken cells. A big challenge faced by industry in photovoltaic cell visual inspection is the fact that it is currently done manually by human inspectors, which is extremely time consuming, laborious, and prone to human error. While deep learning approaches holds great potential to automating this inspection, the hardware resource-constrained manufacturing scenario makes it challenging for deploying complex deep neural network architectures. In this work, we introduce CellDefectNet, a highly efficient attention condenser network designed via machine-driven design exploration specifically for electroluminesence-based photovoltaic cell defect detection on the edge. We demonstrate the efficacy of CellDefectNet on a benchmark dataset comprising of a diversity of photovoltaic cells captured using electroluminescence imagery, achieving an accuracy of ~86.3% while possessing just 410K parameters (~13× lower than EfficientNet-B0, respectively) and ~115M FLOPs (~12× lower than EfficientNet-B0) and ~13× faster on an ARM Cortex A-72 embedded processor when compared to EfficientNet-B0.

Introduction

Photovoltaic (PV) cells are the fundamental building blocks of solar energy systems. Ensuring their quality during manufacturing is critical, as defects like micro-cracks or "finger" interruptions significantly reduce energy conversion efficiency. Traditionally, this quality control relies on human inspectors reviewing electroluminescence (EL) images—a process that is not only labor-intensive and expensive but also prone to inconsistency and human error.

While deep learning offers a path toward automation, deploying these models in a manufacturing environment presents a significant "hardware hurdle." Production lines typically utilize resource-constrained embedded systems, such as ARM-based processors, rather than high-end GPUs. Standard high-performance architectures are often too computationally expensive or slow to meet the high-throughput demands of a solar cell production line.

Methodology: Machine-Driven Design

To address these constraints, the researchers introduced CellDefectNet. The architecture was developed using Generative Synthesis, a machine-driven design exploration strategy. Instead of manual architectural tuning by human engineers, this approach uses an algorithm to navigate a vast space of potential network configurations, identifying the optimal balance between predictive accuracy and computational efficiency based on specific hardware constraints.

Key Architectural Features

  • Visual Attention Condensers (VAC): These are highly efficient self-attention mechanisms integrated into the early stages of the network. They allow the model to perform "selective focus" on critical low-to-medium level visual features without the heavy computational overhead associated with standard Transformers.
  • Heterogeneous Columnar Design: Unlike traditional stacked architectures, CellDefectNet utilizes parallel columns with varying configurations. This design helps disentangle complex features while maintaining a low parameter count.
  • Anti-Aliased Downsampling (AADS): This technique enhances the network's shift-invariance, ensuring that minor variations in the positioning of the PV cell within the image do not negatively impact the defect detection accuracy.

Experimental Setup

The model was evaluated using a benchmark dataset of 2,624 electroluminescence images of monocrystalline and polycrystalline PV cells. The dataset consists of 1,100 defective samples and 1,514 functional samples, processed at a resolution of 300 × 300 pixels. The authors note that distinguishing between functional and defective cells in this dataset is notoriously difficult even for non-experts, as defects can be extremely subtle.

Results and Discussion

CellDefectNet was compared against established models including VGG-19, EfficientNet-B0, and MnasNet on an ARM Cortex A-72 embedded processor. The results highlight a significant breakthrough in efficiency:

  • Accuracy: CellDefectNet achieved 86.28%, the highest among all tested models (outperforming EfficientNet-B0 by ~0.9%).
  • Model Size: With only 0.41 million parameters, it is approximately 13x smaller than EfficientNet-B0 and 341x smaller than VGG-19.
  • Computational Complexity: The model required only 115M FLOPs, roughly 12x lower than EfficientNet-B0.
  • Inference Speed: The model processed images in 0.347 seconds, making it 13x faster than EfficientNet-B0 and 31x faster than VGG-19 on the target embedded hardware.

These findings suggest that early-stage attention and machine-designed "heterogeneous" structures can outperform human-designed linear architectures in specialized edge computing tasks.

Conclusion and Future Work

CellDefectNet demonstrates that specialized, machine-designed architectures can overcome the limitations of general-purpose models in industrial settings. By prioritizing "edge" efficiency without sacrificing accuracy, it provides a viable path for real-time, automated quality inspection in solar cell manufacturing.

Future research directions include:

  • Expanding the machine-driven design strategy to build even more efficient architectures.
  • Incorporating multi-modal sensing, such as acoustic sensors, to perform predictive maintenance on the manufacturing equipment itself, moving beyond just inspecting the final product.

Summary updated

BibTeX
@inproceedings{xu2022celldefectnet,
  author = {Carol Xu and Mahmoud Famouri and Gautam Bathla and Saeejith Nair and Mohammad Javad Shafiee and Alexander Wong},
  title = {{CellDefectNet: A Machine-designed Attention Condenser Network for Electroluminescence-based Photovoltaic Cell Defect Inspection}},
  booktitle = {CRV},
  year = {2022},
  url = {https://openreview.net/forum?id=42x5IYUsCA},
}
Figure