1 Introduction

The flourishing development of intelligent wearable electronic products has significantly increased the demand for flexible wearable devices in many fields such as soft robotics, medical diagnostic equipment, and smartwatches [1]. Wearable flexible thermoelectric devices (TEDs), having the capability to directly convert thermal energy into electrical energy, can harness the temperature difference between the human body and the environment to achieve sustainable power generation, providing an effective solution for the development of wearable energy supply systems [2]. As a core component of wearable flexible TEDs, it is crucial to secure high thermoelectric performance in flexible thermoelectric materials. Generally, higher thermoelectric performance in these materials leads to higher energy conversion efficiency of the device. Therefore, the focus on developing thermoelectric materials with high performance, flexibility, and stability is of paramount importance. Their thermoelectric performance is evaluated using the dimensionless figure-of-merit ZT, which is defined as ZT = S2σT/κ, where S denotes the Seebeck coefficient, σ represents the electrical conductivity, T is the absolute temperature, and κ represents the thermal conductivity [3,4,5]. The power factor (S2σ) is also employed to assess the thermoelectric potential of materials, particularly when the κ of flexible thermoelectric materials is challenging to accurately measure.

To meet the high flexibility requirements of wearable TEDs, thermoelectric materials need significant flexibility. Thin film and fiber-based thermoelectric materials have gained increasing attention from researchers due to their excellent flexibility, lightweight, and comfortable wearability [6, 7]. Particularly, in comparison to thin film materials, fiber materials offer better weaveability and broader application potential [6]. In recent years, various types of thermoelectric fiber materials have been developed, including organic fibers, inorganic fibers, and organic/ inorganic hybrid fibers. Compared to inorganic fibers, organic polymerized fibers hold advantages such as low κ, nontoxicity, low cost, and good environmental stability [8]. Specifically, poly(3,4-ethylenedioxythiophene):poly(styrenesulfonate) (PEDOT:PSS) has been extensively studied due to its highly tunable σ, good solution processability, and excellent biocompatibility [9]. However, the original PEDOT:PSS displays a relatively low σ of around 2 S cm−1 and S of ≤ 14 µV K−1, leading to insufficient S2σ to meet the growing demands of device performance [10, 11]. Therefore, to address these problems, the main research focus is to explore appropriate pre-treatments or post-treatments, along with reasoned doping or dedoping strategies, to enhance the S2σ of PEDOT:PSS [12,13,14,15]. Additionally, composite carbon materials such as carbon nanotubes (CNTs) and inorganic materials like nanoscale semiconductors can effectively filter out low-energy charge carriers through energy filtering, thereby enhancing the S [16, 17]. For instance, PEDOT:PSS fibers have been prepared via wet spinning, followed by post-treatment with sulfuric acid (H2SO4). Owing to the effective post-treatment and confinement effect, the prepared fibers have a high σ of 4029.5 S cm−1 [18]. However, these techniques are still limited to achieving high thermoelectric capabilities of PEDOT:PSS fibers. Therefore, it is still needed to explore effective and stable methods to obtain high-performance PEDOT:PSS thermoelectric fibers.

Ionic liquids (ILs) have attracted widespread attention due to their high ionic conductivity, thermal stability, antibacterial properties, and excellent solubility [19,20,21,22,23]. In recent years, using ionic liquids as agents to enhance the thermoelectric performance of organic materials has become a popular research topic. For example, it has been reported that PEDOT:PSS fibers can be fabricated by combining with 1-ethyl-3-methylimidazolium dicyanamide (EMIM:DCA) [24]. The observed high thermoelectric performance in PEDOT:PSS/EMIM:DCA fibers is mainly attributed to the synergistic effects of sulfuric acid, ionic liquid, and high tensile strength, which induces the substantial elimination of PSS and the high crystallinity and orientation of PEDOT [24,25,26]. However, to date, there is still a lack of high-performance thermoelectric fibers and reliable mechanistic analysis. Moreover, the composite applications of ionic liquid treatment and conventional pre- and post-treatment are currently unexplored.

