Introduction

Organic solar cells (OSCs) have emerged as a promising candidate for next-generation photovoltaics, owing to their unique attributes such as lightweight, flexibility, and suitability for solution-based large-area fabrication1,2,3. The field has witnessed remarkable progress in power conversion efficiencies (PCEs), now exceeding 20%4, primarily driven by innovations in non-fullerene acceptors (NFAs) including the ITIC5, IT-4F6, Y67, and subsequent derivative families8,9,10,11. While the NFA library has expanded considerably, the development of high-performance polymer donors has progressed at a slower pace, creating a noticeable imbalance in the material portfolio available for efficient OSC devices. Current high-performance polymer donors, exemplified by PM612, D1813, and PBQx-TF14 (Supplementary Fig. 1), rely predominantly on two-dimensional conjugated (2D-conjugated) thiophene-substituted benzodithiophene (BDTT)-based polymers15,16,17,18. These polymers typically require extended conjugated backbones and complex molecular structures to precisely tailor absorption spectra, energy levels, and crystallinity properties. Such structural complexity increases syntheses difficulties and production costs, hindering the industrialization of OSCs. In contrast, linear conjugated polymers lack suspended side-conjugated blocks, featuring simpler structures and more straightforward synthesis routes, which make them more suitable for cost-effective, scalable OSC fabrication19,20,21,22,23,24. However, their photovoltaic performance still lags behind BDTT-based polymers, primarily due to challenges in controlling nanoscale morphology.

Photoelectric conversion processes in OSCs, including exciton formation, charge generation, transport, and extraction, occur almost entirely within the active layer. Consequently, the morphology of the active layer critically bridges photophysical processes and device performance, playing a decisive role in performance optimization25,26,27,28,29,30. Although processing methods like solvent/additive selection, thermal annealing, or solvent vapor annealing can modulate phase evolution, the principle governing factors remain the intrinsic aggregation behaviors of the active materials, donor-acceptor interactions, and film-formation kinetics31,32. For instance, weak polymer aggregation in solution yields highly dispersed polymer chains, which raises the crystallization barrier33,34 and persists in the solid-state, thereby impeding the formation of an ordered fibrillar network. Conversely, excessive aggregation can induce severe donor-acceptor phase separation during film formation, resulting in excessively large domains and poor exciton dissociation33,34. High-performance BDTT-based conjugated polymers usually exhibit controllable pre-aggregation in solution, as evidenced by temperature-dependent absorption spectroscopy17,35. The tailored aggregation is maintained in the solid state, promoting the formation of rope-like polymer semicrystals. Therefore, precise control of conjugated polymer aggregation in solution is essential for optimizing the solid-state active layer morphology and achieving high-performance OSCs.

Polymer aggregation is governed by interchain interactions. While alkyl chain engineering can modulate these interactions and adjust aggregation strength36,37, the inherent flexibility and conformational disorder of carbon–carbon single bonds often disrupt polymer packing, reduce molecular orientation, and degrade crystallinity and charge transport. An alternative strategy involves direct backbone modification. Introducing fluorine atoms, leveraging their small atomic radius and high electronegativity, is an efficient strategy to tune energy levels, improve backbone planarity, and strengthen intra- and intermolecular interactions38,39. Despite these advantages, fluorination faces practical limitations including low synthesis yields, difficulties in byproducts removal, and high costs. Chlorination offers a more viable pathway40,41. Chlorine atoms can be incorporated into backbones more readily at lower cost40,42,43, and their moderate Pauling electronegativity help deepen the highest occupied molecular orbital (HOMO) levels, thereby optimizing donor-acceptor energy level alignment. Crucially, the vacant 3d-orbitals of chlorine enable non-covalent interactions (e.g., Cl···π, Cl···S)40, allowing fine regulation over polymer aggregation and donor-acceptor compatibility.

Building on our previous development of high-performance, thiazolothiazole-based linear conjugated polymer donors featuring temperature-dependent aggregation characteristics44,45, this study demonstrates precise modulation of polymer aggregation behavior through strategic backbone chlorination. We design a series of linear conjugated polymers (PTTz-Clx, where x = 0, 50, 100) by incorporating varying proportions of 3,4-dichlorothiophene (2ClT). These polymers are efficiently synthesized from low-cost starting materials in only seven to nine reaction steps. Increasing the 2ClT content systematically enhances polymer aggregation, raises surface tension, and reduces thermodynamic compatibility with the acceptor BTP-eC9. Among them, PTTz-Cl50 exhibites optimal aggregation strength and donor-acceptor compatibility, effectively regulating phase separation kinetics during film formation. This results in a well-defined bicontinuous interpenetrating network with appropriate domain size and high phase purity. The optimized morphology gives a balanced exciton dissociation, charge transport, extraction, and recombination suppression. As a result, PTTz-Cl50-based devices achieve a PCE of 20.42%, which is a high value for linear conjugated polymer-based OSCs. This work elucidates how aggregation behavior and donor-acceptor compatibility govern film formation kinetics and active layer morphology. It further reveals that the performance gap with BDTT-based polymers originates from the formation of optimally sized pre-aggregates in solution. Deeper insight into this structure-property-performance relationship is essential for rationally designing high-performance yet low-cost conjugated polymers and will accelerate the commercialization of organic photovoltaics.

Results

Polymer design and properties

The chemical structures of the PTTz-Clx polymers are shown in Fig. 1a, with synthetic routes detailed in Supplementary Fig. 2. The key monomer 2ClT-Sn was synthesized in two steps with a high overall yield. The target polymers were obtained in only seven to nine total synthetic steps, which demonstrates significantly lower synthetic complexity than BDTT-based polymers12,13,14,35. Gel permeation chromatography (GPC) analysis (Supplementary Fig. 3) reveals similar number-average molecular weights (Mn) and dispersity (ĐM) values across the polymers, which minimizes the potential impacts of molecular weight on aggregation, morphology, and device performance. All polymers exhibit excellent solubility in common organic solvents such as chloroform, chlorobenzene, o-dichlorobenzene, enabling solution-processed device fabrication. Thermogravimetric analysis (TGA) confirms sufficient thermal stability, with 5% weight loss temperatures (Td) exceeding 400 °C for all polymers (Supplementary Fig. 4). In contrast to BDTT-based polymers, differential scanning calorimetry (DSC) reveals distinct melting and crystallization peaks of these linear conjugated polymers (Supplementary Fig. 5), indicating an ordered molecular arrangement. Both melting (Tm) and crystallization temperature (Tc) increase progressively with 2ClT content. Specifically, Tm rises from 279 °C (PTTz-Cl0) to 293 °C (PTTz-Cl50) and further to 327 °C (PTTz-Cl100), while Tc increases from 275 °C to 279 °C and then to 298 °C, respectively, suggesting enhanced crystallinity upon chlorination. Although higher crystallinity generally favors charge transport, hole mobilities (μh) measured by the space-charge-limited-current method increase only moderately, from 1.68 × 10–3 cm2 V–1 s–1 for PTTz-Cl0 to 1.82 × 10–3 cm2 V–1 s–1 for PTTz-Cl50 and 2.20 × 10–3 cm2 V–1 s–1 for PTTz-Cl100 (Supplementary Fig. 6). This limited enhancement can be attributed to the changes in molecular orientation, as is discussed in the following section.

