Introduction

Nowadays, denim production is one of the world's major and constantly evolving textile industry sub-sectors. According to forecasts by the research firm of Prescient & Strategic, the global jeans market expected to post annual growth of 5.8% over the period 2018–20231. To meet this ever-increasing demand, the denim industries have opted for new alternatives to remain competitive. They have moved towards more sustainable consumption by adopting the 4R strategy (Reduce, Repair, Reuse and Recycle).

Elastane is a filament that has very important elastic properties. This filament is widely used in the production of stretch denim articles. Indeed, the good elasticity of the elastane filament allows these garments to be close to the skin, therefore to be very comfortable and pleasant to wear. Thus, these clothing items are currently among the most sought after by the consumer. They represent a potential market for Denim manufacturers1,2. However, the presence of elastane in stretch denim articles poses a number of technical problems. Firstly, elastane is difficult filament to use. It must therefore to be covered by other textile materials such as cotton, lyocell, polyester, etc.2. In addition, it is highly sensitive to wet treatments such as pre-treatments, dyeing, finishing and heat treatments. In most cases, these treatments cause the degradation and loss of elasticity in stretch items, which is their most sought-after characteristic3.

Recently, bicomponent filaments (PET/PTT) have been used in the manufacture of various textile fabrics to provide thermal comfort thanks to their elasticity and their elastic recovery4,5,6,7,8,9,10,11,12,13. These filaments are an excellent alternative for overcoming the technical difficulties associated with the use of elastane filaments5. They are composed of two polymers: polyethylene terephthalate (PET) and polytrimethylene terephthalate (PTT). These two filaments are adjacent, arranged side by side and extruded from the same spinneret4,5,6,7,8,9,10,11,12,13.

In previous studies14,15,16,17,18,19,20,21, these bicomponent filaments are characterized in terms of their mechanical, chemical and physical properties. Obtained results showed their excellent elastic and recovery elasticity and confirm their ability to replace elastane filaments. A recent study of the stability of bicomponent filaments after heat treatments highlighted the conservation of the desired mechanical properties of these filaments18.

Consequently, in this work, a new denim item was produced. Warp and weft yarns are composed of 100% cotton fibers and 100% bicomponent (PET/PTT) filaments, respectively. However, a problem arises concerning the dyeing of this cotton/bicomponent polyesters blend fabric. Indeed, 100% cotton warp yarns are dyed with reactive dyes while polyesters filaments are dyed with disperse dyes. The challenge is to formulate and reproduce the same color for warp and weft yarns to have a final article with uniform shade.

In the literature, several studies have focused on color recipes prediction, either using colorimetric and spectrophotometric methods22,23,24,25 or using artificial intelligence techniques26,27,28,29,30. Recently, Chaouch et al. developed a new genetic algorithm for color recipe prediction of cotton fibers using reactive and direct dyestuffs31. The studied parameters of the algorithm were determined using a full factorial experimental design. The evaluation of the efficiency of the algorithm was proven and the obtained recipes showed good colorimetric correspondence with the target colors; all color difference ΔECMC(2:1) values are less than 1. The same authors developed a second method based on ant colony algorithm32,33.

The latter seems to be a promising method for solving the problem of color recipe prediction. Obtained results were very encouraging; theoretical values of ∆ECMC(2:1) between the target colors and those proposed by the ant colony algorithm do not exceed 0.7. These results reveal the excellent conformity of the predicted concentrations to the desired shades. More recently, a third study focused on comparing these two color prediction algorithms, genetic and ant colony algorithms, in order to determine which best optimizes the color formulation step34. Based on this study, the ant colony algorithm seems to be the most efficient algorithm in predicting dyeing recipes of cotton fibers with reactive dyes.

Therefore, in this current study, this evolutionary ant colony algorithm was used to determine the appropriate recipes for dyeing our innovative fabric composed of a blend of cotton/bicomponent polyester filaments. First, we presented in the first step the manufacturing parameters of the new (cotton/bicomponent polyester filaments) blend fabric. Then a comparison study between its mechanical and thermal comfort properties with a conventional denim fabric (100% cotton) and a blend fabric (cotton/PET filaments) was established. For the dyeing of this new fabric, clean dyeing was performed using different processes: two-baths/two-phases, one-bath/two-phases, and one-bath/one-phase. The ant colony algorithm was then applied to predict the appropriate recipes in order to find uniform shades.

Materials and methods

Textile supports