In this study, a triple post-treatment method, including H2SO4, sodium borohydride (NaBH4), and 1-ethyl-3-methylimidazolium dichloroacetate (EMIM:DCA), was developed to be applied to the PEDOT:PSS fibers, prepared via wet spinning method. After this triple post-treatment, the thermoelectric performance of the fibers was significantly enhanced. From a series of structural characterizations and thermoelectric performance evaluation, the underlying mechanism for its performance improvement has been illustrated. Additionally, the assembled flexible TEDs using the as-prepared thermoelectric fibers show excellent capability for generating electricity from temperature differences. This work provides new insights into the performance optimization mechanism and expanded applications of organic thermoelectric fibers.

2 Experimental Section

2.1 Materials and Chemicals

PEDOT:PSS solution (Clevios PH1000) was purchased from Heraeus. Dimethyl sulfoxide (DMSO) (AR) was purchased from Shanghai Macklin Biochemical CO., LTD. Isopropanol (IPA) (AR, 99.8%) was purchased from Energy Chemical Reagent CO., LTD. Ethanol absolute was purchased from Shanghai Lingfeng Chemical Reagent CO., LTD. H2SO4 (AR, 98.08%) was purchased from Shanghai Lingfeng Chemical Reagent CO., LTD. NaBH4 (AR, ≥ 97%) was purchased from Shanghai Lingfeng Chemical Reagent CO., LTD. EMIM:DCA (98%) was purchased from Shanghai Macklin Biochemical CO., LTD. Methanol (CH3OH) (≥ 99.7%) was purchased from Sinopharm Chemical Reagents CO., LTD.

2.2 Wet spinning of PEDOT:PSS fibers

First, the PEDOT:PSS dispersion with 5 wt% DMSO was concentrated to 2.5 wt% under magnetic stirring at 90 °C for 1 h. Then, the PEDOT:PSS fibers were prepared at room temperature using a wet spinning setup. Typically, 200 µL of the spinning formulation was loaded into a 5 mL syringe. The formulation was extruded through a microneedle into an IPA coagulation bath, which was fixed on a rotation stage. The diameters of the microneedles were 27 G. The flow rate of the spinning formulation was maintained at 15 µL min−1 by a syringe pump (LSP01-2A). The rotation stage was to pre-stretch the as-spun fibers and simultaneously avoid the adhesion between fibers in a wet state. After extrusion, the as-spun fibers were collected at the bottom of the coagulation bath and then rinsed in a washing bath consisting of ethanol/ deionized (DI) water (v/v, 1/1) two times. Finally, the fibers were dried by hanging them in the air above a heating table. The samples were named P/D (PEDOT:PSS/DMSO).

2.3 Triple Post-Treatment

Firstly, the P/D samples were immersed in H2SO4 for 1–4 h at room temperature. Then, the H2SO4-treated samples were further treated with a NaBH4 solution. Considering the strong reducibility of NaBH4, a 1 mol/L NaBH4 solution was prepared before the treatment. Then the H2SO4-treated samples were immersed in concentrated H2SO4 at room temperature. Finally, the H2SO4-NaBH4-treated samples were immersed in EMIM:DCA/CH3OH solution at room temperature for 1–6 h. All the post-treatment samples were rinsed in deionized water two times to wash away the remnant solvent and dried on a heating table at 65 °C for 10 min. For simplicity, the sample treated only by H2SO4 was labeled as H2SO4-treated sample, the sample treated by H2SO4 and NaBH4 was labeled as H2SO4-NaBH4-treated sample, and the sample treated by H2SO4, NaBH4, and EMIM:DCA/CH3OH was labeled as H2SO4-NaBH4-EMIM:DCA/CH3OH-treated sample.

2.4 Thermoelectric Device Fabrication

The fibrous TEDs were assembled using the H2SO4-NaBH4-EMIM:DCA/CH3OH PEDOT:PSS fibers and nickel (Ni) wires (diameter: 0.05 mm) as the p- and n-legs, respectively. One pair of the p-n thermoelectric legs was connected on polyimide (PI) which was stuck on a flexible poly(ethylene terephthalate) (PET) substrate. The joints between H2SO4-NaBH4-EMIM:DCA/CH3OH PEDOT:PSS fibers and Ni wires were connected using silver paste. The Cu wires were connected at the end of the thermoelectric generator to measure output properties.

2.5 Measurement and Characterization