Fig. 1: Polymer design and aggregation behavior.
Fig. 1: Polymer design and aggregation behavior.
Full size image

a Chemical structure of the PTTz-Clx polymers. b Crystal structures of the model compounds 3 T and 3T-Cl. c Temperature-dependent absorption spectra of the polymers in chlorobenzene solutions. d Relative aggregation strength of the polymers at different temperatures. e SANS curves of the polymers in CDCl3 solution. Source data are provided as a Source Data file.

Ultraviolet–visible (UV–Vis) absorption spectra of the polymer solutions in chloroform and as thin films are presented in Supplementary Fig. 7. In solution, all polymers absorb in the 300–650 nm range, showing distinct peaks attributed to intramolecular charge transfer transitions along with associated vibronic progressions, labeled as the main peak (A0-1) and the shoulder (A0-0), respectively46,47. Notably, increasing the 2ClT content progressively enhances the intensity and induces a bathochromic shift of the A0-0 shoulder, indicating a more ordered molecular packing48, which stems from the enhanced interchain interactions and significant solution-phase pre-aggregation49,50,51. Similar trends are observed in the solid-state spectra, suggesting that the ordered molecular stacking is preserved from solutions to film49,50,51. All polymer films exhibit absorption onsets (λonset) around 650 nm, corresponding to optical bandgaps (Egopt) of approximately 1.90 eV (Supplementary Table 1), which complement the absorption profiles of efficient Y6 derivatives. Furthermore, cyclic voltammetry (CV) measurements reveal progressively downshifted lowest unoccupied molecular orbital (LUMO) and HOMO energy levels with increasing 2ClT content (Supplementary Fig. 8), consistent with the electron-withdrawing effect of chlorine.

To probe the impact of 2ClT incorporation on molecular conformation and electronic properties, we conduct density functional theory (DFT) calculations52. Methyl-substituted tetramers were employed to model the polymer backbones. As illustrated in Supplementary Fig. 9, all polymers exhibit planar backbones, which facilitate intramolecular electron delocalization and strengthen interchain π–π stacking, thereby benefiting charge transport. The LUMO/HOMO wavefunctions are both delocalized along the molecular backbone (Supplementary Fig. 10). The computed LUMO/HOMO levels decrease systematically from −2.92/−5.08 eV for PTTz-Cl0 to −3.01/−5.16 eV for PTTz-Cl50 and −3.08/−5.25 eV for PTTz-Cl100, aligning well with the CV measurements. The experimentally and computationally confirmed downshifted HOMO levels are expected to contribute to a higher open-circuit voltage (Voc) in devices. The DFT-calculated intramolecular Cl···S distance (3.19 Å) is significantly shorter than the sum of their van der Waals radii (3.55 Å)53,54, suggesting the presence of Cl···S non-covalent interactions (NCIs). We quantified NCI strength using the descriptor S, which correlates with molecular planarity, orbital angles, and atomic distances55. As proposed by Liu et al., an S value ≥ 0.14 indicates effective NCIs. Analysis at two backbone positions for each polymer (Supplementary Fig. 9 and Supplementary Table 2) revealed clear trends. PTTz-Cl0 shows negligible S values, indicating no effective intramolecular NCIs. PTTz-Cl50 exhibits localized effective NCIs (S = 0.003 at position 3 and S = 0.175 at position 4). PTTz-Cl100 displays robust S values (0.174 and 0.178) at both positions, confirming prevalent intramolecular NCIs. These pronounced Cl···S interactions in chlorinated polymers should enhance backbone planarity and improve conformational stability.

To validate the impact of Cl···S interactions on polymer conformation and intra-/intermolecular packing, we grew single crystals of model compounds 2,2’:5’,2”-terthiophene (3 T) and 3’,4’-dichloro-2,2’:5’,2”-terthiophene (3T-Cl) via liquid diffusion for X-ray diffraction analysis. The quality of the crystal structures is validated using checkCIF (Supplementary Figs. 11 and 12 and Supplementary Datas 1 and 2). The refined crystal structures (Fig. 1b and Supplementary Table 3) show that both molecules adopt nearly planar configurations with small torsion angles. Compound 3 T exhibits two distinct conformations, with thiophene units adopting contralateral orientations and slightly different dihedral angles (Supplementary Table 4). The intramolecular H···S distance in 3 T (2.95 ± 0.1 Å) is close to the sum of van der Waals radii (3.00 Å), indicating no significant NCI. Adjacent 3 T molecules adopt a slipped packing mode without discernible π − π interactions. In contrast, the intramolecular Cl···S distance in 3T-Cl (3.19 Å) is significantly shorter than the sum of van der Waals radii (3.55 Å), confirming a strong intramolecular NCI. This interaction stabilizes a single molecular conformation in 3T-Cl and promotes face-to-face packing with a π–π stacking distance of 3.57 Å, highlighting enhanced conformational stability and strengthened intermolecular interactions.

Polymer aggregation in solution

Polymer aggregation behaviors were probed by temperature-dependent UV–vis absorption spectrascopy in dilute chlorobenzene solutions (Fig. 1c). As the temperature increases from 25 to 95 °C, all polymers show a gradual decrease in the A0-0 peak intensity along with a blue shift of the A0-1 peak, confirming their temperature-dependent aggregation characteristics. For PTTz-Cl0, the A0-0 peak vanishes completely at 85 °C, whereas PTTz-Cl50 retains this peak even at 95 °C, indicating stronger interchain interactions induced by chlorination. Predictably, PTTz-Cl100 shows minimal spectral changes, consistent with robust aggregation (Fig. 1d). Dynamic light scattering (DLS) in chloroform further supports these trends, showing hydrodynamic diameters (Z-average size) of 357.9 nm for PTTz-Cl0, 483.5 nm for PTTz-Cl50, and 519.8 nm for PTTz-Cl100 (Supplementary Fig. 13). Among the series, PTTz-Cl50 exhibits a suitable pre-aggregation strength, favorable for optimizing active layer morphology in devices56.