The textile supports used in this study are: 100% cotton fabric used as a reference (F1), cotton/PET blend fabric (F2), and cotton/bicomponent (PET/PTT) filaments blend fabric (F3). All these fabrics are produced using a Sulzer-type projectile weaving. The blend fabrics are made from the interlacing of 100% cotton warp threads and 100% polyester weft threads. All the fabrics produced using 2/2 twill weave. The number of weft threads per centimeter is equal to 17. The main characteristics of the fabrics obtained are presented in Table 1.

Table 1 Main characteristics of studied fabrics.

Characterization of textile supports

Mechanical tests

The mechanical properties of fabrics were made according to the standard method ISO 13934-1 and using a dynamometer type Lloyd instruments LR5K (UK). The dimensions of tested samples are equal to 5 cm × 25 cm. Each measurement was repeated five times and carried out in both warp and weft directions of the fabric. The test speed is maintained at 100 mm min−1.

Moisture management test

According to the AATCC TEST METHOD 195 (2011), moisture management behaviours of studied fabrics were evaluated using the Moisture Management Tester (MMT) type M290 (SDL ATLAS, USA). Tested fabrics are cut in the form of a square with a side equal to 8 cm, the pumping time of the saline solution is equal to 20 s and the duration of each test is 120 s. Each test was repeated three times.

Dyeing recipes

In this study, our blend fabrics (cotton/bicomponent polyester filaments) were dyed using reactive and disperse dyes. The cellulosic part was dyed using three reactive dyes, namely: C.I. Reactive Red 238, C.I. Reactive Yellow 145 and C.I. Reactive Blue 235. However, the dyeing of the polyester part was carried out using four disperse dyes, namely: C.I. disperse Red 60, C.I. disperse Yellow 211, C.I. disperse Red 167.1 and C.I. Disperse Blue 179.1. All reactive and disperse dyes were purchased from Huntsman (Switzerland) and used without purification. Table 2 presents the main characteristics of used dyes. Their chemical structures are shown in Figs. 1 and 2. The liquor ratio is equal to 1:10. For dyeing cotton with reactive dyes, the following auxiliary products were used: CHTT-MRS (wetting agent), sodium chloride and caustic soda. The added quantities of auxiliaries depended on the desired shades. Dyeing of the polyester part required only the use of p-vanillin carrier with a concentration equal to 0.04 mol/L.

Table 2 Main characteristics of studied dyes.
Figure 1
figure 1

Chemical structures of disperse dyes.

Figure 2
figure 2

Chemical structures of reactive dyes.

Dyeing procedure

To dye (cotton/bicomponent polyester filaments) blend fabric, three dyeing processes were used, namely: two-baths/two-phases process, one-bath/two-phases process, and one-bath/one-phase process. These processes are inspired by those used for dyeing (cotton/PET) blend fabrics. The dyeing of the polyester part, i.e. bicomponent (PET/PTT) filaments, was carried out using a clean and ecological process already developed in our previous works15,17,21.

All pre-treatments, dyeing and post-treatments were carried out in a laboratory dyeing machine, an Ahiba Nuance Top Speed (Datacolor International Company, USA).

Two-baths/two-phases dyeing process

This process is one of the most commonly used processes in the textile industry25,26. It involves fixing reactive and disperse dyes using two different baths. The steps and the thermal curves of this dyeing process are mentioned in Fig. 3.

Figure 3
figure 3

Dyeing (cotton/bicomponent polyesters filaments) fabric using two-baths/two-phases dyeing process.

One-bath/two-phases dyeing process

This dyeing process, shown in Fig. 4, first dyes the polyester part with disperse dyes at 100 °C with the addition of p-vanillin. The bath was then cooled to 30 °C. At this level, the reactive dye and the wetting agent and the electrolyte were added. The reactive dyes were then fixed for 40 min. A pH of 11 was reached by adding alkali. After dyeing, a rinse at 50 °C, neutralization with acetic acid at 50 °C, soaping at 95 °C and another cold rinse were carried out to remove the dye persisting on the fabric surface.

Figure 4
figure 4

Dyeing (cotton/bicomponent polyesters filaments) fabric using one-bath/two-phases process.

One-bath dyeing process

To dye the (cotton/bicomponent polyester filaments) blend fabric, a single-bath dyeing process was also used (Fig. 5). At the start of this process, the alkali was added to adjust pH at 11. The two classes of dyes (reactive and disperse) were then introduced followed by the electrolyte and the carrier. In this case, the polyester part and the cotton part was dyed at 100 °C at the same time in the same bath. After 40 min, samples underwent several hot and cold rinses.

Figure 5
figure 5

Dyeing (cotton/bicomponent polyesters filaments) fabric using one-bath/one-phase process.

Color measurement