The σ of the fibers was measured by the four-point-probe method using a source meter (Keithley 2450). The samples were prepared by placing the fiber on a glass slide and four areas of fiber are coated with silver paste for probe contact. The corresponding electrical conductivities were calculated using Eq. (1):

$$\upsigma =\frac{L}{RA},$$
(1)

where R (Ω) is the electrical resistance, A (cm2) is the cross-sectional area, and L (cm) is the distance between electrodes. The S data of the samples were measured at room temperature with the portable Seebeck coefficient tester (PTM-3). The tensile properties of fibers were measured by a YG001E tensile tester (the pre-tightening force is 0.01 N, the gauge length is 20 mm, and the extension rate is 2 mm/min). For the above thermoelectric and mechanical measurements, at least 10 samples from the same batch of fibers were tested. The values presented in this work are the average values which are rounded to two decimal places, and the error bars are the standard deviation between samples from the same batch of fibers.

The crystallinity of samples was investigated by X-ray diffraction (XRD, Smartlab) using Cu Kα radiation at room temperature. The surface morphology and cross-sectional morphologies of the fibers were conducted on field emission scanning electron microscopy (FESEM, JEOL-S4800), and tabletop optical microscopy (Hitachi TM3000). The oxidation levels of the samples were characterized by ultraviolet and visible absorption spectrum (UV–Vis absorption spectrum, Lambda 950) and X-ray photoelectron spectroscopy (XPS, Thermo ESCALAB 250, Japan) using monochromatic Al Kα radiation. Raman spectroscopy was performed from 1200 to 1800 cm−1 on a confocal Raman microscope (LabRAM HR Evolution) using a 553 nm laser. The open-circuit voltage (VOC) of the device was measured using a data acquisition/multimeter system (Keithley DAQ6510) and a Keithley 2450. A resistor box (0–9000 Ω) was used to act as an external resistor and a thermocouple was used to measure the temperature difference when testing the output power of the device.

3 Results and Discussion

We initially concentrated the PEDOT:PSS spinning solution by adding 5% DMSO and prepared PEDOT:PSS fibers utilizing the wet spinning method. Subsequently, we applied a triple post-treatment with H2SO4, NaBH4, and EMIM:DCA to adjust the thermoelectric performance of the PEDOT:PSS fibers, as illustrated in Fig. 1a. The prepared fibers ultimately exhibited an optimum S2σ value of (55.4 ± 1.8) μW m−1 K−2, demonstrating strong competitiveness compared to the reported literature [18, 25, 27,28,29,30,31], as depicted in Fig. 1b. After triple post-treatment, an optimal balance between σ and S factors for peak power can be achieved. Based on this, fibers treated with the H2SO4-NaBH4-EMIM:DCA triple combination were utilized to manufacture a flexible TED on PI. The TED exhibited a power density of (60.18 ± 2.79) nW cm−2 at a temperature difference ΔT of 10 K, demonstrating the potential of designed PEDOT:PSS fibers for application in wearable TEDs.

Fig. 1
figure 1

Introduction of optimizing wet-spun PEDOT:PSS fibers for thermoelectric applications through innovative triple post-treatments. a Schematic diagram of preparing poly(3,4-ethylenedioxythiophene):poly(styrenesulfonate) (PEDOT:PSS) fibers post-treated with sulfuric acid (H2SO4), sodium borohydride (NaBH4), and 1-ethyl-3-methylimidazolium dichloroacetate/Methanol (EMIM:DCA/CH3OH) solution and the thermoelectric device (TED). The photograph of the as-achieved free-standing PEDOT:PSS fiber was treated with H2SO4 and 1 mol L−1 NaBH4 and 20% EMIM:DCA/CH3OH solution. b Comparison of power factor S2σ between this work and reported post-treated PEDOT:PSS fibers [18, 25, 27,28,29,30,31]