To understand the performance gap between linear conjugated polymers and high-performance BDTT-based polymers, we compared the solution-state aggregation of the designed polymers with the conventional linear conjugated polymer P3HT26 and the high-performance BDTT-based polymer D1813 by small-angle neutron scattering (SANS). Given that PTTz-Cl0 still exhibits notable temperature-dependent aggregation, we specifically synthesized another control polymer 4HD-Cl50 (Supplementary Fig. 14), which shares the same backbone and chlorination degree with PTTz-Cl50 but features an altered alkyl chain position, introducing steric hindrance and thereby molecular twisting. The SANS data (Fig. 1e and Supplementary Fig. 15) are well fitted using a cylinder model based on the Guinier–Porod approximation57, yielding the radius (R) and contour length (L) of the pre-aggregates. Both R and L increase progressively with chlorination, from 27.9/275 Å for PTTz-Cl0 to 32.4/304 Å for PTTz-Cl50, and further to 46.0/337 Å for PTTz-Cl100 (Supplementary Fig. 16). The radius of gyration (Rg), reflecting the overall size of the scattering objects, is calculated as Rg2 = L2/12 + R2/2. The Rg values also rise consistently, from 81.8 to 90.7 Å and finally to 102.6 Å, reflecting the formation of progressively larger pre-aggregates. Notably, the Rg values of the chlorinated polymers approach that of the high-performance polymer D18 (99.9 Å), whereas P3HT and the more twisted 4HD-Cl50 show smaller Rg values (60.9 and 56.7 Å), suggesting weaker aggregation propensity. Upon blending with the acceptor BTP-eC9, both L and R of the scattering objects increase, but to varying extents, revealing anisotropic growth of polymer assemblies. The axial ratio (L/R) is used to quantify this growth orientation. As illustrated in Supplementary Fig. 17, the PTTz-Clx series and D18 blends exhibit similar ratios around 10, while 4HD-Cl50 and P3HT show higher ratios that are increased by nearly 50%. These results indicate that strongly aggregating linear conjugated polymers tend to form thicker fibers, resembling those in high-performance D18, whereas weakly aggregating counterparts tend to form wispy fibrous structures. Critically, these solution-phase fibrous assemblies can be carried over into solid-state, ultimately governing the active layer morphology and thereby device performance.

Molecular packing and arrangement

Two-dimensional grazing-incidence wide-angle X-ray scattering (2D-GIWAXS) was employed to characterize molecular packing in neat polymer films58,59. The 2D-GIWAXS patterns and corresponding one-dimensional line-cut profiles are presented in Fig. 2a, b, with relevant lattice parameters summarized in Supplementary Tables 5 and 6. All polymers exhibit distinct out-of-plane (OOP) (010) π–π stacking peaks and (h00) lamellar diffractions, along with concurrent in-plane (IP) (010) and (100) peaks, indicating mixed face-on and edge-on orientations. With increasing 2ClT content, diffraction intensities shift systematically. OOP (010) intensity decreases while (100) increases, and the reverse trend is observed in the IP direction, suggesting a gradual transition from face-on to edge-on orientation. This shift stems from enhanced intermolecular interactions, which promote preferential chain-chain interactions over chain-substrate interactions, leading to more pronounced edge-on orientation in neat films60,61,62,63. The edge-on orientation impedes charge transport perpendicular to the substrate, resulting in a trade-off between molecular orientation and crystallinity that yields no significant improvement in hole mobility. The non-linear variation in (010) peak position with chlorine content may be associated with the ternary random copolymerization in PTTz-Cl50. To quantify the evolution in molecular orientation, pole figures of the (010) and (100) diffraction peaks are analyzed. For the (010) peaks, the face-on population (Az) integrates the sin-corrected intensities within (−45°, 45°), while the edge-on population (Axy) covers ± (45°, 90°). The azimuthal intensity distribution reveals nearly constant face-on fractions but substantially increased edge-on fractions with 2ClT content (Fig. 2c). The Az/Axy ratio decreases from 4.24 for PTTz-Cl0 to 1.25 for PTTz-Cl50 and 0.31 for PTTz-Cl100, corresponding to a reduction in face-on π–π stacking population from 81% to 56% and further to 24% (Fig. 2d). Additionally, higher 2ClT content enhances polymer crystallinity, as is evidenced by increased diffraction peak intensities and integrated areas for the same crystallographic planes. The relative degree of crystallinity (rDoC), proportional to the integrated GIWAXS intensity, quantifies the crystalline volume fraction within the films58. The rDoC derived from the integrated intensity of the (010) pole figures, increases from 9.24 for PTTz-Cl0 to 15.03 for PTTz-Cl50 and 38.63 for PTTz-Cl100 (Supplementary Fig. 18 and Supplementary Table 7), demonstrating a significant enhancement in crystallinity. A similar trend is observed for the (100) lamellar stacking (Supplementary Fig. 19 and Supplementary Table 7). Importantly, PTTz-Cl50 exhibits moderate crystallinity in both π–π and lamellar directions, enabling efficient charge transport while avoiding excessive crystallization during film formation. In polymer:acceptor blends, all systems display distinct OOP (010) π–π stacking and prominent IP (100) lamellar peaks (Supplementary Fig. 20 and Supplementary Table 8), indicating a dominant face-on orientation. Although the neat polymer films exhibit bimodal orientation, the edge-on population reorients to a face-on configuration in the blends, likely due to polymer-acceptor π–π interactions and reduced π-stacking strength of the polymers in the presence of the acceptor60,64. Such face-on orientation facilitates efficient charge transport perpendicular to the substrate.

Fig. 2: Molecular packing in neat polymer films.
Fig. 2: Molecular packing in neat polymer films.
Full size image

a 2D-GIWAXS patterns. b 1D line-cut profiles in OOP and IP direction. c Azimuthal integration (pole figures) of the (010) π–π stacking peak. d Quantified face-on and edge-on orientation populations. Source data are provided as a Source Data file.

Morphology analysis