All colorimetric measurements were performed using a Spectraflash 600 Plus type spectrocolorimeter (Datacolor International, USA) with the following measuring conditions: spectra from 400 to 700 nm at 10 nm intervals, illuminant D65, and 10° standard observer. In order to assure maximum opacity, each sample was presented at four layers; and to reduce errors in reflectance measurements, three color measurements were made per sample in multiple locations.

The Kubelka–Munk theory linking the color strength (K/S) to the reflectance R is presented by the following formula37:

$$\frac{K}{S}=\frac{{\left(1-R\right)}^{2}}{2R}-\frac{{\left(1-{R}_{0}\right)}^{2}}{2{R}_{0}}$$
(1)

where K, S, and R are respectively the absorption coefficient, the light scattering coefficient and the reflectance of the dyed sample. R0 is the reflectance of the undyed sample.

Description of the ant colony algorithm

Ant colony algorithm is an artificial intelligence technique that dates back to the 1990s38. It has been used in various fields such as vehicle routing39, graph coloring40 bioinformatics problems41, etc. This technique is based on the attitude of ants during their search for food. Indeed, during this search, ants cross random paths while leaving behind a chemical substance called pheromones. Thanks to this substance, the other ants will be guided towards the source of food. The amount of pheromones smelled depends on the quality and quantity of food found. This indirect communication method is very effective and allows ants to find the shortest path to food.

In the literature, Chaouch et al.32,33 were the first authors to introduce ant colony optimization (ACO) for color formulation. They proposed an algorithm of color matching allowing to minimize the color deviations between the standard colors and colors obtained by the proposed recipes. This algorithm was developed for dyeing cotton samples using reactive and direct dyes. We therefore applied this artificial intelligence technique to formulate the color recipes of our new (cotton/bicomponent (PET/PTT) filaments) blend fabric. Indeed, after dyeing the bicomponent filaments with disperse dyes, we used the ant colony algorithm to predict best reactive dye recipe to match the color obtained with disperse dyes (considered as standard or target color).

The developed algorithm assumes:

  • First, the food source is the desired standard color (obtained by disperse dyes);

  • Second, the paths explored by ants searching represent the various shades of available reactive dyes used in mixtures;

  • Third, the shortest path, lied the food to the ant nest, corresponds to the best reactive recipe that optimizes color deviations between the obtained color (reproduced by this best reactive recipe) and the standard color (obtained by disperse dyes).

In our case, the objective is to obtain the same color for the two components of the fabric, i.e. the bicomponent filaments and the cotton fibers. The objective function of the algorithm is then the minimization of the CMC(2:1) color deviations [ΔECMC(2:1)] between colors obtained on bicomponent filaments dyed with disperse dyes and cotton fibers dyed with reactive dyes.

To match the color obtained by disperse dyes, considered as standard color, the developed algorithm works as follows: each ant selects a concentration value between 0 and 4% for each dye from the available reactive dyes. For the first iteration, this choice is made randomly, but for subsequent iterations, it is based on defined probabilities. The reactive color recipe formed by the chosen concentrations represents a path or solution. When this recipe is applied to dye cotton fibers, it produces a color that may be more or less similar to the standard color. The most appropriate recipe of reactive dyes is the one that minimizes the shade deviations between the proposed color and the standard one. To ensure successful color formulation, the ACO algorithm must propose the best reactive dyeing recipe that results in a standard color with a [ΔECMC(2:1)] deviation that does not exceed 1. If multiple recipes are possible, we select the recipe that minimizes the [ΔECMC(2:1)] deviation.

At each iteration t, the choice of the concentrations is done randomly, based on the probability value Pij:

$${P}_{ij}\left(t\right)= \frac{{\tau }_{ij}^{\alpha }(t).{\eta }_{ij}^{\beta }}{\sum_{l\in {N}_{i}^{k}}{\tau }_{il}^{\alpha }(t).{\eta }_{il}^{\beta }}$$
(2)

where: \({P}_{ij}\left(t\right)\) is the probability value to select the concentration index j of the succeeding dyestuff afterward choosing the concentration index i of the present dyestuff; τij is the quantity of pheromones deposed between the concentration index i of the present dyestuff and the concentration index j of the succeeding dyestuff; \({\eta }_{ij}= \frac{1}{{\Delta E}_{CMC(2:1)}}\) is the visibility value between concentrations index i and j; \({N}_{i}^{k}\) is the concentrations range of dyestuffs not yet chosen at the instant t; α and β are the variables supervising the relative importance between the rate of pheromones and visibility, respectively.

The pheromone matrix is updated locally as follows:

$${\tau }_{ij}\left(t\right)= \rho .{\tau }_{ij}\left(t-1\right)+\Delta {\tau }_{ij}$$
(3)

where: ρ is the evaporation rate of pheromones; \(\Delta {\tau }_{ij}= \frac{{C}_{local}}{{\Delta E}_{CMC(2:1)}}\) is the quantity of pheromones, called local pheromone trace, deposed by the different ants after their passageways at the iteration index t; Clocal is a positive constant fixed at the beginning of the algorithm.

After each iteration, the global update of the pheromone matrix aims to provide a greater quantity of pheromones to the best solution; it is applied to the best path, followed by the ant index k’, using the following formula:

$${\tau }_{ij}\left(t,k^{\prime}\right)= {\tau }_{ij}\left(t,k^{\prime}\right)+\Delta {\tau ^{\prime}}_{ij}$$
(4)

where: \(\Delta {\tau ^{\prime}}_{ij}= \frac{{C}_{global}}{{\Delta E}_{CMC(2:1)}}\) is the global trace pheromone adding to the best path (followed by ant index k’) in order to promote the best recipe found during the iteration index t; Cglobal is a positive constant fixed at the beginning of the algorithm.

The algorithm procedure is composed by four principal steps (Fig. 6):

  • Step 1: setting of algorithm parameters and pheromone trails;

  • Step 2: construction of ant solutions (proposed recipes);

  • Step 3: updating of the matrix of pheromones;

  • Step 4: repeating steps number 2 and 3 until the end conditions are reached (i.e. all ants are chosen and the total number of iterations is reached).

Figure 6
figure 6

Flow chart of the ant colony algorithm.

For the dyeing of our blend fabric (cotton/bicomponent polyester filaments), the algorithm predicts the best recipe among all available reactive dyes for dyeing cotton fibers, to achieve the same shade as that of the bicomponent polyester filaments. Then, depending on the range of dyes chosen for each component, we will opt for the appropriate process (one-bath/one-phase, one-bath/two-phase or two-bath/two-phase dyeing process).

Results and discussions

Mechanical properties of studied fabrics

To highlight the excellent mechanical properties of our fabric (F3) made from a blend of bicomponent filaments (cotton / (PET/PTT)), a comparative study was carried out with two conventional fabrics: fabric (F1) made from 100% cotton and fabric (F2) based on a cotton/PET blend. The mechanical properties of these three fabrics are presented in Table 3. By observing the obtained results, it can be concluded that the fabric (F1) is much more stiffer than fabrics (F2) and (F3) whose weft yarns are in classic polyester (100% PET) and in bicomponent filaments (60% PET, 40% PTT), respectively. These obtained results are due to the fact that polyester threads are much more resistant than cotton fibers. In addition, the fabric (F3) has an elongation percentage equal to 50.71%. This is a very high value compared to the two others fabrics. These excellent mechanical performances showed that geometry shape of filaments has a great effect on their elastic recovery. The bicomponent filaments have a high value of recovery, thanks to the arrangement side by side of the two polymers PET and PTT. This good elasticity enables the blended fabric (cotton/bicomponent filaments (60% PET, 40% PTT)) to adapt to the wearer's body, to be soft and comfortable.

Table 3 Mechanical properties of studied fabrics.

Thermal comfort properties of studied fabrics

According to the AATCC TEST METHOD 195 (2011), the ability to evacuate sweat of studied fabrics, in particular the fabric made of a cotton/bicomponent polyester filaments blend, was evaluated. Table 4 illustrates results of this analysis. From obtained results, it can be seen that humidification time (sec), absorption rate (%.s), maximum moisture diffusion radius (mm), and moisture diffusion rate (mm/s) values of our fabric are all good. More importantly, the percentage of moisture transport capacity (%) values are excellent and the overall moisture management capability (OMMC) value is also good. It can be concluded that the manufacture of this fabric, on the one hand, remedies all the problems caused by the use of elastane filaments and, on the other, produces a fabric with good, even excellent, thermal comfort properties. This may encourage the use of denim fabrics that offer the user both good elasticity and elastic recovery, as well as good thermal comfort properties.

Table 4 Thermal comfort properties of (cotton/bicomponent polyester filaments) blend fabric.

In addition, a comparative study between the different fabrics developed was carried out. Figure 7 shows that the fabric containing bicomponent polyester filaments offers the best performance, followed by the 100% cotton fabric and the cotton/PET blended fabric. Indeed, the contact surface is larger than that of conventional fibers with a rounded cross-section; therefore, the moisture will diffuse more easily and more quickly by capillary action.

