Skip to main content
Log in

Using Machine Learning Algorithms for Water Segmentation in Gas Diffusion Layers of Polymer Electrolyte Fuel Cells

  • Published:
Transport in Porous Media Aims and scope Submit manuscript

Abstract

X-ray computed tomography (CT) is increasingly used to characterize the morphology of water distribution in gas diffusion layers (GDLs) for polymer electrolyte fuel cell (PEFC) applications. The resulting images can provide access to critical performance data for GDLs, including internal water contact angle distributions, water saturation, water cluster size, and pore-size distributions. Given the propensity for unimodal grayscale pixel distributions in X-ray CT images, basic image processing techniques like thresholding, erosion, and dilation are often insufficient. To address this issue, we used machine learning algorithms to segment X-ray CT image stacks of GDLs, comparing the performance of basic image processing with decision tree learning (via Trainable WEKA Segmentation) and convolutional neural networks (CNNs) (via U-Net and MSDNet). The training methods and classification features for each algorithm were varied and evaluated against a GDL sample with a semi-bimodal pixel distribution (SGL 10BA) and a more difficult, unimodal sample (EP40T). The optimal combinations for each algorithm were then applied to segment a GDL sample with a microporous layer (MPL), an SGL 10BC, as MPL-containing GDLs are generally preferred in PEFCs. We found that decision tree learning, aside from being the easiest to use, exhibited the best performance for each of the four phases—pores, water, GDL, and MPL—based on F1 scores. Based on the wide collection of literature, properly trained CNNs should produce significantly better results. However, obtaining such results may require substantially more investment to determine the optimal algorithm for a particular scenario.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

Download references

Funding

The authors would like to acknowledge support from the National Science Foundation under CBET Award 1605159. The Advanced Light Source (ALS) is supported by the Director, Office of Science, Office of Basic Energy Sciences, of the U.S. Department of Energy under Contract No. DE-AC02-05CH11231. In addition to some of the images used in this work, the ALS directly supported the machine learning efforts as part of the ALS Doctoral Fellowships in Residence program. This research also used resources of the Advanced Photon Source, a U.S. Department of Energy (DOE) Office of Science User Facility operated for the DOE Office of Science by Argonne National Laboratory under Contract No. DE-AC02-06CH11357. Lastly, the authors acknowledge the assistance of Drs. Petrus Zwart and Eric Roberts for sharing and explaining their pyMSDtorch code.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Dilworth Y. Parkinson or Iryna V. Zenyuk.

Ethics declarations

Conflict of interest

The authors declared that they have no Conflicts of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary file1 (PDF 2757 kb)

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shum, A.D., Liu, C.P., Lim, W.H. et al. Using Machine Learning Algorithms for Water Segmentation in Gas Diffusion Layers of Polymer Electrolyte Fuel Cells. Transp Porous Med 144, 715–737 (2022). https://doi.org/10.1007/s11242-022-01833-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11242-022-01833-0

Keywords

Navigation