To understand how polymer aggregation and crystallinity influence blend film microstructure, we characterized the morphology of the blend films processed from chloroform with 0.5 vol% diphenyl ether (DPE) using transmission electron microscopy (TEM) and atomic force microscopy (AFM). TEM images (Fig. 3a–c) reveals a relatively homogeneous morphology for the PTTz-Cl0:BTP-eC9 blend. In contrast, PTTz-Cl50:BTP-eC9 exhibits a well-defined fibrillar network structure, similar to the high-performance D18:BTP-eC9 reference (Supplementary Fig. 21)65, indicating appropriate phase separation conducive to device performance. The PTTz-Cl100:BTP-eC9 blend, however, displays strong bright/dark contrast in TEM, reflecting excessive phase separation and overly large domains that reduce donor/acceptor interfacial area and impair exciton dissociation. For the weakly aggregated polymers 4HD-Cl50 and P3HT, their higher solubility likely promots liquid-liquid phase separation during film formation, leading to coarse domains with large bright and dark regions (Supplementary Fig. 21). AFM height images (Fig. 3d–f) are consistent with this trend. The PTTz-Cl0:BTP-eC9 blend has a smooth surface with a root-mean-square roughness of 1.47 nm, while roughness increases slightly to 1.73 nm for PTTz-Cl50:BTP-eC9 and further to 2.41 nm for PTTz-Cl100:BTP-eC9. All the blends develop fine fibrillar networks (Supplementary Fig. 22), resembling the morphology of the D18-based blend (Supplementary Fig. 23). By comparison, 4HD-Cl50:BTP-eC9 and P3HT:BTP-eC9 blends exhibit noticeable pits or protrusions in AFM height images (Supplementary Fig. 23), likely due to liquid-liquid phase separation and large differences in solid-state density between the polymer donor and small-molecule acceptor. These distinct morphological outcomes underscore how aggregation and crystallinity govern active layer structure, ultimately dictating the device performance differences observed among linear conjugated polymers and BDTT-based polymers.

Fig. 3: Morphology of the blend films.
Fig. 3: Morphology of the blend films.
Full size image

a–c TEM images. Scale bar: 200 nm. d–f AFM height images. Scale bar: 400 nm. g–i AFM-IR chemical distribution maps.

To directly visualize the distribution of nanoscale donor and acceptor phases, atomic force microscopy-infrared spectroscopy (AFM-IR) mapping were performed (Fig. 3g–i)66, employing the characteristic BTP-eC9 absorption peak at 1364 cm−1 (Supplementary Fig. 24) for identification. In the PTTz-Cl0:BTP-eC9 blend, a largely intermixed morphology (red regions) is observed, providing ample donor/acceptor interfaces favorable for exciton dissociation. The PTTz-Cl50:BTP-eC9 blend develops slightly enlarged and purified acceptor domains, forming an interpenetrating fibrillar network with well-defined phases separation, a structure conducive to both efficient exciton dissociation and continuous charge transport. Conversely, PTTz-Cl100:BTP-eC9 shows excessive phase separation with overly large domains, which significantly reduce the interfacial area and impair exciton dissociation. To determine the origin of these distinct bulk heterojunction morphological differences, we evaluate the thermodynamic compatibility between polymer donors and BTP-eC9 using the Flory–Huggins interaction parameter (χ)67. Contact angle measurements with water and ethylene glycol on pristine polymer and BTP-eC9 films are used to estimate χ values (Supplementary Fig. 25). Increasing the 2ClT content progressively increases contact angles on polymer surfaces, corresponding to a decrease in surface tension (Supplementary Table 9). The calculated χ values increase from 0.14 κ for PTTz-Cl0:BTP-eC9 to 0.17 κ for PTTz-Cl50:BTP-eC9 and 0.22 κ for PTTz-Cl100:BTP-eC9. The low χ value for PTTz-Cl0:BTP-eC9 signifies higher donor-acceptor compatibility, yielding a finely mixed phase. Moderate chlorination reduces compatibility, slightly enlarging domain size in PTTz-Cl50:BTP-eC9 blends, while excessive chlorination results in poor compatibility and oversized phase separation in PTTz-Cl100:BTP-eC9, consistently explaining the observed morphological trend.

Film-formation kinetics

In addition to thermodynamic factors, film-formation kinetics play a critical role in determining the final bulk-heterojunction morphology. To study the dynamic processes influenced by polymer aggregation, we first performe in-situ UV–vis-NIR absorption measurements on PTTz-Clx:BTP-eC9 blends in chloroform (Supplementary Fig. 26). The polymer donors exhibit negligible spectral changes during film formation, indicating that strong pre-aggregation has already formed in solution and is retained in the solid state, ultimately contributing to a continuous polymer network. In contrast, the acceptor BTP-eC9 displays notable spectral evolution as the solvent dried. Based on variations in absorption intensity and peak position, the film formation process can be divided into three distinct stages: a dissolved state (S1), nucleation and growth (S2), and solid-film formation (S3)68,69. During S1, dominated by the evaporation of chloroform, the absorption profile of BTP-eC9 remains nearly unchanged. In S2, continued solvent loss induces supersaturation and acceptor precipitation69, accompanied by a drop in absorption intensity and a red-shift of the absorption peak. S3 corresponds to the final solid film with stabilized spectral characteristics. As shown in Supplementary Fig. 26, all blends undergo rapid nucleation and growth within 1 s, with PTTz-Cl50 exhibiting a slightly extended crystallization period.

Under device fabrication conditions (CF with 0.5 vol% DPE), as the primary solvent evaporation concluds, the high-boiling additive DPE promots further acceptor reorganization, enhancing molecular ordering and inducing an additional red shift (Fig. 4a–c and Supplementary Fig. 27). This step is designated as S2a. As shown in Fig. 4d, in the highly compatible PTTz-Cl0:BTP-eC9 system, S1 lasts 1 s, followed by rapid concurrent donor-acceptor solidification during S2 and S2a (0.89 s total), leaving little time for molecular reorganization and resulting in mixed phases. For PTTz-Cl50:BTP-eC9, the prolonged S2 stage (1.44 s) enables synchronous donor-acceptor assembly, promoting adequate interfacial contact. Subsequent DPE-assisted ordering in S2a supports the formation of continuous and ordered acceptor domains (Fig. 4e). In the poorly compatible PTTz-Cl100:BTP-eC9 system, strong polymer aggregation drives rapid solidification within ~1 s (Fig. 4f), while low compatibility causes the precipitating donor to expel the acceptor. Subsequent DPE-induced ordering of the isolated acceptor then forms oversized, high-purity domains, which detrimentally hinder exciton dissociation and charge extraction, ultimately degrading device performance. Therefore, synergistic control of polymer aggregation and film-formation kinetics is essential to achieving an optimal active layer morphology (Fig. 4g). Appropriate polymer aggregation promotes well-ordered pre-aggregates of optimal size in solution, which persist into the solid film. Suitable donor-acceptor compatibility enables controlled deposition and ordered assembly of both components during film formation, preventing excessive mixing while avoiding oversized domains caused by rapid solidification.

Fig. 4: Film formation kinetics of the blends.
Fig. 4: Film formation kinetics of the blends.
Full size image