Figure 7
figure 7

Thermal comfort properties of studied fabrics.

This confirms the great potential for the use of bicomponent (PET/PTT) filaments in various textile articles, in particular denim articles mixed with cotton.

The big challenge is to dye these innovative fabrics correctly, and above all to guarantee the same shades for the two materials used: cotton and bicomponent filaments (PET/PTT).

Analysis of dyeing performances

In order to obtain the same color on the different components of the fabric, a dye recipe prediction algorithm was developed and applied. This algorithm, based on ant colony optimization technique, must predict and propose the most appropriate recipe of reactive dyes in order to match the shade obtained by disperse dyes. The shade used for disperse dyes is 1.2% of each one. So, the ant colony algorithm was applied to determine the equivalent recipe to dye the cotton part and obtain the same shade as that of the polyester part.

The predicted recipes are presented in Table 5. These proposed recipes were used for the three processes (two-bath/two-phase, one-bath/two-phase and one-bath/one-phase) for dyeing the cotton/bicomponent filament blend. The (K/S) values obtained as well as the CIELab colorimetric coordinates of the dyed cotton/bicomponent filament (60% PET, 40% PTT) blend fabrics are given in Table 6.

Table 5 Dyeing recipes for cotton/bicomponent filament blend fabrics.
Table 6 (K/S) values and color coordinates of blend fabrics (cotton/bicomponent (PET,PTT) filament) dyed using the different dyeing processes.

By observing obtained results, it is clear that (K/S) values and CIELab coordinates of the samples dyed using the three different processes are very close. These results confirm the effectiveness of the developed ant colony algorithm which enables us to find the combination of reactive dyes needed to obtain the same shade as that obtained with the disperse dyes without having to make any corrections. In addition, the use of this algorithm offers the possibility to remedy wastage during the use of dyes and to reduce the quantity of water used during color corrections.

It should be noted that dyeing using the first two processes (two baths/two phases and one bath/two phases) presents the best values of color yield (K/S) with almost similar results (color differences ΔECMC(2:1) <  < 1). Indeed, if the first involves dyeing the polyester part and then emptying the dye pots before proceeding to dye the cotton, the latter involves keeping the same dye bath after dyeing the polyester part and then incorporating all the products required for reactive dyeing. It can therefore be concluded that the disperse and reactive dyes used in this study are compatible and during their use in both processes, no degradation of either dye was observed. The levelness of dyed fabrics is also good.

For the third dyeing process, one-bath/one-phase, it presents less significant results; We can observe (ΔECMC(2:1)) color differences greater than 1 in shades 1, 3 and 4. This is due to the strongly pH value (basic pH of 11) of reactive dyeing. Indeed, several previous studies have shown that disperse dyes do not tolerate high values of basic pH, and in such cases, color deviations would be possible35,36.

Furthermore, we observed that the use of p-vanillin did not cause problems in the dyeing of the reactive part even when using the two processes, one bath/two phases and one bath/one phase, where the dyebath was not emptied or changed during the dyeing of the blend fabric (cotton/bicomponent (PET/PTT) filament). In this way, the bicomponent (PET/PTT) filaments were dyed using a clean and economical process in terms of temperature (100 °C) and the dyeing process for cotton/polyester blend fabrics can also be economical in terms of water consumption by keeping the same dye bath and therefore using a one-bath/two-phases process.

These excellent dyeing results could encourage the manufacture of articles containing bicomponent (PET, PTT) filaments and their incorporation into denim fabrics to give the wearer the desired elasticity and comfort. They also allow the use of an economical and ecological dyeing process.

Conclusion

This paper contributed to the development of a new fabric made of (cotton/ bicomponent polyester filament) blend. A comparative study between the mechanical and comfort thermal properties of this new fabric and those made of 100% cotton and (cotton/PET) blend has confirmed the interest of the developed fabric. This encourages the manufacture of articles containing bicomponent (PET, PTT) filaments and their incorporation into denim fabrics in order to give the wearer the desired elasticity and the desired comfort.

Moreover, this study proposed a suitable process for dyeing this kind of fabrics and evaluated its performance. Faithful to our principles of green chemistry, the one-bath/two-phases process seems to be the most appropriate process for dyeing (cotton/bicomponent (PET, PTT) filament) blend fabric.

In addition, the use of the ant colony algorithm, developed in this study, has been very effective in predicting the right dye recipes and in formulating colors without having to make multiple corrections and while minimizing the amount of dyes and water. Obtained results proved that this algorithm is a very powerful tool in the prediction of dye recipes and the formulation of shades for blend fabrics.