A hybrid method based on particle swarm optimization and machine learning algorithm for predicting droplet diameter in a microfluidic T-junction

  • F. ESLAMI ,
  • R. KAMALI
Expand
  • Department of Mechanical Engineering, Shiraz University, Shiraz 71936-16548, Iran
R. KAMALI, E-mail: rkamali@shirazu.ac.ir

Received date: 2025-08-04

  Revised date: 2025-10-15

  Online published: 2025-12-30

Copyright

© Shanghai University 2026

Abstract

Droplet-based microfluidics is a transformative technology with applications across diverse scientific and industrial domains. However, predicting the droplet size generated by individual microchannels before experiments or simulations remains a significant challenge. In this study, we focus on a double T-junction microfluidic geometry and employ a hybrid modeling approach that combines machine learning with metaheuristic optimization to address this issue. Specifically, particle swarm optimization (PSO) is used to optimize the hyperparameters of a decision tree (DT) model, and its performance is compared with that of a DT optimized through grid search (GS). The hybrid models are developed to estimate the droplet diameter based on four parameters: the main width, side width, thickness, and flow rate ratio. The dataset of more than 300 cases, generated by a three-dimensional numerical model of the double T-junction, is used for training and testing. Multiple evaluation metrics confirm the predictive accuracy of the models. The results demonstrate that the proposed DT-PSO model achieves higher accuracy, with a coefficient of determination of 0.902 on the test data, while simultaneously reducing prediction time. This methodology holds the potential to minimize design iterations and accelerate the integration of microfluidic technology into the biological sciences.

Cite this article

F. ESLAMI , R. KAMALI . A hybrid method based on particle swarm optimization and machine learning algorithm for predicting droplet diameter in a microfluidic T-junction[J]. Applied Mathematics and Mechanics, 2026 , 47(1) : 203 -214 . DOI: 10.1007/s10483-026-3334-9

References