a–c Time-dependent UV–vis absorption spectra during solvent drying. d–f Evolution of the peak position and intensity for the donor and acceptor. g Schematic diagram of the phase evolution leading to optimal morphology. Reprinted from Current Opinion in Green and Sustainable Chemistry, 5, Caitlin McDowell, Guillermo C. Bazan, Organic solar cells processed from green solvents, 49–54, Copyright (2017), with permission from Elsevier. Source data are provided as a Source Data file.

Photovoltaic performance

The photovoltaic performance of the synthesized polymers are assessed in conventional architecture OSCs. A comprehensive device optimization is undertaken by systematically varying fabrication conditions. The current density versus voltage (JV) characteristics for the best-performing devices are displayed in Fig. 5a, with the corresponding photovoltaic parameters summarized in Table 1. The PTTz-Cl0-based device achieves a PCE of 17.30%, with a Voc of 0.826 V, a Jsc of 27.27 mA cm−2, and an FF of 76.83%, which is better than our previously reported value as a result of optimized fabrication conditions44. Notably, the PTTz-Cl50-based device yields a PCE of 20.42%, accompanied by a Voc of 0.856 V, a Jsc of 29.79 mA cm−2, and an FF of 80.13%. The external quantum efficiency (EQE) spectrum of the PTTz-Cl50-based device exhibits significant enhancement across 450–850 nm (Fig. 5b), covering both donor and acceptor absorption regions, indicating superior photon utilization. The integrated Jsc of the optimal device agrees well with the JV measurement. We also characterized the internal quantum efficiency of the champion device and the substrate transmittance (Supplementary Fig. 28), confirming the reliability of the EQE data. This efficiency represents a high value for OSCs based on linear conjugated polymer donors to date (Fig. 5c and Supplementary Tables 1014). The Voc enhancement primarily results from the deeper-lying HOMO level of PTTz-Cl50, while concurrent improvements in Jsc and FF are ascribed to the finely improved active layer morphology. However, further increasing the 2ClT content to 100% yields a reduced PCE of 15.35%. Although the Voc slightly increases to 0.866 V, both the Jsc (25.95 mA cm−2) and FF (69.72%) drop dramatically, ultimately compromising overall device performance. Likewise, devices based on 4HD-Cl50:BTP-eC9 and P3HT:BTP-eC9 exhibit inferior performance (Supplementary Table 15).

Fig. 5: Photovoltaic performance and device physics.
Fig. 5: Photovoltaic performance and device physics.
Full size image

a JV curves of the optimal devices. b EQE spectra. c Statistical distribution of PCEs for devices based on linear conjugated polymer donors. d Electron and hole mobilities extracted from single-carrier devices. e Voc versus light intensity. f TPV decay kinetics. g TPC decay kinetics. h Mott–Shockley plots. i DOS distribution derived from C–f measurements. Source data are provided as a Source Data file.

Table 1 Device parameters of the OSCs based on PTTz-Clx:BTP-eC9 blends under AM1.5 G (100 mW cm–2) irradiation

To gain deeper insight into the Voc characteristics, we analyzed energy loss (∆Eloss) via highly sensitive EQE and electroluminescence (EL) measurements (Supplementary Fig. 29). According to Shockley–Queisser (SQ) limit theory, the total Eloss in OSCs is composed of ΔE1 (intrinsic radiative recombination loss), ΔE2 (radiative loss from sub-bandgap states), and ΔE3 (non-radiative recombination loss, calculated as −kBTln(EQEEL)). While ΔE1 is similar across all devices, the PTTz-Cl50-based device exhibits the smallest ΔE2 (0.040 eV), compared to PTTz-Cl0 (0.052 eV) and PTTz-Cl100 (0.051 eV). Moreover, the chlorinated systems exhibit higher EQEEL values than the non-chlorinated PTTz-Cl0 counterpart (Supplementary Fig. 30a). This enhancement leads to a corresponding reduction in ΔE3 from 0.244 eV (PTTz-Cl0) to 0.214 eV (PTTz-Cl50) and 0.200 eV (PTTz-Cl100), as shown in Supplementary Fig. 30b and Supplementary Table 16. The concurrent suppression of ΔE2 and ΔE3 thus accounts for the higher Voc values in chlorinated polymer-based devices. Beyond efficiency, the operational stability of the optimal PTTz-Cl50-based device against the D18 reference is evaluated by tracking the maximum power point under simulated 1-sun white-light illumination. After 400 h of continuous illumination, the PTTz-Cl50-based device retains 80% of its initial efficiency, whereas the D18-based counterpart loses over 30% (Supplementary Figs. 31 and 32), highlighting the potential of the developed linear conjugated polymers for achieving both high efficiency and excellent stability. Besides, device performance with o-xylene and CS2 in a 1:1 volume ratio as solvent shows performance comparable to those using chloroform (Supplementary Fig. 33 and Supplementary Table 17), demonstrating suitability for green-solvent and large-scale processing. Given the simple structure and outstanding photovoltaic performance, we further assesse the synthetic accessibility of PTTz-Clx polymers via synthetic complexity (SC) analysis (Supplementary Tables 18 and 19). The SC values are 38.68%, 47.05%, and 42.6% for PTTz-Cl0, PTTz-C50, and PTTz-Cl100, respectively. Although PTTz-Cl50 involves three comonomers and shows slightly higher synthetic complexity, its SC remains lower than that of benchmark BDTT-based polymers (e.g., D18: 81.70%, PBQx-TF: 78.59%, PM6: 68.91%, PB2F: 75.17%). We further calculate the figure of merit (FOM = PCE/SC). PTTz-Cl0 and PTTz-Cl50 achieve exceptional FOMs of 0.45 and 0.43, respectively, significantly surpassing BDTT-based polymers (e.g., D18: 0.25, PBQx-TF: 0.25, PM6: 0.29, PB2F: 0.25). This favorable balance between synthetic accessibility and high efficiency renders PTTz-Cl50 exceptionally promising for practical applications.

Charge carrier dynamics

To elucidate the mechanism behind the enhanced photovoltaic performance, we investigate the charge transfer characteristics of the blend films using steady-state photoluminescence (PL) quenching measurements. All PTTz-Clx:BTP-eC9 blend films exhibit over 99% donor quenching efficiencies (Supplementary Fig. 34). The acceptor quenching efficiency slightly decreases to 96% for PTTz-Cl50:BTP-eC9 (98% for PTTz-Cl0:BTP-eC9), but severely to 90% for PTTz-Cl100:BTP-eC9 (Supplementary Fig. 35 and Supplementary Table 20). The diminished acceptor quenching efficiency suggests reduced dissociation of acceptor-generated excitons and hindered hole transfer to the donor, likely stemming from enlarged acceptor aggregates. The exciton dissociation probability (Pdiss) within operational devices, determined from photocurrent density versus effective voltage plots70, corroborates this trend (Supplementary Fig. 36). Regarding charge transport, all blends exhibit hole mobility comparable to their pure counterparts (Fig. 5d). Electron mobilities in the blends increase with 2ClT content, attributed to the formation of continuous transport pathway. The μh/μe ratios are 1.18 for PTTz-Cl0:BTP-eC9, 1.04 for PTTz-Cl50:BTP-eC9, and 0.55 for PTTz-Cl100:BTP-eC9. The charge transport imbalance in PTTz-Cl100:BTP-eC9 likely contributes to charge accumulation and recombination, thereby degrading device performance.