To obtain high-quality pristine PEDOT:PSS fibers, 5 wt% polar solvent DMSO was introduced into the spinning solution. We first investigated the influence of H2SO4 on the σ and S of PEDOT:PSS fibers by the wet spinning method. Figure 2a displays the variations in the measured σ, S, and the calculated S2σ of PEDOT:PSS fibers with changing H2SO4 post-treatment duration. The untreated PEDOT:PSS fibers only exhibit a low σ of (195.3 ± 43.5) S cm−1 and an S of (15.4 ± 0.4) μV K−1. As the post-treatment time extended to 2 h, the σ is significantly increased to (1813.7 ± 182.3) S cm−1, while the S remains essentially constant. Figure 2b illustrates the relationship between the measured σ, S, and calculated S2σ of PEDOT:PSS fibers and the post-treatment duration with NaBH4. With the increasing NaBH4 treatment duration, most samples exhibit a notable increase in S and a decrease in σ. The fibers treated with 1 mol L−1 NaBH4 show the maximum S, reaching (20.8 ± 0.8) μV K−1. Figure 2c depicts the σ, S, and determined S2σ of PEDOT:PSS fibers measured under varying EMIM:DCA post-treatment durations after 2 h of H2SO4 treatment and 0.5 h of NaBH4 treatment. With the increasing treatment duration, the σ is gradually increased, while the S shows a slight decrease. For PEDOT:PSS fibers treated with H2SO4-NaBH4-EMIM:DCA/CH3OH for 4 h, the optimal σ is (1395.5 ± 31.5) S cm−1. Compared to the reported results summarized in Table S1, the maximum S2σ is (55.4 ± 1.8) μW m−1 K−2 with the optimal post-treatment time. A shorter treatment duration may not be sufficient for EMIM:DCA to interact adequately with the PEDOT:PSS chain, while prolonging the treatment time may lead to excessive oxidation of PEDOT [16, 18, 26]. Figure S1 in the Supporting Information illustrates the relationship between the measured σ, S, and determined S2σ of PEDOT:PSS fibers and the NaBH4 post-treatment time after 2 h of H2SO4 treatment and 1 h of NaBH4 treatment. With the increasing EMIM:DCA treatment time, most samples show a rise in σ and a decline in S, with the maximum S2σ of (45.7 ± 2.8) μW m−1 K−2. Based on these conclusions, the triple post-treatment with H2SO4, NaBH4, and EMIM:DCA/CH3OH solution can effectively enhance the σ and S of PEDOT:PSS fibers.

Fig. 2
figure 2

Thermoelectric properties of fibers. Measured room-temperature electrical conductivity σ, Seebeck coefficient S, and S2σ of PEDOT:PSS fibers treating with a H2SO4, b 1 mol L−1 NaBH4, and c 20% EMIM:DCA/CH3OH solution as a function of treating duration

To understand the mechanism of the triple post-treatment with H2SO4, NaBH4, and EMIM:DCA/CH3OH solutions that improve the thermoelectric properties of PEDOT:PSS fibers, we conducted morphological characterization using SEM. Figure S2a–d in the Supporting Information displays the SEM images of pristine PEDOT:PSS fibers without and with H2SO4 treatment, H2SO4-NaBH4 treatment, and H2SO4-NaBH4-EMIM:DCA/CH3OH treatments. The fibers treated with H2SO4 underwent a 2-h post-treatment. The fibers subjected to dual treatment were treated with NaBH4 for 30 min, followed by a 2-h treatment with H2SO4. The fibers undergoing triple treatment were treated with EMIM:DCA/CH3OH solution and then with 2 h of H2SO4 treatment and 0.5 h of NaBH4 treatment. The prepared fibers exhibit a cylindrical shape and uniform thickness without significant irregularities.

Figure 3a–d displays the typical SEM images of pristine fibers (abbreviated as P/D) and the fibers subjected to H2SO4 treatment at different magnifications. After the H2SO4 treatment, the fiber diameter was significantly decreased from 17.9 to 9.5 μm, and meanwhile, the fiber surface became rougher with increased wrinkles. It is evident that the wrinkles of PEDOT:PSS are well aligned in the direction of the fiber, indicating the submicron-scale orientation of PEDOT:PSS clusters [18]. It has been reported that H2SO4 is one of the most effective agents for improving thermoelectric performance, especially in electrical conductivity of PEDOT-based derivatives [18, 26, 27, 32]. Figure 3e–f shows SEM images of fibers treated with H2SO4-NaBH4 at different magnifications. The diameter and roughness of the fibers barely changed after H2SO4-NaBH4 treatment. This suggests that NaBH4 treatment has no significant influence on the elimination of the PSS chains. More morphological details can be referred to Figure S3 in the Supporting Information.

