Quantification of caffeine in coffee cans using electrochemical measurements, machine learning, and boron-doped diamond electrodes

PLoS One. 2024 Mar 26;19(3):e0298331. doi: 10.1371/journal.pone.0298331. eCollection 2024.

Abstract

Electrochemical measurements, which exhibit high accuracy and sensitivity under low contamination, controlled electrolyte concentration, and pH conditions, have been used in determining various compounds. The electrochemical quantification capability decreases with an increase in the complexity of the measurement object. Therefore, solvent pretreatment and electrolyte addition are crucial in performing electrochemical measurements of specific compounds directly from beverages owing to the poor measurement quality caused by unspecified noise signals from foreign substances and unstable electrolyte concentrations. To prevent such signal disturbances from affecting quantitative analysis, spectral data of voltage-current values from electrochemical measurements must be used for principal component analysis (PCA). Moreover, this method enables highly accurate quantification even though numerical data alone are challenging to analyze. This study utilized boron-doped diamond (BDD) single-chip electrochemical detection to quantify caffeine content in commercial beverages without dilution. By applying PCA, we integrated electrochemical signals with known caffeine contents and subsequently utilized principal component regression to predict the caffeine content in unknown beverages. Consequently, we addressed existing research problems, such as the high quantification cost and the long measurement time required to obtain results after quantification. The average prediction accuracy was 93.8% compared to the actual content values. Electrochemical measurements are helpful in medical care and indirectly support our lives.

MeSH terms

  • Boron / chemistry
  • Caffeine* / analysis
  • Coffee*
  • Electrodes
  • Electrolytes
  • Machine Learning

Substances

  • Caffeine
  • Coffee
  • Boron
  • Electrolytes

Grants and funding

This work supported following financial disclosure: " the Adaptable and Seamless Technology transfer Program through Target-driven R&D (A-STEP) from Japan Science and Technology Agency Grant Number JPMJTR22R2. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.