To elucidate the dominant charge recombination mechanisms in the devices, we examine the dependence of the Voc on light intensity71,72,73. The slope of this relationship, characterized by an ideality factor n, helps distinguish between recombination pathways. A value of n ~ 1 is indicative of bimolecular recombination being predominant71, whereas n approaching 2 suggests that trap-assisted recombination is the primary loss mechanism72,73. As shown in Fig. 5e, the extracted n values are 1.16, 1.11, and 1.27 for PTTz-Cl0-, PTTz-Cl50-, and PTTz-Cl100-based devices, respectively. The lower n values for PTTz-Cl0- and PTTz-Cl50-based device confirm suppressed trap-assisted recombination. Transient photovoltage (TPV) measurements provided further insight into carrier dynamics. Figure 5f shows that the photocarrier lifetimes (τrec) is prolonged in the PTTz-Cl50-based device (31.97 μs) compared to PTTz-Cl0- (27.92 μs) and PTTz-Cl100-based device (22.36 µs), directly evidencing suppressed charge recombination. Moreover, the PTTz-Cl50 device exhibits the shortest charge extraction time (τext = 0.137 μs), shorter than those of PTTz-Cl0 (0.160 µs) and PTTz-Cl100 (0.212 µs) (Fig. 5g), signifying more efficient charge collection74. In summary, the superior Jsc and FF observed for the PTTz-Cl50-based device arise synergistically from the efficient exciton dissociation, rapid and balanced charge transport, suppressed recombination, and accelerated charge extraction.

To elucidate the superior performance of the PTTz-Cl50 device, we characterize the trap density in the active layers via capacitancevoltage (C–V) measurements and Mott–Schottky analysis75. In the linear Mott–Shockley regime (C²–V), the slope corresponds to the trap density (NA) and the intercept to the built-in voltage (Vbi). NA is calculated using Eq. (1):

$${N}_{{{\rm{A}}}}=\frac{-2}{q{\varepsilon }_{{{\rm{r}}}}{\varepsilon }_{0}{A}^{2}}(\frac{{{\rm{d}}}V}{{{{\rm{d}}}C}^{-2}})$$
(1)

where εr is the relative dielectric constant (assumed as 3 for organic semiconductors), ε0 is the vacuum permittivity, and A is the device area. Figure 5h shows a slightly steeper slope for PTTz-Cl50 than PTTz-Cl0, but a shallower slope for PTTz-Cl100. Consequently, NA decreases from 1.22 × 1016 cm−3 (PTTz-Cl0) to 1.03 × 1016 cm−3 (PTTz-Cl50), then increased to 1.95 × 1016 cm−3 (PTTz-Cl100) (Supplementary Fig. 37 and Supplementary Table 22). This indicates that appropriate backbone chlorination reduces trap density, while excessive chlorination elevates it. The depletion width (W), derived from NA and Vbi via Eq. (2)76:

$$W=\sqrt{\frac{2{\varepsilon }_{{{\rm{r}}}}{\varepsilon }_{0}({V}_{{{\rm{bi}}}})}{q{N}_{{{\rm{A}}}}}}$$
(2)

is largest for PTTz-Cl50 (165 nm), exceeding those for PTTz-Cl0 (152 nm) and PTTz-Cl100 (129 nm). This extended depletion width confirms full depletion across the entire active layer in the PTTz-Cl0- and PTTz-Cl50-based OSCs, but not in PTTz-Cl100-based device. Capacitancefrequency (C–f) measurements are further conducted to probe the density of states (DOS) distribution within the active layer77. Trap energy (Eω), which is frequency-dependent as Eω = kTln(ω0/ω) with ω0 = 1012 s–1,78 allows extraction of the trap DOS using Eq. (3):

$${{\rm{DOS}}}\left({E}_{{{\rm{\omega }}}}\right)=\frac{{N}_{{{\rm{G}}}}}{\sigma \sqrt{2{{\rm{\pi }}}}}\exp (-\frac{{({E}_{{{\rm{\omega }}}}-{E}_{{{\rm{G}}}0})}^{2}}{2{\sigma }^{2}})$$
(3)

Single Gaussian fitting reveals superior trap characteristics for PTTz-Cl50-based OSC (Fig. 5i, Supplementary Fig. 38, and Supplementary Table 23). Its trap density (Nt = 2.22 × 1014 cm–3) is lower than those of the OSCs based on PTTz-Cl0 (6.52 × 1014 cm−3) and PTTz-Cl100 (6.93 × 1014 cm–3). The PTTz-Cl50-based device also exhibits the shallowest mean trap energy (Et = 0.36 eV) and narrowest Gaussian disorder width (σ = 30 meV). These favorable properties minimize carrier trapping while facilitating de-trapping, thereby suppressing recombination and enhancing Jsc and FF.

The excited-state behaviors of the blends are investigated by transient absorption (TA) spectroscopy (Fig. 6a–c). The TA spectra acquired over a nanosecond timescale used an 800 nm pump wavelength to selectively excite the acceptor (BTP-eC9). Following excitation, a decrease in the acceptor ground-state population appears as negative signal bands symmetrically aligned with its steady-state absorption features in the 810–870 nm region, assigned to acceptor ground-state bleach (GSB). This GSB signal decays as the acceptor relaxes to its ground state. Notably, negative signals also emerge in the 500–650 nm range, corresponding to donor GSB. As excitation was selective to the acceptor, the donor GSB signals arises exclusively from hole transfer from the excited acceptor to the donor. Thus, the donor GSB signal intensity directly indicates hole transfer efficiency. The PTTz-Cl0:BTP-eC9 blend exhibits the most intense donor GSB signal (Fig. 6d–f), indicating the most efficient hole transfer. This high efficiency is attributed to excellent D/A compatibility, which facilitates ample D/A interface formation, enabling effective exciton dissociation into free charges and efficient hole transfer to the donor. Excitons generated distal to D/A interfaces dissociate less efficiently, deteriorating charge transfer. This is reflected in the progressively diminished donor GSB signal intensity with higher chlorination levels.