Fig. 3
figure 3

Scanning electron microscopy (SEM) images of fibers. SEM images of a PEDOT:PSS fiber pre-treated with dimethyl sulfoxide (DMSO) (abbreviated as P/D) in a low and b high magnifications. SEM images of an H2SO4-treated PEDOT:PSS fiber with a treatment duration of 2 h in c low and d high magnifications. SEM images of a NaBH4-treated PEDOT:PSS fiber with a treatment duration of 0.5 h in e low and f high magnifications

Figure 4a–c displays SEM images of cross-sectional views of fibers treated with H2SO4-NaBH4-EMIM:DCA/CH3OH at different magnifications. As can be seen, the fiber diameter was slightly decreased to 9.1 μm. The internal structure of the fibers along the cross-sectional direction also showed a well-organized arrangement, indicating that the ionic liquid EMIM:DCA treatment further removed the insulating PSS chains. More morphological details are described in Figures S4–5 in the Supporting Information. To further understand the mechanism by which the triple post-treatment improves the thermoelectric properties of PEDOT:PSS fibers, we conducted XRD, Raman spectroscopy, UV–Vis absorption spectroscopy, and XPS to investigate the structural changes. Figure 4d–e illustrates the XRD and Raman spectra of pristine fiber, and the fibers treated with H2SO4, H2SO4-NaBH4, and H2SO4-NaBH4-EMIM:DCA/CH3OH. For the XRD results, a characteristic peak was observed around 6.6° in the pristine fibers, corresponding to the alternate arrangement of layers on the (100) planes of PEDOT and PSS [25, 33,34,35]. Through H2SO4 treatment, H2SO4-NaBH4 treatment, and H2SO4-NaBH4-EMIM:DCA/CH3OH treatment, the peak at around 6.6° became sharper, indicating an increase in fiber crystallinity due to the efficient elimination of PSS [36, 37]. This is consistent with the SEM results. Crystallinity determines the effectiveness of charge transfer within the conjugated polymer crystalline domains and thus exhibits high electrical performance [8]. Such behavior of charge carriers within the domains is similar to that of metals, resulting in more effective charge carrier transport.

Fig. 4
figure 4

SEM images, X-ray diffraction (XRD) patterns, Raman spectra, X-ray photoelectron spectroscopy (XPS) patterns, and ultraviolet and visible (UV–Vis) absorption spectra of fibers. Cross-sectional SEM images of an EMIM:DCA/CH3OH-treated PEDOT:PSS fiber with a treatment duration of 4 h in a low, b medium, and c high magnifications. d XRD patterns and e Raman spectra of P/D, H2SO4-treated, H2SO4-NaBH4-treated, and H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers. The inset in d illustrates the structure of PEDOT:PSS. f Schematic models of the transformation from the benzenoid structure to the quinoid structure. g XPS and h UV–Vis absorption spectra of P/D, H2SO4-treated, H2SO4-NaBH4-treated, and H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers. i Illustration of the structural transition of PEDOT:PSS fibers during the triple post-treatments

Figure 4e displays the Raman spectra of the fibers untreated and treated with H2SO4, H2SO4-NaBH4, and H2SO4-NaBH4-EMIM:DCA/CH3OH, respectively. The Raman peaks between 1400 cm−1 and 1500 cm−1 are attributed to the stretching vibrations of Cα = Cβ on the thiophene rings of the PEDOT chain [38,39,40]. For pristine fibers, the characteristic absorption peak of PEDOT is observed at 1428 cm−1. The redshift of approximately 8 cm−1 observed in the peak at 1428 cm−1 after H2SO4 treatment demonstrates a transformation of the molecular conformation of PEDOT from a helical benzoid to a linear quinoid conformation [8]. Following dual treatment with H2SO4 and NaBH4, the Raman peak shifts from 1420 cm to 1424 cm−1. This is correlated with the deformation of the main chain during the chemical reduction process of polarons and neutral states and the transition between benzoid and quinoid types [37, 41]. After the treatment with EMIM:DCA/CH3OH solution, the Raman peak at 1424 cm−1 undergoes a redshift of around 6 cm−1. This indicates that the oxidation of the PEDOT molecules [8] has been reduced to a benzoid structure by NaBH4, back to a tilted quinoid structure, as shown in Fig. 4f. Benzoid and quinoid structures, which are two resonance forms, emerge from sp2-hybridized carbon atoms and conjugated chain segments in thiophene-based conjugated polymers. The curled conformation is favored by the benzoid structure, leading to a deviation of adjacent thiophene rings from each other because of the presence of relatively flexible C–C bonds. In contrast, the quinoid structure is constrained by stiff conjugated C = C bonds, forming a relatively broad and flat structure in the PEDOT main chain, and hence, it is the preferred structure for extending the curled configuration [38, 39, 42, 43]. Additionally, charge carriers often concentrate in the benzoid structure, whereas the uncurled structure in the quinoid type, resulting from the weaker binding between thiophene rings along the conjugated chain, facilitates charge carriers to move along their directional movement.