[1] HAN, W. B., ZOU, H. Y., LIU, B., YUE, H. Y., LI, W., and ZHANG, H. P. A comprehensive review of concentration gradient generator and droplet generator in microfluidics. Chemical Engineering and Processing-Process Intensification, 217, 110455 (2025)
[2] XIE, Y. C., SATTARI, K., ZHANG, C., and LIN, J. Toward autonomous laboratories: convergence of artificial intelligence and experimental automation. Progress in Materials Science, 132, 101043 (2023)
[3] JU, X., CHEN, C., ORAL, C. M., SEVIM, S., GOLESTANIAN, R., SUN, M., BOUZARI, N., LIN, X., URSO, M., NAM, J. S., CHO, Y., PENG, X., LANDERS, F. C., YANG, S., ADIBI, A., TAZ, N., WITTKOWSKI, R., AHMED, D., WANG, W., MAGDANZ, V., MEDINA-SáNCHEZ, M., GUIX, M., BARI, N., BEHKAM, B., KAPRAL, R., HUANG, Y., TANG, J., WANG, B., MOROZOV, K., LESHANSKY, A., ABBASI, S. A., CHOI, H., GHOSH, S., FERNANDES, B. B., BATTAGLIA, G., FISCHER, P., GHOSH, A., SáNCHEZ, B. J., ESCARPA, A., MARTINET, Q., PALACCI, J., LAUGA, E., MORAN, J., RAMOS-DOCAMPO, M. A., ST?DLER, B., RESTREPO, R. S. H., YOSSIFON, G., NICHOLAS, J. D., IGNéS-MULLOL, J., PUIGMARTí-LUIS, J., LIU, Y., ZARZAR, L. D., SHIELDS, C. W., LI, L., LI, S., MA, X., GRACIAS, D. H., VELEV, O., SáNCHEZ, S., ESPLANDIU, M. J., SIMMCHEN, J., LOBOSCO, A., MISRA, S., WU, Z., LI, J., KUHN, A., NOURHANI, A., MARIC, T., XIONG, Z., AGHAKHANI, A., MEI, Y., TU, Y., PENG, F., DILLER, E., SAKAR, M. S., SEN, A., LAW, J., SUN, Y., PENA-FRANCESCH, A., VILLA, K., LI, H., FAN, D. E., LIANG, K., HUANG, T. J., CHEN, X., TANG, S., ZHANG, X., CUI, J., WANG, H., GAO, W., BANDARI, V. K., SCHMIDT, O. G., WU, X., GUAN, J., SITTI, M., NELSON, B. J., PANé, S., ZHANG, L., SHAHSAVAN, H., HE, Q., KIM, I., WANG, J., and PUMERA, M. Technology roadmap of micro/nanorobots. ACS Nano, 19, 24174–24334 (2025)
[4] ZARE HAROFTE, S., SOLTANI, M., SIAVASHY, S., and RAAHEMIFAR, K. Recent advances of utilizing artificial intelligence in lab-on-a-chip for diagnosis and treatment. Small, 18(42), 2203169 (2022)
[5] EGON, A. and GRACIAS, A. AI-driven decision support systems for healthcare diagnosis. https://doi.org/10.21203/rs.3.rs-5354081/v1 (2024)
[6] NAN, L., ZHANG, H. D., WEITZ, D. A., and SHUM, H. C. Development and future of droplet microfluidics. Lab on a Chip, 24(5), 1135–1153 (2024)
[7] LIU, H., NAN, L., CHEN, F., ZHAO, Y., and ZHAO, Y. X. Functions and applications of artificial intelligence in droplet microfluidics. Lab on a Chip, 23(11), 2497–2513 (2023)
[8] ALASAADI, D. N. and MAYOR, R. Mechanically guided cell fate determination in early development. Cellular and Molecular Life Sciences, 81(1), 242 (2024)
[9] SADATDIYNOV, K., CUI, L. Z., ZHANG, L., HUANG, J. Z., SALLOUM, S., and MAHMUD, M. S. A review of optimization methods for computation offloading in edge computing networks. Digital Communications and Networks, 9(2), 450–461 (2023)
[10] HASSAN, M. M., XU, Y., SAYADA, J., ZAREEF, M., SHOAIB, M., CHEN, X., LI, H., and CHEN, Q. Progress of machine learning-based biosensors for the monitoring of food safety: a review. Biosensors and Bioelectronics, 267, 116782 (2025)
[11] ZHOU, J. H., DONG, J. P., HOU, H. W., HUANG, L., and LI, J. H. High-throughput microfluidic systems accelerated by artificial intelligence for biomedical applications. Lab on a Chip, 24(5), 1307–1326 (2024)
[12] LASHKARIPOUR, A., RODRIGUEZ, C., MEHDIPOUR, N., MARDIAN, R., MCINTYRE, D., ORTIZ, L., CAMPBELL, J., and DENSMORE, D. Machine learning enables design automation of microfluidic flow-focusing droplet generation. Nature Communications, 12(1), 25 (2021)
[13] MORAGUES, T., ARGUIJO, D., BENEYTON, T., MODAVI, C., SIMUTIS, K., ABATE, A. R., BARET, J. C., DE MELLO, A. J., DENSMORE, D., and GRIFFITHS, A. D. Droplet-based microfluidics. Nature Reviews Methods Primers, 3(1), 32 (2023)
[14] WANG, J. W., AGHDA, N. H., JIANG, J. H., HABIB, A. M., OUYANG, D. F., and MANIRUZZAMAN, M. 3D bioprinted microparticles: optimizing loading efficiency using advanced DoE technique and machine learning modeling. International Journal of Pharmaceutics, 628, 122302 (2022)
[15] TANG, S. J., WANG, C. J., NIE, J. T., KUMAR, N., ZHANG, Y., XIONG, Z. H., and BARNAWI, A. EDL-COVID: ensemble deep learning for COVID-19 case detection from chest X-ray images. IEEE Transactions on Industrial Informatics, 17(9), 6539–6549 (2021)
[16] COSTA, V. G. and PEDREIRA, C. E. Recent advances in decision trees: an updated survey. Artificial Intelligence Review, 56(5), 4765–4800 (2023)
[17] BISCHL, B., BINDER, M., LANG, M., PIELOK, T., RICHTER, J., COORS, S., THOMAS, J., ULLMANN, T., BECKER, M., BOULESTEIX, A. L., DENG, D. F., and LINDAUER, M. Hyperparameter optimization: foundations, algorithms, best practices, and open challenges. Wiley Interdisciplinary Reviews-Data Mining and Knowledge Discovery, 13(2), e1484 (2023)
[18] AHMADI, F., SIMCHI, M., PERRY, J. M., FRENETTE, S., BENALI, H., SOUCY, J. P., MASSARWEH, G., and SHIH, S. C. C. Integrating machine learning and digital microfluidics for screening experimental conditions. Lab on a Chip, 23(1), 81–91 (2023)
[19] KIM, S., LEE, M. H., WIWASUKU, T., DAY, A. S., YOUNGME, S., HWANG, D. S., and YOON, J. Y. Human sensor-inspired supervised machine learning of smartphone-based paper microfluidic analysis for bacterial species classification. Biosensors and Bioelectronics, 188, 113335 (2021)
[20] GHAFARI, M., CLARK, J., GUO, H. B., YU, R. F., SUN, Y., DANG, W. W., and QIN, H. Complementary performances of convolutional and capsule neural networks on classifying microfluidic images of dividing yeast cells. PLoS One, 16(3), e0246988 (2021)
[21] ARUN SANKAR, E. M., SHAHAB, M., and RENGASWAMY, R. Spacing optimization for active droplet sorting in microfluidic networks using genetic algorithm. Industrial & Engineering Chemistry Research, 60(4), 1699–1708 (2021)
[22] WU, C., SUN, J. J., ALMUAALEMI, H. Y. M., SOHAN, A. S. M. M. F., and YIN, B. F. Structural optimization design of microfluidic chips based on fast sequence pair algorithm. Micromachines, 14(8), 1577 (2023)
[23] RANI, P., KUMAR, R., JAIN, A., LAMBA, R., SACHDEVA, R. K., KUMAR, K., and KUMAR, M. An extensive review of machine learning and deep learning techniques on heart disease classification and prediction. Archives of Computational Methods in Engineering, 31(6), 3331–3349 (2024)
[24] SHEELA, M. S. and ARUN, C. A. Hybrid PSO-SVM algorithm for Covid-19 screening and quantification. International Journal of Information Technology, 14(4), 2049–2056 (2022)
[25] ESLAMI, F. and KAMALI, R. Developing machine learning models with metaheuristic algorithms for droplet size prediction in a microfluidic microchannel. Swarm and Evolutionary Computation, 87, 101583 (2024)
[26] SHEN, F., ZHANG, Y. D., LI, C. Y., PANG, Y., and LIU, Z. M. Merged and alternating droplets generation in double T-junction microchannels using symmetrically inserted capillaries. Microfluidics and Nanofluidics, 28, 29 (2024)
[27] COSTA, V. G. and PEDREIRA, C. E. Recent advances in decision trees: an updated survey. Artificial Intelligence Review, 56(5), 4765–4800 (2023)
[28] PROCOPIO, A., CESARELLI, G., DONISI, L., MEROLA, A., AMATO, F., and COSENTINO, C. Combined mechanistic modeling and machine-learning approaches in systems?—?a biology systematic literature review. Computer Methods and Programs in Biomedicine, 240, 107681 (2023)
[29] ZHU, C. L., BAMIDELE, E. A., SHEN, X. Y., ZHU, G. M., and LI, B. W. Machine learning aided design and optimization of thermal metamaterials. Chemical Reviews, 124(7), 4258–4331 (2024)
[30] HOUSSEIN, E. H., HAMMAD, A., and ALI, A. A. Human emotion recognition from EEG-based brain-computer interface using machine learning: a comprehensive review. Neural Computing and Applications, 34(15), 12527–12557 (2022)
[31] CAO, Y. S., LIU, G., LUO, D. H., BAVIRISETTI, D. P., and XIAO, G. Multi-timescale photovoltaic power forecasting using an improved Stacking ensemble algorithm based LSTM-Informer model. Energy, 283, 128669 (2023)
[32] GAD, A. G. Particle swarm optimization algorithm and its applications: a systematic review. Archives of Computational Methods in Engineering, 29(5), 2531–2561 (2022)
[33] SURYA, H. P. N., PARAYIL, S., BANERJEE, U., CHANDER, S., and SEN, A. K. Alternating and merged droplets in a double T-junction microchannel. BioChip Journal, 9(1), 16–26 (2015)
Outlines

/

APS Journals | CSTAM Journals | AMS Journals | EMS Journals | ASME Journals