Fig. 6: Transient absorption spectroscopy analysis.
Fig. 6: Transient absorption spectroscopy analysis.
Full size image

a–c TA color maps of the blend films after 800 nm excitation. d–f TA spectra obtained from panels. g-i TA kinetics probed at the acceptor (820 nm) and donor (610 nm) ground-state bleach signals. Source data are provided as a Source Data file.

By extracting the GSB kinetics at 820 and 610 nm, the hole transfer dynamics are analyzed (Fig. 6g–i). The kinetic traces reveal an instantaneous peak in acceptor GSB post-excitation, concomitant with a sharp rise in donor GSB. This immediate response signifies ultrafast exciton dissociation and direct hole transfer at the donor/acceptor interfaces. Subsequently, the acceptor signal decays gradually while the donor signal exhibits a slow, continuous increase. This slower component originates from diffusion-mediated exciton dissociation and charge transfer. Therefore, the hole transfer process comprises two distinct pathways: an ultrafast interface-driven process and a slower diffusion-mediated process. These kinetics are modeled using a biexponential function:

$$I={A}_{1}\left(1-{e}^{\frac{-t}{{\tau }_{1}}}\right)+{A}_{2}\left(1-{e}^{\frac{-t}{{\tau }_{2}}}\right)$$
(4)

where τ1 represents the ultrafast interfacial hole transfer lifetime and τ2 denotes the lifetime of the diffusion-mediated process, governed by domain size. Typically, longer τ2 indicates larger phase separation scales. As summarized in Supplementary Table 24, all blends exhibit comparable τ1 values (0.4 ± 0.1 ps), suggesting similar ultrafast exciton dissociation kinetics at the donor/acceptor interface. The τ2 for PTTz-Cl0:BTP-eC9 (4.8 ps) is slightly shorter than that for PTTz-Cl50:BTP-eC9 (5.5 ps), consistent with its marginally refined morphology. In contrast, PTTz-Cl100:BTP-eC9 shows a substantially longer τ2 (13.6 ps). This unambiguously demonstrates that enlarged acceptor domain sizes result from excessive chlorination of the polymer donors, which impede exciton dissociation.

Discussion

In summary, this study elucidates the performance gap between linear conjugated polymers and high-efficiency BDTT-based polymers, revealing that precise control of polymer aggregation and donor-acceptor compatibility governs film-formation kinetics and active layer morphology. By incorporating the 2ClT unit into the linear conjugated polymer backbone, Cl···S non-covalent interactions promote polymer pre-aggregation and enhance crystallinity. Concurrently, increased chlorination lowers the polymer surface energy, thereby reducing its compatibility with the NFA. The designed polymer PTTz-Cl50 achieves a balance between aggregation tendency and acceptor compatibility, which facilitates sequential crystallization of the donor and acceptor, leading to an optimal bi-continuous fibrillar network morphology. This morphology promotes rapid charge generation, balanced charge transport, and suppressed recombination, ultimately enabling OSCs based on PTTz-Cl50 to achieve an outstanding PCE of 20.42%. These findings highlight how deliberate molecular design can steer film formation and morphology to achieve high performance in cost-effective OSC systems, enhancing the potential of simple linear conjugated polymers as efficient donor materials for low-cost photovoltaic applications.

Methods

Gel permeation chromatography (GPC)

The molecular weights of the polymers were determined using an Agilent Technologies PL-GPC 220 high-temperature chromatography in 1,2,4-trichlorobenzene at 150 °C against a calibration curve of polystyrene standards.

Thermogravimetric analyses (TGA)

TGA measurements were conducted with a NETZSCH (TG209F3) apparatus at a heating rate of 20 °C min−1 under a nitrogen atmosphere.

Differential scanning calorimetry (DSC)

DSC measurements were performed on a NETZSCH DSC200F3 apparatus under a nitrogen atmosphere. The first cycle used heating/cooling rates of 10/20 °C min−1, and the second cycle used rates of 10/40 °C min−1.

Density functional theory (DFT) calculation

Geometry optimizations and frontier molecular orbital calculations were performed using Gaussian at the B3LYP/6-31 G (d, p) level. All alkyl chains were substituted with methyl groups to simplify the computations.

Single crystal X-ray diffraction

Single-crystals of 3 T and 3T-Cl were grown via slow diffusion of ethanol (a poor solvent) into their chloroform solutions (a good solvent). A suitable crystal was selected and mounted on a Rigaku XtaLAB P2000 diffractometer. The crystal was maintained at 100 K during data collection. After data reduction, the structure was solved using the Intrinsic Phasing method in ShelXT and refined using the least-squares minimization method in ShelXT.

UV–vis absorption spectra

UV–Vis absorption spectra of the polymers in chloroform solutions and as thin films were recorded on a SHIMADZU UV-3600 spectrophotometer. The solution concentration was 0.02 mg mL−1. Thin films were prepared by spin-coating onto glass substrates.

Cyclic voltammetry (CV)

CV measurements were conducted on a CHI660A electrochemical workstation using a 0.1 M solution of tetrabutylammonium hexafluorophosphate (Bu4NPF6) in acetonitrile as the electrolyte. A glassy carbon electrode, a platinum wire, and an Ag/AgCl electrode served as the working, counter, and reference electrode, respectively. The ferrocene/ferrocenium (Fc/Fc+) redox couple was used as an internal standard, with its absolute energy set to −4.80 eV relative to vacuum. The HOMO and LUMO energy levels were calculated using the following equations: EHOMO = −e(Eox onset + 4.80 – E1/2Fc/Fc+) and ELUMO = –e(Ere, onset + 4.80 − E1/2Fc/Fc+), where Eox, onset and Ere, onset are the onset potential for oxidation and reduction, respectively, referenced to the Fc/Fc+ couple. The half-wave potential E1/2Fc/Fc+ was determined to be 0.42 V.

Dynamic light scattering (DLS)

DLS was used to measure the size and size distribution of polymer aggregates in solutions. Measurements were performed using a HORIBA SZ-100Z instrument at 25 °C. Polymer samples were dissolved in chloroform at a concentration of 0.05 mg mL−1.

Small-angle neutron scattering (SANS)