Figure 4g presents the XPS results of the S2p for PEDOT:PSS fibers. The peaks detected at 166–172 and 161–166 eV in the S2p XPS spectra can be attributed to sulfur atoms in PSS and PEDOT, respectively [27, 44,45,46]. Therefore, the ratio of PSS to PEDOT can be determined based on the intensity ratio of the PSS peak to the PEDOT peak. During the first H2SO4 post-treatment, PEDOT:PSS undergoes an interaction with H2SO4 through the reaction PSS  + H2SO4 → HSO4  + PSSH, resulting in a significant decrease in the PSS/PEDOT ratio. The further reduction in the PSS/PEDOT ratio after treatment with EMIM:DCA/CH3OH solution mainly results from the ion-exchange equilibrium reaction between EMIM:DCA and PEDOT:PSS, represented by PEDOT:PSS + EMIM:DCA → EMIM + PSS  + PEDOT + DCA. After the triple treatment with H2SO4-NaBH4-EMIM:DCA/CH3OH, the PSS/PEDOT ratio was maximally decreased, demonstrating effective removal of PSS, contributing to the formation of a more crystalline PEDOT structure within the fibers, thereby greatly enhancing the σ [18, 24, 32].

We also characterized the structural features and the chemical doping levels of all samples by UV–visible–NIR spectroscopy, as shown in Fig. 4h. Different oxidation states of PEDOT exhibit significant absorption at various wavelengths. Specifically, PEDOT chains display absorptions at around 600, 900, and 1400 nm in neutral, polaronic, and bipolaronic states, respectively [47, 48]. In undoped conjugated polymers, the neutral state is predominant, but it can transition to polaronic and bipolaronic states upon chemical or electrochemical oxidation [8, 49]. Regarding the band structure, polarons (bipolarons) generate localized electronic states within the bandgap by absorbing energy, leading to a localized upward shift of the highest occupied molecular orbital (HOMO) and a downward shift of the lowest unoccupied molecular orbital (LUMO) [50]. These newly formed localized electronic states are denoted as polaronic (bipolaronic) levels [50]. Compared to pristine fibers, the H2SO4-treated fibers show an increased spectral absorption at 1400 nm, indicating an elevated average oxidation level of the fibers. The H2SO4-NaBH4-treated sample exhibits an increased absorption at 900 nm but a reduced absorption at 1400 nm, suggesting that a substantial amount of bipolarons have been reduced to polarons, and NaBH4 can effectively reduce the oxidation state of PEDOT by facilitating the transition from the valence band to the conduction band [50]. This also explains why the σ was significantly decreased after NaBH4 treatment following H2SO4 treatment. NaBH4 can dedope PEDOT, localizing positive charges on PEDOT and reducing carrier concentration, leading to an increase in the S. Finally, the PEDOT:PSS fibers treated with H2SO4-NaBH4-EMIM:DCA/CH3OH show a significant increase in absorption related to polaronic and bipolaronic states, indicating an overall elevation in the oxidation level of the entire system, attributed to the transition from the occupied HOMO levels to the empty polaronic and bipolaronic levels [50]. In this case, the inter-chain coupling induces a transformation of the polaronic and bipolaronic states into corresponding band-like structures [50]. The connection of the two band-like structures reduces the band gap, making it easier for electronic charges to be delocalized and transported, similar to the behavior observed in metals [8].

