Optimization of Dye and Plasticizer Concentrations in Halochromic Sensor Films for Rapid pH Response Using Bird-Inspired Metaheuristic Algorithms
간접 관련 필름·전자재료 · (11) 배리어 필름 (18) VENT(방수통기 부품)
기본 정보
- 저자
- DOI
- 10.3390/s25113494
- 저널
- Sensors
- 발행년도
- 2025
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s25113494
- 토픽
- Analytical Chemistry and Sensors
- OpenAlex ID
- W4410956223
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- (18) VENT(방수통기 부품)
- R&D 측면
- 소재 합성·설계
- 확신도
- 0.70
- 근거 용어
- halochromic sensor films, polyvinyl alcohol (PVA), polyethylene glycol (PEG), optimization, smart polymer film
- 판단 근거
- 본 논문은 pH 변화에 따라 색이 변하는 스마트 고분자 센서 필름의 조성(염료 및 가소제 농도)을 최적화하는 연구입니다. 직접적인 제품은 의료용이지만, 다층 코팅이나 기능성 필름 제조 공정 및 조성 최적화 원리는 코오롱인더스트리의 배리어/기능성 필름 R&D에 응용 가능합니다.
- R&D 활용 포인트
- 고분자 매트릭스 내 기능성 첨가제(염료, 가소제 등)의 최적 배합비를 도출하는 메타휴리스틱 알고리즘 및 분석 기법을 기능성 필름(배리어, 광학 필름) 개발에 활용할 수 있습니다.
- 평가 입력
- 본문 60,149자 중 30,032자 발췌
초록
본문 60,149자
본문 펼치기
섹션 본문 88문단 · 52,174자
(제목 없음)
1The pH level of a wound environment is a crucial biomarker for monitoring wound healing, particularly in chronic wounds, where alkalinity (pH > 7) is linked to bacterial colonization and infection.This study developed and optimized a halochromic sensor film composed of polyvinyl alcohol (PVA), polyethylene glycol (PEG), and bromothymol blue (BTB) to enable rapid and reliable pH-responsive color transitions.Feature selection using Principal Component Analysis (PCA) and the ReliefF algorithm identified Hue, Saturation, and a as key features influencing pH responsivity.Optimization of BTB (0.01-0.05%) and PEG (6-10%) concentrations was conducted using bird-inspired metaheuristic algorithms, including the Parrot Optimizer (PO), Pelican Optimization Algorithm (POA), and Secretary Bird Optimization Algorithm (SBOA).While final fitness values showed negligible variation (188.595647 for GP-PO, 188.595634 for GP-POA, and 188.595634 for GP-SBOA), GP-PO demonstrated superior convergence and stability, efficiently identifying the optimal formulation (0.02% BTB, 6% PEG).The optimized film achieved a complete color transition within 3-5 min, a 23.15% reduction compared to the non-optimized formulation.Statistical analysis revealed that BTB concentration significantly affected response time (p = 0.01), while PEG concentration had no significant effect (p > 0.05).These findings highlight the potential of halochromic films for real-time, non-invasive pH monitoring in chronic wounds.
Introduction
2During wound healing, wound-tissue pH typically becomes acidic, promoting tissue regeneration.However, in chronic wounds-those characterized by prolonged healingthe pH often remains alkaline (pH > 7) due to the presence of ammonia and wound exudate, which create conditions favorable for bacterial growth [1].The involvement of bacteria in wound pathology follows a progressive trajectory from initial contamination to colonization and, ultimately, to infection.Therefore, rising pH often serves as a sign of infections, which are considered a serious complication, as they can lead to patient mortality [2].Studies have also reported that the pH of diabetic foot ulcers can range from approximately 6 to 9, further emphasizing the variability of wound pH in chronic conditions.Given its strong correlation with wound healing status and infection risk, pH has emerged as a crucial biomarker for the real-time monitoring and management of chronic wounds [3].
3Traditional pH-measurement methods, such as glass ion-selective electrodes, are widely used for analyzing aqueous solutions.However, these conventional sensors are not suitable for monitoring wound pH due to their rigid structures and requirement for direct contact with liquid samples.Moreover, while recent developments in electronic pH sensors offer improved accuracy, the sensors often suffer from issues of invasiveness and contamination risks, making them less ideal for continuous wound assessment [4].To address these limitations, hydrogel-based chromic sensors that undergo visible color changes in response to pH variations have been proposed as a non-invasive and biocompatible alternative for wound monitoring [5].
4Chromic sensors are devices that undergo color changes in response to various stimuli.One notable advantage of these sensors is their versatility and ease of use, as they rely on simple visual color detection [6].A prominent application of chromic sensors lies in the biomedical field, where halochromic materials-substances that change color based on pH levels-are especially important.These materials have been employed to monitor wound conditions, offering significant benefits in clinical settings.By detecting pH variations, they provide valuable information that aids medical practitioners in determining the appropriate course of treatment [7].
5Natural dyes, such as anthocyanins, offer an environmentally friendly alternative; however, their practical application is hindered by several limitations.These dyes have low stability, making them highly sensitive to external conditions like moisture and illumination.Furthermore, natural dyes are characterized by low efficiency, with bioavailability typically below one percent [8].In contrast, synthetic dyes exhibit superior sensitivity and stability, making them more suitable for applications where reliability and performance are critical.Among synthetic dyes, bromothymol blue (BTB) is particularly suitable for monitoring of chronic wounds due to its pH-sensitivity range of 5.5 to 8, which closely matches the typical pH levels observed in chronic wounds [9].
6Response time plays a crucial role in developing halochromic materials for wound assessment, as swift and precise evaluation is especially important in managing chronic wounds.While it has been established that dye concentration significantly influences response time [10], the majority of previous studies have primarily focused on the optimization of color viability [11,12].In addition to dye concentration, the plasticizer plays a pivotal role in determining response time, as it influences key polymer properties, including moisture content and swelling capacity [13].Notably, a study by [14] demonstrated that plasticizer concentration substantially affects the color response time by modulating the arrangement of polymer backbone chains, thereby facilitating improved dye penetration and entrapment within the matrix.Therefore, optimizing these parameters is important to ensure rapid and reliable performance in wound-care applications.
7In polymer design, optimization becomes increasingly challenging, particularly in systems involving multiple components and highly nonlinear interactions.Traditional optimization approaches, such as probabilistic and analytical methods, encounter significant limitations, especially when the relationships among variables are highly complex.Moreover, these methods often suffer from slow convergence rates due to requirements for extended computational time.To address these challenges, classical heuristic approaches, such as Genetic Algorithms (GA) and Particle Swarm Optimization (PSO), have been widely used.GA employs crossover and mutation mechanisms to explore the solution space, but it often struggles with fine-tuning specific parameter ranges, leading to inefficient convergence in high-dimensional problems [15].Meanwhile, PSO is known for its rapid convergence, but it is susceptible to premature convergence and stagnation in highly nonlinear landscapes, making it less reliable in avoiding local optima [16].
8Bird-inspired metaheuristic algorithms, including Cuckoo Search (CS) Algorithm (CS), Eagle Strategy (ES), Parrot Optimizer (PO), Pelican Optimization Algorithm (POA), and Secretary Bird Optimization Algorithm (SBOA), balance exploration (global search) and exploitation (local refinement) to solve optimization problems efficiently.CSA, inspired by brood parasitism, uses Lévy flights for extensive exploration but converges slowly [17].Similarly, ES mimics eagle hunting, alternating between broad search and focused exploitation and requiring careful tuning for balance [18].In contrast, PO, POA, and SBOA prioritize adaptive learning, precision, and aggressive search, making them more effective for dynamic and constraint-heavy problems.PO applies memory-based adaptation for evolving solutions [19]; POA ensures targeted and fast convergence by adjusting its strategy [20]; and SBOA employs aggressive yet flexible movements to refine solutions quickly [21].While CSA and ES excel in broad search spaces, PO, POA, and SBOA are better suited for fast, adaptive, and precise optimization, making them ideal for real-time or fine-tuned applications.
9A key strength of PO, POA, and SBOA lies in their ability to explore multiple solutions simultaneously, which reduces the risk of premature convergence and helps avoid local optima.These algorithms also maintain diversity in the solution space, ensuring robust performance across various optimization landscapes.Furthermore, the nature-based inspiration of their origin makes them intuitive to understand and implement, with these algorithms often requiring minimal parameter tuning.Although these algorithms have not yet been applied to optimize the chemical composition of polymers, they have been effectively utilized to determine optimal parameter values in photovoltaic models [22,23].Given the inherently non-linear nature of photovoltaic models, this indicates that these algorithms hold significant potential for optimizing the chemical concentrations of polymers to achieve desired characteristics.
10The goal and major contributions of this study include the following: (1) utilization of Principal Component Analysis (PCA) and the ReliefF algorithm for feature selection to identify key color channels influencing pH responsivity; (2) application of bird-inspired metaheuristic algorithms to optimize dye and plasticizer concentrations, enabling the development of halochromic sensor films with rapid pH response; (3) comprehensive evaluation of pH responsivity, demonstrating the efficacy of the films for continuous and real-time monitoring of chronic wound environments; and (4) contribution to the development of halochromic sensor films by bridging advanced optimization techniques and polymer science for applications in chronic wound care.
Materials
11Polyvinyl alcohol (PVA) with a viscosity of 50-60 mPa•s and a degree of hydrolysis of 97-99%, along with polyethylene glycol (PEG) 6000, were sourced from Xilong Scientific (Guangzhou, China).Bromothymol blue (BTB) was procured from Sinopharm Chemical Reagent (Beijing, China), while glutaraldehyde (50 wt.% in H 2 O) was obtained from Sigma-Aldrich (St. Louis, MI, USA).Potassium dihydrogen phosphate was supplied by HiMedia Laboratories Pvt. Ltd. (Mumbai, India), and sodium tetraborate was acquired from Dalkem Corporation (Quezon City, Philippines).
Synthesis of PVA−PEG−BTB Halochromic Film
12Figure 1 shows the process of the fabrication of the PVA−PEG−BTB film, which was based on a previously established protocol with minor modifications [24].To prepare a 10% (w/v) PVA solution, PVA was dissolved in distilled water under a controlled temperature range of 70-90 • C. PEG solutions at varying concentrations (6%, 8%, and 10% w/v) were introduced into the mixture, and this step was followed by the addition of BTB solutions at different concentrations (1%, 3%, and 5% w/v).Finally, a fixed amount of glutaraldehyde was added to initiate crosslinking and the mixture was stirred continuously for an additional 30 min to ensure uniform crosslinking.The resulting solutions were processed using the drop-casting method and dried at 60 • C for 4 h in a Shel Lab 1600 convection oven.
13Sensors 2025, 25, x FOR PEER REVIEW 4
14Figure 1 shows the process of the fabrication of the PVA−PEG−BTB film, whic based on a previously established protocol with minor modifications [24].To prep 10% (w/v) PVA solution, PVA was dissolved in distilled water under a controlled tem ature range of 70-90 °C.PEG solutions at varying concentrations (6%, 8%, and 10% were introduced into the mixture, and this step was followed by the addition of BT lutions at different concentrations (1%, 3%, and 5% w/v).Finally, a fixed amount of g aldehyde was added to initiate crosslinking and the mixture was stirred continuous an additional 30 min to ensure uniform crosslinking.The resulting solutions were cessed using the drop-casting method and dried at 60 °C for 4 h in a Shel Lab 1600 vection oven.A total of nine different sample combinations were formulated, representing th ious pairings of PEG and BTB concentrations.For each combination, 20 sample films fabricated, resulting in a total of 180 samples.The corresponding sample codes and centration details are presented in Table 1.Additionally, Figure 2 presents the d sional representation of the film, while Table 2 provides the specific measuremen each dimension.A total of nine different sample combinations were formulated, representing the various pairings of PEG and BTB concentrations.For each combination, 20 sample films were fabricated, resulting in a total of 180 samples.The corresponding sample codes and concentration details are presented in Table 1.Additionally, Figure 2 presents the dimensional representation of the film, while Table 2 provides the specific measurements for each dimension.
Data Collection
15Before data collection, buffer solutions with pH values ranging from 6 to 10 were prepared in one-unit increments to reflect the typical pH range of chronic wounds [3].Phosphate buffers were used for pH 6 to 8, while borate buffers were utilized for pH 9 and 10.A gauze sample was immersed in each buffer solution within a Petri dish and left for 12 h before the halochromic film was tested.This step aligns with clinical recommendations for diabetic wound management, which emphasize that wound assessments should be conducted once or twice a day to monitor changes in size, depth, exudate levels, and potential signs of infection [25].
16Following the incubation period, the film was placed inside a custom-designed datacollection platform consisting of a 3D-printed stand, a webcam, and an LED light strip enclosed within a black-colored box.The structural layout of this setup is illustrated in Figure 3.The LED strip was positioned along the sidewalls of the enclosure to minimize shadow formation and ensure uniform illumination.Image acquisition was conducted using MATLAB R2024b, which was programmed to capture video and extract one frame per second over a 10 min period.The recorded images were saved in a designated folder for further analysis.
17Before data collection, buffer solutions with pH values ranging from 6 to 10 were prepared in one-unit increments to reflect the typical pH range of chronic wounds [3].Phosphate buffers were used for pH 6 to 8, while borate buffers were utilized for pH 9 and 10.A gauze sample was immersed in each buffer solution within a Petri dish and left for 12 h before the halochromic film was tested.This step aligns with clinical recommendations for diabetic wound management, which emphasize that wound assessments should be conducted once or twice a day to monitor changes in size, depth, exudate levels, and potential signs of infection [25].
18Following the incubation period, the film was placed inside a custom-designed datacollection platform consisting of a 3D-printed stand, a webcam, and an LED light strip enclosed within a black-colored box.The structural layout of this setup is illustrated in Figure 3.The LED strip was positioned along the sidewalls of the enclosure to minimize shadow formation and ensure uniform illumination.Image acquisition was conducted using MATLAB R2024b, which was programmed to capture video and extract one frame per second over a 10 min period.The recorded images were saved in a designated folder for further analysis.
Data Preparation Through Image Segmentation and Feature Selection via Principal Component Analysis (PCA) and the ReliefF Algorithm
19To improve the dataset's accuracy and dependability, graph-cut image segmentation was performed on the gathered raw images before feature selection.This method was chosen due to its ability to achieve optimal segmentation across the entire image, ensuring robust numerical performance, fast processing speed, and adaptable partitioning of weighted graphs.Graph-cut segmentation is widely utilized as an interactive segmentation algorithm; it allows precise object identification within an image by utilizing predefined foreground and background seed points.
20Figure 4 illustrates the segmentation process employed in this study, which involved multiple steps to ensure precise separation of the halochromic film from its background.First, the raw RGB images are shown in Figure 4a.These were converted to the Lab color space in Figure 4b to decouple luminance (L) from chromaticity (a and b), enhancing segmentation accuracy.To guide the segmentation process, preselected foreground and background pixel indices were used as seed points.To reduce computational complexity while preserving structural information, the image was divided into 10,468 superpixels, grouping similar pixels together.The Lab values were normalized to a [0, 1] range to ensure consistency across images before segmentation.Next, MATLAB's lazy snapping function was applied, as shown in Figure 4c, where an interactive graph-based approach was used to mark the foreground and background regions.This process allowed for refined objectboundary selection, ensuring accurate separation of the film from its surroundings.The refined segmentation result is depicted in Figure 4d.The final step involved generating a binary segmentation mask, where pixel values of 1 represented the segmented film and 0 represented the background, as shown in Figure 4e.Finally, the segmented image was reconstructed while preserving its original colors, rather than reducing it to a black-andwhite representation, as presented in Figure 4f.
21To improve the dataset's accuracy and dependability, graph-cut image segmentation was performed on the gathered raw images before feature selection.This method was chosen due to its ability to achieve optimal segmentation across the entire image, ensuring robust numerical performance, fast processing speed, and adaptable partitioning of weighted graphs.Graph-cut segmentation is widely utilized as an interactive segmentation algorithm; it allows precise object identification within an image by utilizing predefined foreground and background seed points.
22Figure 4 illustrates the segmentation process employed in this study, which involved multiple steps to ensure precise separation of the halochromic film from its background.First, the raw RGB images are shown in Figure 4a.These were converted to the Lab color space in Figure 4b to decouple luminance (L) from chromaticity (a and b), enhancing segmentation accuracy.To guide the segmentation process, preselected foreground and background pixel indices were used as seed points.To reduce computational complexity while preserving structural information, the image was divided into 10,468 superpixels, grouping similar pixels together.The Lab values were normalized to a [0, 1] range to ensure consistency across images before segmentation.Next, MATLAB's lazy snapping function was applied, as shown in Figure 4c, where an interactive graph-based approach was used to mark the foreground and background regions.This process allowed for refined object-boundary selection, ensuring accurate separation of the film from its surroundings.The refined segmentation result is depicted in Figure 4d.The final step involved generating a binary segmentation mask, where pixel values of 1 represented the segmented film and 0 represented the background, as shown in Figure 4e.Finally, the segmented image was reconstructed while preserving its original colors, rather than reducing it to a black-andwhite representation, as presented in Figure 4f.
23From the segmented images, color values were extracted and recorded from four different color spaces-RGB, Lab, HSV, and YCbCr.These values were compiled into a cascaded dataset for feature selection.To refine the feature set, Principal Component Analysis (PCA) was conducted using Minitab software Version 22.2.0 and used to determine the number of significant features based on their contributions to variance.Subsequently, the ReliefF algorithm was utilized to assess the significance of each feature index, allocating priority weights to the most relevant features.refined segmentation result is depicted in Figure 4d.The final step involved generating a binary segmentation mask, where pixel values of 1 represented the segmented film and 0 represented the background, as shown in Figure 4e.Finally, the segmented image was reconstructed while preserving its original colors, rather than reducing it to a black-andwhite representation, as presented in Figure 4f.
Quantitative Assessment of Color-Transition Dynamics
24The data-analysis process involved reading and preprocessing time-series color data, then detecting stabilization points based on the rate of change in color parameters.The dataset contained extracted values of selected features recorded at each time point.The dataset was imported using MATLAB, ensuring that the correct variables were referenced.The relevant parameters were extracted and converted into numeric format to facilitate further computations.Any missing values were identified, and rows containing such values were removed to ensure data integrity.This process aimed to determine the time at which the color transition was completed, and this time was subsequently saved as an output variable for further analysis.
25To evaluate how color parameters changed over time, the numerical gradient of each variable was calculated using the gradient function.A stabilization threshold was established wherein a slope magnitude below 0.001 was considered indicative of steady-state behavior.Furthermore, a consecutive frame criterion of 50 was applied to confirm stabilization, ensuring that transient fluctuations did not falsely indicate steady-state conditions.The stabilization points were identified using a moving-average function applied to the absolute gradient values, allowing for the detection of time frames wherein the color parameters exhibited minimal change.The detected stabilization time was recorded and stored as an output variable to be used in subsequent modeling or optimization processes.
26Following the detection of stabilization points, results were analyzed and reported.If stabilization was observed, the corresponding frame number was recorded; otherwise, a notification was generated indicating the absence of stabilization within the observation period.For visual assessment of color-stabilization trends, extracted color values were plotted against time.Stabilization points were highlighted in the plots to provide a clear representation of when each parameter reached steady-state conditions.
Optimization and Evaluation Process
27In this section, a dataset containing 180 entries with PEG concentration and BTB concentration as input variables and pH response time as the output variable was used to generate an objective function through genetic programming (GP).Genetic programming is an evolutionary algorithm inspired by natural selection, where mathematical expressions or computer programs evolve iteratively to optimize a given objective function.In this study, the objective was to minimize the pH response time, ensuring a faster color-change completion for improved sensor performance.The derived objective function that captures this relationship is presented in Equation (1).By employing genetic operators like crossover, selection, and mutation, GP continuously refined candidate solutions, evolving mathematical expressions that best captured the relationship between PEG and BTB concentrations and their influence on response time.Through this process, an optimal or near-optimal predictive expression was identified to achieve rapid color change in the halochromic sensor film.
28pH response time = f {PEG and BTB concentrations}
29To accomplish this, specific hyperparameter settings were selected to maintain a balance between exploration and exploitation throughout the evolutionary process, as presented in Table 2.A population size of 100 was maintained across a maximum of 50 generations, ensuring a sufficient search space while preventing excessive computational cost.Tournament selection with a size of 10 was used to determine which individuals advanced in the evolutionary process, while an elite fraction of 0.1 preserved the topperforming individuals for the next generation.Additionally, a Pareto-based selection strategy was incorporated with a probability of 0.1 to maintain diversity in the evolved expressions.Structural constraints were imposed by limiting the maximum number of genes to 20 and the maximum tree depth to 10, preventing excessive model complexity.The evolutionary process was further guided by a crossover probability of 0.84, allowing offspring to inherit characteristics from parent solutions, while a mutation probability of 0.14 introduced variations to enhance exploration.These hyperparameters were carefully selected to enable genetic programming to efficiently evolve expressions that accurately predict pH response time based on PEG and BTB concentrations.
30Next, the generated fitness function was utilized in three distinct bird-inspired metaheuristic optimization algorithms: the Parrot Optimizer (PO), the Pelican Optimization Algorithm (POA), and the Secretary Bird Optimization Algorithm (SBOA).The performance of each algorithm was evaluated by analyzing their convergence graphs, and the most effective algorithm was selected based on its optimization efficiency.Using the optimal PEG-and BTB-concentration values obtained from the best-performing algorithm, a new set of PVA−PEG−BTB films was fabricated and subjected to experimental validation to verify the optimization results.This methodological approach, integrating genetic programming with metaheuristic optimization, is systematically outlined in Supplementary Material S1.
31Sensors 2025, 25, 3494 9 of 20
Statistical Analysis Using ANOVA
32To evaluate the effects of PEG and BTB concentrations on the pH response time of the halochromic film, a statistical analysis was conducted using a two-factor analysis of variance (ANOVA) in Microsoft Excel.ANOVA was selected to determine whether variations in PEG and BTB concentrations significantly influenced the response time and to assess any potential interaction effects between these factors.The analysis was performed with replication, as multiple pH response-time measurements were recorded for each experimental condition.A significance level (α) of 0.05 was used to assess the statistical significance of the observed differences.If the p-value for a factor was below this threshold, it indicated a significant influence on the response time.The results of this analysis provided statistical validation of the influence of PEG and BTB concentrations on the film's performance.
Insight from Feature Selection
33Principal Component Analysis (PCA) is a commonly used technique for reducing data complexity by transforming correlated variables into a set of uncorrelated components.This transformation aids in simplifying data structure, improving computational efficiency, and reducing noise while retaining most of the raw dataset's variance.PCA is particularly advantageous in high-dimensional datasets, where redundant information may obscure key patterns and relationships [26].
34The scree plot presented in Figure 5a illustrates the eigenvalues corresponding to each principal component, providing insight into the significance of each component in explaining the variance of the dataset.The eigenvalues gradually decline, demonstrating that the initial principal components account for most of the variance, while the later components contribute only marginal additional information.A widely used approach for selecting the number of principal components to retain is the Kaiser criterion, which recommends keeping components with eigenvalues greater than 1.In the corresponding scree plot, the first three principal components exceed this threshold, indicating that they capture a significant proportion of the total variance.The results highlight that the Hue (H), Saturation (S), and a channels exhibited the highest feature weights, indicating their strong discriminatory power in distinguishing different pH levels of the halochromic film.The dominance of H and S from the HSV color space suggests that the colorimetric shifts of the film are primarily dependent on hue variations and saturation intensity, aligning with the nature of the behavior of pH-sensitive dye.The findings from PCA and ReliefF are complementary in identifying the most relevant features for pH-based colorimetric sensing.PCA indicates that PC1 is mainly influenced by R, G, L, and Y, suggesting that overall color intensity and luminance variations drive the primary response to pH changes.Meanwhile, ReliefF assigns the highest weights to Hue (H), Saturation (S), and the a-channel, confirming that chromatic variations play a key role in distinguishing different pH levels.The agreement between PCA and ReliefF highlights the importance of colorimetric features over luminance-based properties in capturing pH-induced transitions in the sensor film.
35The Hue channel, in particular, serves as a robust descriptor of color transformations, as it remains invariant to illumination intensity, making it ideal for consistent monitoring of color changes.The Saturation component complements the Hue channel by capturing the purity of the color shift, which is especially useful in distinguishing different pH-induced chromatic transitions.Since pH-sensitive dyes often exhibit desaturation at intermediate states, the S channel provides essential information regarding the film's transition phase.Furthermore, the a channel from the CIELAB color space ranked among the top three features, reinforcing its relevance in describing red−green chromaticity variations.The first principal component has the largest eigenvalue, signifying that it accounts for the greatest variance within the dataset.The sharp decrease in eigenvalues between the first and second components reflects a substantial drop in the amount of variance explained beyond the initial component.From the fourth component onward, the eigenvalues plateau, suggesting that these components contribute negligible additional information and may represent noise rather than meaningful variance.Based on the analysis of the scree plot, selecting three principal components is an optimal strategy for reducing dimensionality while preserving essential information.This reduction enhances computational efficiency without substantial loss of variance, making the following analyses more interpretable.
36The eigenvector loadings for the first three principal components are summarized in Table 3.The results show that PC1 is primarily influenced by Red (R), Green (G), Lightness (L), and Luminance (Y), indicating that brightness and overall color intensity are key contributors to the dominant variance in pH-induced color changes.Meanwhile, PC2 is strongly associated with Blue (B) and Value (V), suggesting that these features play a crucial role in differentiating pH-induced chromatic variations.PC3 is predominantly affected by the a-channel, reinforcing the importance of red−green chromaticity in pH sensitivity.To complement the principal component analysis (PCA), the ReliefF algorithm was employed to evaluate the relative significance of individual features within the dataset.ReliefF is a feature-selection technique that attributes weights to features according to their effectiveness in differentiating instances across distinct classes.Unlike filter-based approaches, which evaluate each feature in isolation, ReliefF accounts for the interdependencies among attributes and their role in distinguishing local instances [27].The feature-importance plot in Figure 5b presents the weight assigned to each feature by the ReliefF algorithm.Higher weights indicate stronger relevance to the classification task, whereas lower weights suggest reduced significance.
37The results highlight that the Hue (H), Saturation (S), and a channels exhibited the highest feature weights, indicating their strong discriminatory power in distinguishing different pH levels of the halochromic film.The dominance of H and S from the HSV color space suggests that the colorimetric shifts of the film are primarily dependent on hue variations and saturation intensity, aligning with the nature of the behavior of pH-sensitive dye.The findings from PCA and ReliefF are complementary in identifying the most relevant features for pH-based colorimetric sensing.PCA indicates that PC1 is mainly influenced by R, G, L, and Y, suggesting that overall color intensity and luminance variations drive the primary response to pH changes.Meanwhile, ReliefF assigns the highest weights to Hue (H), Saturation (S), and the a-channel, confirming that chromatic variations play a key role in distinguishing different pH levels.The agreement between PCA and ReliefF highlights the importance of colorimetric features over luminance-based properties in capturing pH-induced transitions in the sensor film.
38The Hue channel, in particular, serves as a robust descriptor of color transformations, as it remains invariant to illumination intensity, making it ideal for consistent monitoring of color changes.The Saturation component complements the Hue channel by capturing the purity of the color shift, which is especially useful in distinguishing different pH-induced chromatic transitions.Since pH-sensitive dyes often exhibit desaturation at intermediate states, the S channel provides essential information regarding the film's transition phase.Furthermore, the a channel from the CIELAB color space ranked among the top three features, reinforcing its relevance in describing red−green chromaticity variations.
Analysis of pH Response
39Figure 6 presents the stabilization curves of the randomly selected halochromic film, capturing the temporal evolution of Hue, Saturation, and a values over the course of 600 s frames.These curves illustrate the dynamic response of the film to pH changes, allowing for the assessment of the most effective color metric for detecting the transition.
40Figure 6 presents the stabilization curves of the randomly selected halochromic film, capturing the temporal evolution of Hue, Saturation, and a values over the course of 600 s frames.These curves illustrate the dynamic response of the film to pH changes, allowing for the assessment of the most effective color metric for detecting the transition.
41Among the color parameters analyzed, Hue demonstrated the most distinct and reliable transition, exhibiting a clear sigmoidal trend with an initial increase before reaching stabilization.This pattern indicates that the Hue parameter is particularly sensitive to the film's pH-induced color change, making it the most suitable feature for quantifying the transition.Notably, a distinct stabilization phase can be observed beyond approximately 300 frames, where the Hue curve flattens, marking the point at which the film reaches equilibrium.The latter portion of the curve, highlighted in red, signifies this stabilization phase, emphasizing the completion of the chromic response.
42Similarly, the Saturation curve shows a gradual increase before reaching a plateau, though with more fluctuations compared to Hue.This suggests that while saturation changes are correlated with the chromic transition, they may be less robust in precisely determining the transition endpoint.The a parameter, derived from the CIELAB color space, exhibits a less pronounced trend, with an initial decrease followed by gradual stabilization.However, its response is less distinct compared to that observed in Hue, reinforcing the notion that Hue serves as the most effective parameter for transition detection.
43Importantly, this stabilization behavior was consistently observed across all tested samples, indicating reproducibility of the chromic response and the reliability of Hue as a primary feature for monitoring the film's pH sensitivity.Among the color parameters analyzed, Hue demonstrated the most distinct and reliable transition, exhibiting a clear sigmoidal trend with an initial increase before reaching stabilization.This pattern indicates that the Hue parameter is particularly sensitive to the film's pH-induced color change, making it the most suitable feature for quantifying the transition.Notably, a distinct stabilization phase can be observed beyond approximately 300 frames, where the Hue curve flattens, marking the point at which the film reaches equilibrium.The latter portion of the curve, highlighted in red, signifies this stabilization phase, emphasizing the completion of the chromic response.
44Similarly, the Saturation curve shows a gradual increase before reaching a plateau, though with more fluctuations compared to Hue.This suggests that while saturation changes are correlated with the chromic transition, they may be less robust in precisely determining the transition endpoint.The a parameter, derived from the CIELAB color space, exhibits a less pronounced trend, with an initial decrease followed by gradual stabilization.
45However, its response is less distinct compared to that observed in Hue, reinforcing the notion that Hue serves as the most effective parameter for transition detection.
46Importantly, this stabilization behavior was consistently observed across all tested samples, indicating reproducibility of the chromic response and the reliability of Hue as a primary feature for monitoring the film's pH sensitivity.
47Figure 7 illustrates the distribution of complete color-transition times across various sample formulations under different pH conditions.A total of 180 samples were recorded, with 20 samples per formulation (4 per pH level across 5 pH levels) across 9 formulations.A notable trend is observed where transition time is shortest at pH 6, increases at pH 7, and then decreases again at pH 8, remaining relatively longer at pH 9 and pH 10.This pattern is consistent across all sample formulations.and causing the system to require more time to stabilize.
48Among the alkaline conditions (pH 8, 9, and 10), the fastest transition is observed at pH 8.This can be explained by the optimal balance between deprotonation kinetics and dye diffusion.At pH 8, BTB transitions efficiently toward its blue form, while the polymer network remains in a hydration state that supports rapid ion exchange.As pH increases further (pH 9 and 10), the transition time slightly increases, possibly due to reduced availability of hydrogen ions and slower dye stabilization in highly alkaline conditions.The polymer environment may also contribute by altering the rate of water-mediated diffusion, which is a key factor in the chromic response.
49Additionally, no distinct trend or systematic effect was observed for different concentrations of PEG and BTB, suggesting a non-linear or complex relationship between these parameters and the film's response time.This indicates that while PEG and BTB concentrations influence the chromic behavior, their interaction with the polymer matrix and pH-dependent-diffusion processes do not follow a straightforward pattern.As a result, conventional parametric optimization approaches may be insufficient and metaheuristic algorithms may be more effective in identifying optimal formulations by navigating complex, multidimensional solution spaces.The rapid transition at pH 6 can be attributed to the protonation of BTB, which shifts the dye toward its acidic form (yellow) relatively quickly.However, the increase in transition time at pH 7 suggests a buffering effect, with the system undergoing a more gradual shift between protonated and deprotonated states, leading to a slower color change.pH 7 is particularly complex compared to other pH levels, as it represents the point where proton and hydroxide ion concentrations are equal, making equilibrium shifts more gradual and causing the system to require more time to stabilize.
50Among the alkaline conditions (pH 8, 9, and 10), the fastest transition is observed at pH 8.This can be explained by the optimal balance between deprotonation kinetics and dye diffusion.At pH 8, BTB transitions efficiently toward its blue form, while the polymer network remains in a hydration state that supports rapid ion exchange.As pH increases further (pH 9 and 10), the transition time slightly increases, possibly due to reduced availability of hydrogen ions and slower dye stabilization in highly alkaline conditions.The polymer environment may also contribute by altering the rate of water-mediated diffusion, which is a key factor in the chromic response.
51Additionally, no distinct trend or systematic effect was observed for different concentrations of PEG and BTB, suggesting a non-linear or complex relationship between these parameters and the film's response time.This indicates that while PEG and BTB Sensors 2025, 25, 3494 13 of 20 concentrations influence the chromic behavior, their interaction with the polymer matrix and pH-dependent-diffusion processes do not follow a straightforward pattern.As a result, conventional parametric optimization approaches may be insufficient and metaheuristic algorithms may be more effective in identifying optimal formulations by navigating complex, multidimensional solution spaces.
Optimization Outcomes
52The derived fitness function for color-completion time (pH response time), represented in Equation ( 2), captures the nonlinear dependencies between PEG (x 1 ) and BTB (x 2 ) concentrations and their influences on the response time.The presence of logarithmic and quadratic terms, particularly 1300log(x 1 ) and 96.6x 1 2 x 2 , suggests that at higher concentrations, PEG's influence becomes more complex, potentially stabilizing or slightly increasing response time.BTB concentration plays a role in modulating the response time through multiple nonlinear terms.The positive coefficient of the linear term indicates a direct increase in response time as BTB concentration rises.This observation aligns with the tendency of higher BTB levels to promote dye aggregation, which can hinder the diffusion of ions responsible for the color change.However, the function also includes complex logarithmic and quadratic dependencies, such as −668log(x 2 ) and 4x 1 x 2 2 , indicating a potential threshold beyond which further increases in BTB concentration may counteract diffusion limitations and accelerate color change.
53To minimize response time, an optimal balance between PEG and BTB concentrations must be achieved.The fitness function suggests that excessive BTB concentrations may slow down the response due to aggregation, whereas low or moderate PEG levels contribute to faster diffusion.The presence of logarithmic terms further suggests that there is a diminishing-returns effect at very high concentrations.
54The optimization results, summarized in Table 4, consistently identify an optimal PEG concentration of 6% and an optimal BTB concentration of approximately 0.02%, reinforcing the reliability of the optimization framework for determining ideal formulation parameters for enhanced sensor responsiveness.While the final fitness values show negligible variation-188.595647 for GP-PO, 188.595634 for GP-POA, and 188.595634 for GP-SBOA-the faster convergence and stability of GP-PO make it the most computationally efficient approach.Figure 8a presents the convergence curves of the three optimization algorithms-GP-PO, GP-POA, and GP-SBOA-applied to minimize the color-transition time of the halochromic sensor film.All three exhibit a rapid initial decrease in the value of the fitness function, indicating efficient early-stage convergence.Among them, GP-PO stabilizes the A key aspect of this study involves the experimental evaluation of the optimized formulation (P6B02(Optimized)), highlighted in yellow in Figure 8b.The optimized film exhibits a significant reduction in transition time compared to its non-optimized counterparts.This improvement is evident across all pH levels, where the transition times are more tightly clustered and shifted toward lower values.A comparison of the average complete color-transition time between the unoptimized and optimized formulations revealed that the optimized film achieved a 23.15% faster transition.The minimization of transition time suggests enhanced film permeability and dye reactivity, which align with the primary objectives of the optimization process.The observed improvements confirm the efficacy of the employed metaheuristic optimization approach in fine-tuning dye and plasticizer concentrations to achieve rapid pH response.The reduction in transition time is especially beneficial for real-time wound-monitoring applications, where faster pH-sensitive feedback is critical for timely clinical intervention.The consistent performance across varying pH conditions further supports the robustness of the optimized formulation.
55When all plots are graphed together, as shown in Figure 9a, the hue values at pH 6 appear unchanged.However, when they are plotted separately in Figure 9b, subtle fluctuations in hue can be observed before stabilization at approximately 200 s.This suggests that while the color change at pH 6 may not be visually perceptible to the human eye, a stabilization point still exists, and this point can be detected through computer vision.Additionally, the final color states at different pH levels are distinguishable: yellow at pH 6, green at pH 7, and blue at pH 8 to 10.
56When all plots are graphed together, as shown in Figure 9a, the hue values at pH 6 appear unchanged.However, when they are plotted separately in Figure 9b, subtle fluctuations in hue can be observed before stabilization at approximately 200 s.This suggests that while the color change at pH 6 may not be visually perceptible to the human eye, a stabilization point still exists, and this point can be detected through computer vision.Additionally, the final color states at different pH levels are distinguishable: yellow at pH 6, green at pH 7, and blue at pH 8 to 10.
57As shown in Figure 9c-e, a similar color-transition pattern is observed for pH 7 to 9, where the halochromic film undergoes a rapid color change between approximately 90 and 240 s before it stabilizes, indicating the completion of the transformation.In Figure 9f, which illustrates the transition at pH 10, the film initially appears green and then gradually shifts to blue over the first half of the duration.
58While the final hue values for pH 8 to 10 appear similar (blue), a measurable disparity exists: the extracted hue value is highest at pH 10, with lower values at pH 9 and then pH 8.This suggests that despite their visual similarity, these hue variations can serve as quantitative indicators for precise determination of pH.These findings highlight the film's rapid and efficient response to alkaline environments, reinforcing its suitability for detecting pH variations in wounds, where increased alkalinity is associated with infection risk.Table 5 presents a comparative analysis of the halochromic films from this study and previous works.While all halochromic films exhibited an initial color change within one minute of exposure to pH variations, the total time required for full color transition varied significantly across different compositions.As shown in Figure 9c-e, a similar color-transition pattern is observed for pH 7 to 9, where the halochromic film undergoes a rapid color change between approximately 90 and 240 s before it stabilizes, indicating the completion of the transformation.In Figure 9f, which illustrates the transition at pH 10, the film initially appears green and then gradually shifts to blue over the first half of the duration.
59While the final hue values for pH 8 to 10 appear similar (blue), a measurable disparity exists: the extracted hue value is highest at pH 10, with lower values at pH 9 and then pH 8.This suggests that despite their visual similarity, these hue variations can serve as quantitative indicators for precise determination of pH.These findings highlight the film's rapid and efficient response to alkaline environments, reinforcing its suitability for detecting pH variations in wounds, where increased alkalinity is associated with infection risk.
60Table 5 presents a comparative analysis of the halochromic films from this study and previous works.While all halochromic films exhibited an initial color change within one minute of exposure to pH variations, the total time required for full color transition varied significantly across different compositions.The halochromic films based on polylactic acid (PLA) and polyethylene glycol (PEG) that incorporated bromocresol purple and thymolphthalein as dyes exhibited times to complete color transition of 7-10 min and over 20 min, respectively.In contrast, the halochromic film developed in this study, which was composed of polyvinyl alcohol (PVA) and PEG with bromothymol blue as the pH-sensitive dye, demonstrated a significantly faster time to complete color transition of 3-5 min.The improved responsiveness of this formulation may be attributed to the hydrophilic nature of PVA, which facilitates ion diffusion, and the specific interaction of bromothymol blue with the polymer network.
61This indicates that the choice of polymer matrix and dye significantly affects the response time of halochromic films.The optimization of polymer composition and dye concentration in this study significantly improved the responsiveness, resulting in a faster complete color transition.
Statistical Analysis
62A two-factor analysis of variance (ANOVA) was conducted to assess the effects of polyethylene glycol (PEG) concentration and bromothymol blue (BTB) concentration on the response of the halochromic sensor film.The findings from the statistical analysis are presented in Table 6.
Figure 1 .
63Figure 1.Fabrication process for halochromic sensor film employed in this study.
64Figure 1.Fabrication process for halochromic sensor film employed in this study.
Figure 2 .
65Figure 2. Dimensional view of the halochromic film: (a) length, (b) width, and (c) thickness.
66Figure 2. Dimensional view of the halochromic film: (a) length, (b) width, and (c) thickness.
Figure 3 .
67Figure 3. Set-up for data collection.
68Figure 3. Set-up for data collection.
Figure 4 .
69Figure 4. Graph-cut based image-segmentation process: (a) raw image, (b) converted Lab image, (c) image after lazy snapping, (d) selected region of interest (ROI) based on lazy snapping, (e) binary segmentation mask, and (f) final segmented image.
Sensors 2025 ,
7025, x FOR PEER REVIEW 10 of 20 feature-importance plot in Figure5bpresents the weight assigned to each feature by the ReliefF algorithm.Higher weights indicate stronger relevance to the classification task, whereas lower weights suggest reduced significance.
Figure 5 .
71Figure 5. Feature-election results based on a hybrid of (a) principal component analysis (PCA) and (b) the ReliefF algorithm.
72Figure 5. Feature-election results based on a hybrid of (a) principal component analysis (PCA) and (b) the ReliefF algorithm.
Figure 6 .
73Figure 6.Representative stabilization curves of randomly selected halochromic film indicating completed color transition.
74Figure 6.Representative stabilization curves of randomly selected halochromic film indicating completed color transition.
Figure 7 .
75Figure 7.Comparison of complete color-transition times across halochromic film samples at different pH levels.
76Figure 7.Comparison of complete color-transition times across halochromic film samples at different pH levels.
77a steady state almost immediately.In contrast, GP-POA and GP-SBOA show slight oscillations before stabilizing around the third iteration, likely due to their exploration mechanisms attempting to escape local optima.Despite these fluctuations, all three algorithms ultimately converge to similar fitness values, demonstrating their robustness in solving the optimization problem.tion.
Figure 8 .
78Figure 8.(a) Convergence curves of GP-PO, GP-POA, and GP-SBOA in optimizing pH response time and (b) comparison of complete color-transition time across halochromic film samples, including highlighted optimized results.
79Figure 8.(a) Convergence curves of GP-PO, GP-POA, and GP-SBOA in optimizing pH response time and (b) comparison of complete color-transition time across halochromic film samples, including highlighted optimized results.
Figure 9 .
80Figure 9. Extracted hue values of optimized PVA−PEG−BTBT film; values taken every 30 s (a) at all pH levels; (b) at pH 6; (c) at pH 7; (d) at pH 8; (e) at pH 9; (f) at pH 10.
81Figure 9. Extracted hue values of optimized PVA−PEG−BTBT film; values taken every 30 s (a) at all pH levels; (b) at pH 6; (c) at pH 7; (d) at pH 8; (e) at pH 9; (f) at pH 10.
Table 2 .
82Hyperparameter Configuration for Genetic Programming.
Table 3 .
83Eigenvectors of the first three principal components.
84Eigenvectors of the first three principal components.
Table 4 .
85Results of optimization of PEG and BTB concentrations using GP-PO, GP-POA, and GP-SBOA.
86Results of optimization of PEG and BTB concentrations using GP-PO, GP-POA, and GP-SBOA.
Table 5 .
87Comparison of other related studies and this work.
Table 6 .
88Two-factor ANOVA results.
참고문헌 28건
- Effect of plasticizer type and concentration on physical properties of biodegradable films based on sugar palm (arenga pinnata) starch for food packaging Journal of Food Science and Technology · Springer Science+Business Media · 2015 10.1007/s13197-015-2009-7
- Eagle Strategy Using Lévy Walk and Firefly Algorithms for Stochastic Optimization Studies in computational intelligence · Springer Nature · 2010 10.1007/978-3-642-12538-6_9
- Cuckoo Search via Lévy flights 2009 10.1109/nabic.2009.5393690
- Sensors and imaging for wound healing: A review Biosensors and Bioelectronics · Elsevier BV · 2012 10.1016/j.bios.2012.09.029
- Chronic wound infection: Facts and controversies Clinics in Dermatology · Elsevier BV · 2010 10.1016/j.clindermatol.2010.03.009
- Principal component analysis: a review and recent developments Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2016 10.1098/rsta.2015.0202
- In-Situ pH-Sensitive Fibers via the Anchoring of Bromothymol Blue on Cellulose Grafted with Hydroxypropyltriethylamine Groups via Adsorption Polymers · Multidisciplinary Digital Publishing Institute · 2018 10.3390/polym10070709
- Relief-based feature selection: Introduction and review Journal of Biomedical Informatics · Elsevier BV · 2018 10.1016/j.jbi.2018.07.014
- Particle Swarm Optimisation: A Historical Review Up to the Current Developments Entropy · Multidisciplinary Digital Publishing Institute · 2020 10.3390/e22030362
- Halochromic poly (lactic acid) film for acid base sensor Journal of Applied Polymer Science · Wiley · 2020 10.1002/app.50093
- Preparation and dynamic response properties of colorimetric indicator films containing pH-sensitive anthocyanins Sensors and Actuators Reports · Elsevier BV · 2021 10.1016/j.snr.2021.100049
- Anthocyanins: Factors Affecting Their Stability and Degradation Antioxidants · Multidisciplinary Digital Publishing Institute · 2021 10.3390/antiox10121967
- Biocompatible and Thermoresistant Hydrogels Based on Collagen and Chitosan Polymers · Multidisciplinary Digital Publishing Institute · 2022 10.3390/polym14020272
- Pelican Optimization Algorithm: A Novel Nature-Inspired Algorithm for Engineering Applications Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22030855
- Chromism-Integrated Sensors and Devices for Visual Indicators Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22114288
- Preparation of carboxymethyl cellulose/polyvinyl alcohol wound dressing composite immobilized with anthocyanin extract for colorimetric monitoring of wound healing and prevention of wound infection International Journal of Biological Macromolecules · Elsevier BV · 2022 10.1016/j.ijbiomac.2022.10.119
- Halochromic Silk Fabric as a Reversible pH-Sensor Based on a Novel 2-Aminoimidazole Azo Dye Polymers · Multidisciplinary Digital Publishing Institute · 2023 10.3390/polym15071730
- Optimized Fuzzy Logic and Adaptive Neuro-Fuzzy Inference Systems for Wound Healing Time Prediction Among the Diabetic Patients 2022 7th International Conference on Business and Industrial Research (ICBIR) · 2023 10.1109/icbir57571.2023.10147571
- Reversible halochromic PLA film for naked-eye detection at the extreme base condition Polymer-Plastics Technology and Materials · Taylor & Francis · 2023 10.1080/25740881.2023.2237112
- Current status and progress in research on dressing management for diabetic foot ulcer Frontiers in Endocrinology · Frontiers Media · 2023 10.3389/fendo.2023.1221705
- Parrot optimizer: Algorithm and applications to medical problems Computers in Biology and Medicine · Elsevier BV · 2024 10.1016/j.compbiomed.2024.108064
- Multifunctional antibacterial hydrogels for chronic wound management Biomaterials Science · Royal Society of Chemistry · 2024 10.1039/d4bm00155a
- Secretary bird optimization algorithm: a new metaheuristic for solving global optimization problems Artificial Intelligence Review · Springer Science+Business Media · 2024 10.1007/s10462-024-10729-y
- Facile physical entrapment of halochromic dye via UV-photografting for the fabrication of colorimetric cotton sensors to detect toxic ammonia gas Progress in Organic Coatings · Elsevier BV · 2024 10.1016/j.porgcoat.2024.108450
- Optimizing Recurrent Neural Network-Based pH Prediction System of Halochromic Film for Chronic Wound Monitoring IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3418968
- Parameters identification of photovoltaic models using Lambert W-function and Newton-Raphson method collaborated with AI-based optimization techniques: A comparative study Expert Systems with Applications · Elsevier BV · 2024 10.1016/j.eswa.2024.124777
- Efficient approach for optimal parameter estimation of PV using Pelican Optimization Algorithm Cogent Engineering · Cogent OA · 2024 10.1080/23311916.2024.2380805
- Robotic Cell Layout Optimization Using a Genetic Algorithm Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app14198605