SANS experiments were conducted on the BL-2 (SANS) and BL-14 (VSANS) beamlines at the China Spallation Neutron Source. For the VSANS beamline (BL-14), data were collected using neutron wavelengths ranging from 2.2 to 6.7 Å, with a collimation length of 12.75 m, providing a q range of 0.001–2.5 Å−1. For the SANS beamline (BL-2), data were collected using neutron wavelength from 2 to 9.15 Å with a sample-to-detector distance of 5 m, covering a q range of 0.0045–0.375 Å-1. The data were fitted using the SasView 5.0.6 software. Samples were prepared as solutions in CDCl3 at concentrations of 7.0 mg mL−1 for PTTz-Clx, 4HD-Cl50, P3HT, and 5.6 mg mL−1 for D18. For donor:acceptor blends, a 1:1.2 weight ratio was used, matching the precursor solution for film deposition. All samples were loaded into quartz cells with a 2 mm path length, and scattering profiles were acquired at 25 °C.

Device fabrication

Patterned ITO glass substrates were cleaned sequentially by sonicating in detergent, deionized water at room temperature, followed by sonication in isopropanol bath. Each step lasted 15 min. The substrates were then treated with oxygen plasma for 5 min. A Ph-4PACz layer was then spin-coated onto the ITO substrates at 2000 rpm for 30 s, resulting in a thickness of ~5 nm, and then baked at 85 °C for 6 min. The substrates were then transferred into a nitrogen-filled glove box. The active layer (PTTz-Clx:BTP-eC9) was deposited under the optimized conditions: a donor:acceptor ratio of 1:1.2 (w/w), a chloroform solvent containing 0.5 vol% DPE, and thermal annealing at 100 °C for 10 min. The resulting active layer thickness was approximately 135 nm. Subsequently, a PNDIT-F3N layer (~5 nm) was spin-coated from a solution in methanol/ethanol mixture (v/v = 1/3, 0.5 mg mL−1) at 2000 rpm for 20 s. Finally, a 100 nm Ag electrode was thermally evaporated at a pressure of 5 × 10−6 Torr. For devices processed with non-halogenated solvents, the solvent was replaced with an o-xylene/CS2 mixture (1:1, v/v), all other fabrication steps were identical. The evaporated Ag electrode defined a device area of 0.0516 cm2. During testing, a steel mask was used to defined an accurate active area of 0.0324 cm2.

Photovoltaic performance measurements

The photovoltaic performance was measured under AM1.5 G irradiation (100 mW cm−2) using a solar simulator (Enlitech, Taiwan). The light intensity was calibrated with a reference monocrystalline silicon solar cell (Enlitech) certified by the China General Certification Center. The current density–voltage (JV) curves were recorded with a Keithley 2400 source meter.

External quantum efficiencies (EQEs)

EQE spectra were measured using a QE system (QE-R3011, Enlitech, Taiwan). The light intensity was calibrated with a standard monocrystalline silicon photovoltaic cell (Enlitech).

Light-intensity dependence measurements

These measurements were performed under illumination intensities from 10 to 100 mW cm−2. The light intensity was calibrated with a standard monocrystalline silicon solar cell (Enlitech). The current density and voltage were recorded with a Keithley 2400 source meter.

Steady-state photoluminescence (PL)

PL spectra were acquired using a Shimadzu RF-6000 spectrometer. Quenching efficiencies were determined by comparing the PL intensity of neat and blend films at their respective excitation wavelengths.

FTPS-EQE and EL-EQE measurements

FTPS-EQE was measured using an integrated system (PECT-600, Enlitech) with a lock-in amplifier. EL-EQE was measured by applying an external voltage/current to the devices using an REPS-Pro (Enlitech). All devices for EL-EQE were fabricated under optimal conditions. The applied voltage for EL-EQE range from 0 to 1.8 V.

Atomic force microscopy (AFM)

AFM images were obtained using a Bruker Multimode 8 Microscope AFM in tapping mode.

Atomic force microscope-infrared spectroscopy (AFM-IR)

AFM-IR images were acquired using a Bruker nanoIR3 in tapping-mode.

Transmission electron microscopy (TEM)

TEM images were acquired using a JEM-2100F transmission electron microscope operated at 200 kV.

Grazing incidence wide-angle X-ray scattering (GIWAXS)

GIWAXS measurements were performed on the 9 A and 6D USAXS beamlines at the PLS-II, Korea. X-rays from an in-vacuum undulator were monochromated to a wavelength of  1.11 Å using a double-crystal monochromator and focused to 450 (H) × 60 (V) μm2 (FWHM) at the sample position using K-B type mirrors. Scattering patterns were recorded with a 2D CCD detector (Rayonix SX165) using exposure time of 6−9 s, depending on the detector saturation. The diffraction angles were calibrated using a sucrose standard (monoclinic, P21, a = 10.8631 Å, b = 8.7044 Å, c = 7.7624 Å, β = 102.938 Å). The sample-to-detector distance was approximately 231 mm.

In-situ UV–vis absorption spectra

In situ UV–vis absorption spectra were recorded in transmission mode using an Ocean Optics QE Pro spectrometer with a time resolution of 0.5 s. The film formation process was monitored in reflection mode using a Filmetrics F20-EXR spectrometer with a time resolution of 0.04 s. Both measurements were performed on silicon substrates using the same precursor solutions as for device fabrication.

Fabrication and characterization of single-carrier devices

Hole-only devices with a structure of ITO/Ph-4PACz/active layer/MoO3/Ag and electron-only devices with a structure of ITO/ZnO/active layer/PNDIT-F3N/Ag were fabricated. Charge carrier mobilities were extracted from the JdV characteristics, measured by applying a voltage from 0 to 4 V using a Keithley 2400 source meter.

Contact angle measurements

Contact angles were measured using a DataPhysics OCA40 Micro instrument. Samples were prepared by casting films onto Ph-4PACz-coated ITO substrates. Images were captured 60 s after droplet deposition. The surface tension was calculated from the contact angles of water and ethylene glycol using the Owens–Wendt–Kaelble (OW) method, where γd and γp represent the dispersive and polar components, respectively.

Femtosecond transient absorption characterization

TA measurements were performed using a home-built system. The system is driven by a commercial femtosecond laser amplifier (Legend Elite F 1 K HE + II, Coherent) operating at 1 kHz, with a pulse duration of ~170 fs and a central wavelength of 800 nm, which is seeded by an 80 MHz oscillator (Mira-HP, Coherent). The output beam is split into two. One beam pumps a home-built non-collinear optical parametric amplifier to generate the tunable pump pulse. The pump beam is modulated at 500 Hz by a mechanical chopper (MC2000B-EC, Thorlabs). The other beam is focused onto a sapphire plate to generate a supercontinuum white-light probe. The probe light is dispersed by a monochromator (Omni-λ200i, Zolix) and detected by a CCD (Pascher Instruments). The time delay between pump and probe pulses is controlled by a mechanical delay line. All samples were measured in an optical chamber under a nitrogen atmosphere.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.