Figure 4i illustrates the chemical structures of PEDOT and PSS, along with the inferred structures after triple treatments. Three corresponding mechanisms were employed to modify the chemical composition, polymer chain conformation, and oxidation level of PEDOT:PSS fibers, aiming to enhance both σ and S. The first mechanism involving polar solvents is well established. The original PEDOT:PSS is composed of a conductive core rich in PEDOT but insoluble, surrounded by an insulating hydrophilic PSS shell, where the PSS shell acts as a dopant to balance charges, improving the dispersing properties of PEDOT in water [31, 51, 52]. DMSO, a highly polar solvent, weakens the Coulombic attraction between PEDOT and PSS chains, which can effectively promote phase separation between PEDOT and the PSS shell [18, 25, 48, 53, 54]. The increase in σ is attributed, in part, to the second mechanism, selective removal of PSS relative to PEDOT. Internal treatment of PEDOT:PSS with H2SO4 and an ionic liquid, where the insulating PSS is selectively removed from PEDOT, results in the reorientation of PEDOT chains into a more conductive linear form [55,56,57,58]. H2SO4 and EMIM:DCA can undergo ion-exchange reactions with PEDOT:PSS, facilitating the well-organized arrangement of the conductive PEDOT chain within the fiber, reducing the potential barrier to transport charge carrier, and thereby enhancing the σ. The variation in S is mainly attributed to the third mechanism, which involves modulating the doping level of the PEDOT chains. The purpose of utilizing a strong reducing agent NaBH4 solution in the post-treatment is to enhance the S of PEDOT:PSS by modifying the oxidation level. The reduction process is reversible, causing a reverse molecular structural transition from quinoid features to benzenoid features. After the synergistic action of H2SO4, NaBH4, and EMIM:DCA/CH3OH triple treatment, PEDOT exhibits a partial reduction leading to the enhancement in both σ and S, which aligns with the observed changes in thermoelectric performance as depicted in Fig. 2.

To fabricate fiber-based TEDs, it is imperative to utilize conductive fibers that possess high tensile strength and flexibility, ensuring their stability during the assembling or weaving process to prevent breakage [24]. Figure 5a illustrates the tensile strength and elongation characteristics of pristine, H2SO4-treated, H2SO4-NaBH4-treated, and H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers. The results indicate a significant increase in tensile strength after H2SO4 treatment. Especially, the PEDOT:PSS fibers treated with H2SO4-NaBH4-EMIM:DCA/CH3OH exhibit approximately an increase of up to threefold higher tensile strength. Following multiple averaged tests, the calculated tensile strength and elongation of H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers were determined to be 458.2 MPa and 11%, respectively. Additionally, Fig. 5b presents the calculated Young's modulus of the fibers after various post-treatments, measuring the stiffness based on stress and elongation [24]. The Young's modulus of the prepared fibers exceeds 4.2 GPa for H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers. More detailed data are summarized in Table S2. These findings demonstrate that the fabricated fibers exhibit excellent flexibility, ensuring that fiber-based devices can offer superior comfort.

Fig. 5
figure 5

Mechanical properties of fibers. a Tensile strength and b Young’s modulus of P/D, H2SO4-treated, H2SO4-NaBH4-treated, and H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers as a function of elongation

To assess the potential for practical use of the triple-treated fibers, a pair of fiber-based PEDOT:PSS-nickel (Ni) TED was designed, as illustrated in Fig. 6a–b. Utilizing the Seebeck effect, the fiber-based TED can convert thermal energy into electrical energy. Initially, a pair of 2-cm-long p-type PEDOT:PSS fibers and n-type Ni wires were attached to a flexible PI substrate. When the flexible TED was placed on a heating stage, one end exposed to the air acted as the cold side, while the other end close to the heating stage served as the hot side. The intersections of the fibers were connected with silver paste, and the external circuit was connected with high-conductivity copper wires, as shown in Fig. 6c–d. Due to the resistance of the fiber being close to 2000 Ω, the optimal connection involved parallelly connecting two voltmeters in the circuit to measure the output performance. The optimum output power was measured by adjusting the external resistance. Figure 6e illustrates the relationship between the VOC and output power density of the TED at a ΔT of 10 K with varying load resistance. The effective device area is calculated using Eq. (2):

$${A}_{\text{total}}=n\times \left({A}_{\text{p}-\text{type}}+{A}_{\text{n}-\text{type}}\right),$$
(2)

where n is the number of thermocouples, and Ap-type and An-type represent the cross-sectional areas of the p-type and n-type legs, respectively [27, 59]. Based on the measured fiber diameter, the average effective device area per pair was calculated to be approximately 0.002 mm2. It is noteworthy that the peak output power of the device is achieved when the internal load resistance matches the external load resistance [60,61,62,63]. The calculated maximum output power density at the ΔT of 10 K was (60.18 ± 2.79) nW cm−2. Figure 6f plots the VOC and output power density of the fiber-based TED as functions of ΔT using a heating stage. As ΔT increases from 5 to 25 K, VOC increases from (0.12 ± 0.03) mV to (0.49 ± 0.02) mV, and the maximum power density increases from (0.027 ± 0.005) μW cm−2 to (0.28 ± 0.04) μW cm−2. Figure 6g displays the measured output voltage of the PEDOT:PSS-Ni TED at a ΔT of 10 K. To exhibit the excellent flexibility and stability of the H2SO4-NaBH4-EMIM:DCA/CH3OH-treated fibers, the changes in the S and resistance R were recorded after repeated bending and straightening, as shown in Fig. 6h–i. The R was decreased by less than 5%, and the S remained unchanged after 1000 bending cycles, indicating high fatigue resilience [29]. The H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers prepared in our work can withstand repeated deformation without significant changes in electrical performance. Our findings suggest significant potential for sustainable charging in low-grade wearable electronic devices.

Fig. 6
figure 6

Deviceization of the fibers. a Schematic diagram and b photograph of a TED consisting of one couple of thermoelectric legs reasonably post-treated PEDOT:PSS fibers and output performance test. One couple of legs is connected by silver paste. c Schematic diagram of the circuit of a TED for output performance test. d Photograph to demonstrate the open-circuit voltage (VOC) measurement with the as-designed device placed on the heating table. e VOC and output power density versus external resistance at 10 K. f VOC and maximum power density of one couple of legs at various ΔTs. g Photograph of the VOC test at 10 K. h Schematic diagram of bending stability test process. i Relative S and resistance R change (described as S/S0 and R/R0) of H2SO4-NaBH4-EMIM:DCA/CH3OH-treated PEDOT:PSS fibers after repeated bending

4 Conclusions

To manufacture flexible thermoelectric fibers with a high power factor, this study proposes a triple post-treatment of PEDOT:PSS fibers with H2SO4, NaBH4, and EMIM:DCA/CH3OH at room temperature. With optimized processing times, the σ is increased from (195.3 ± 43.5) to (1395.5 ± 31.5) S cm−1 through H2SO4 treatment and EMIM:DCA treatment. NaBH4 treatment at the optimized processing time raised the S from (14.1 ± 0.4) to (20.8 ± 0.8) μV K−1. Benefiting from the contributions of H2SO4, NaBH4, and EMIM:DCA/CH3OH, a power factor of (55.4 ± 1.8) μW m−1 K−2 was optimized. Both H2SO4 and EMIM:DCA/CH3OH treatments aided in the targeted elimination of excess PSS, serving as the internal insulating domains. Simultaneously, these treatments induced conformational changes in PEDOT chains from benzoyl to quinone characteristics through the oxidative dehydrogenation reaction. At the microstructure level, acid and ionic liquid treatment resulted in highly ordered layer-stacking structures, ensuring high charge carrier mobility, thus yielding an ultra-high σ. NaBH4 treatment, as the second process, optimized thermoelectric performance by adjusting the oxidation level. Additionally, p-n fiber-based TED is assembled for a quantitative evaluation of thermal collection efficiency. At a ΔT of 25 K, the device demonstrated a satisfactory output voltage of (0.49 ± 0.02) mV, particularly noteworthy for its high power density of up to (0.28 ± 0.04) μW cm−2, owing to the relatively small effective device area. This work offers inspiration for the development of high-performance PEDOT:PSS fiber-based wearable thermoelectric energy harvesting systems.