Introduction

Impurity doping of semiconductors is essential for most semiconductor devices, and the pn junction and complementary metal-oxide-semiconductor inverter are indispensable building blocks for devices manufactured today1. Likewise as in Si-based electronic devices, doping of organic semiconductors (OSCs) has been applied in various opto-electronic devices, such as organic light-emitting diodes2,3, organic field-effect transistors4,5,6, bipolar transistors7, organic photovoltaics8,9, and organic thermoelectric devices10,11,12,13. In inorganic semiconductors, control of charge polarity can be achieved in a straightforward way by an introduction of atomic dopants with different valences. On the other hand, doping of OSCs is achieved by an admixture of molecular reductants or oxidants into host π-conjugated molecules14,15. Although dopant molecules have a wide variety of size, conformation, and reactivity, candidate n-dopants (reductants) that achieve an efficient one-electron transfer and robust stability in material/device processing and under device operation conditions are rather limited to date. Efficient solid-state electron transfer requires that the reductant’s ionization potential (IP) is smaller than the OSC’s electron affinity (EA). Typical EAs of electron-transport OSCs range from less than 3.0 eV to ca. 4.0 eV, and thus strong reducing agents are required for electron doping (n-type doping) and electron-doped states are often sensitive to atmospheric oxygen and water.

A practical strategy to control the nature of ions in doped polymeric semiconductors has been demonstrated recently. Hole-doped polymeric semiconductors with various dopant anions have been explored by anion exchange and related doping methods16,17,18,19,20,21,22. The process of anion exchange doping is initiated by electron transfer reactions between semiconductors and oxidants, where the cationic semiconductors and oxidant-derived anions form intermediate donor-acceptor ion pairs. Then, an introduction of secondary anions can give rise to a spontaneous anion exchange in the polymeric semiconductors. The most important feature of ion-exchange doping is the ability to separate the two fundamental requirements in molecular dopants; the strength of redox reactivity and guarantee of charge neutrality by self-ionization. As a reducing agent for electron doping, for instance, cobaltocene (CoCp2)23 with reasonably low IP (4.1 eV in the solid state)24 has been known to results in efficient but air-unstable electron doping for n-type OSCs25. In particular, reversible electron transfer between CoCp2 and n-type OSCs means equilibrium concentrations of air-sensitive and volatile neutral CoCp2 remain in doped OSCs and can ultimately lead to dedoping through reaction with air and/or sublimation. If cation exchange is applicable to CoCp2 doped OSCs, various stable and redox-inert molecular cations X+ could be introduced to electron-doped polymers ([OSC•− CoCp2+] → [OSC•− X+]), while utilizing the moderately strong reducing nature of CoCp2.

In this study, we developed a cation-exchange doping method that enables the electron doping of semicrystalline polymeric semiconductors with stable and redox-inert closed-shell cations. The doped thin films were evaluated by UV-Vis absorption spectroscopy, elemental analysis, photoelectron spectroscopy, and electrical conductivity measurements. Our experimental observations supported our model of cation-exchange doping, as shown in Fig. 1a. The semiconductor thin films electron-doped via our method showed ambient stability depending on the molecular cation species introduced during ion exchange. In our study, high ambient stability was observed when a conjugated polymer thin film was doped with the bulky 1,3-dimesitylimidazolium (dMesIM+, Fig. 1b) cation. Interestingly, the π-stacking of the polymeric semiconductor was maintained upon doping only when dMesIM+ was employed, while use of other cations disturbed the π-stacking. Cation exchange doping with a wide choice of dopant cations will help facilitate explorations of the structure-property relationships in electron-doped OSCs.

Fig. 1: Cation-exchange doping.
figure 1

a Illustration of the cation-exchange doping process. b Chemical structures of the employed ionic compounds. c UV-Vis absorption spectra of pristine and CoCp2-doped P(NDI2OD-T2) thin films. UV-Vis absorption spectra of P(NDI2OD-T2) thin films processed with combinations of (d) CoCp2 and TBA+ salts (e) CoCp2 and TPP+ or dMesIM+ salts. UV-Vis spectra were all acquired in ambient air. The spectra are shown with offsets to improve the visibility.

Results and discussion

Confirmation of cation-exchange doping

UV-Vis measurements were employed to evaluate the doping efficiency of our method in a widely studied polymeric semiconductor, poly[N,N’-bis(2-octyldodecyl)naphthalene-1,4,5,8-bis(dicarboximide)-2,6-diyl]-alt-5,5’-(2,2’-bithiophene) (P(NDI2OD-T2))26. P(NDI2OD-T2) thin films were spin-coated on glass substrates and then thermally annealed. The thin films were chemically doped by immersing them in a doping solution containing cobaltocene (CoCp2) with or without salts of organic cations. All the fabrication processes were conducted in a N2-purged glove box, and absorption measurements were conducted in ambient air without encapsulation. The absorption spectra of a pristine (undoped) P(NDI2OD-T2) thin film is shown in Fig. 1c, where the lowest energy absorption peak is ca. 704 nm. The spectrum of a thin film doped using a solution containing only CoCp2 is nearly identical to that of the pristine film. Although the thin film showed color changes upon chemical doping in the glove box, its color returned to that of the undoped film upon air exposure. This behavior is ascribed to the dedoping of the once-electron-doped thin film upon air exposure owing to the instability of CoCp223,25. When a combination of CoCp2 and tetrabutylammonium (TBA) chloride was employed, the features of electron-doped P(NDI2OD-T2)25 were observed via the measurement in ambient air (Fig. 1d), indicating that unlike the CoCp2-doped film, this thin film does not undergo rapid dedoping. Here, the intensity of the lowest energy excitation of pristine P(NDI2OD-T2) with a peak at 704 nm was decreased. At the same time, new features with peak at 496, 696, and 798 nm emerged. The peak observed in the pristine film at 392 nm moves to slightly shorter wavelength of 370 nm. All of these features agree with the changes in UV-Vis spectra observed during electrochemical doping of this polymer from neutral to radical anion state27. In this study, TBA+ salts with PF6 and bis(trifluoromethanesulfonyl)imide (TFSI) were also employed (Fig. 1d). The observed ambient stability of the doped state indicates that the anionic charges in the doped polymer thin films are not compensated by CoCp2+ but rather by TBA+ through the mechanism described in Fig. 1a. Note that these spectral changes were not observed when P(NDI2OD-T2) thin films were immersed in salt solutions without CoCp2 (Supplementary Note 2), suggesting both salts and CoCp2 play key roles. Improvements in the ambient stability of all the employed counter-anions imply that this phenomenon is not a anion-specific reaction but likely to be an ion-exchange reaction where anions simply serve as spectator ions. Combinations of CoCp2 and the bulky organic cations of tetraphenylphosphonium (TPP+) and dMesIM+ were also tested; in this case, absorption spectra similar to those obtained with the TBA+ salts were obtained (Fig. 1e). While a pristine P(NDI2OD-T2) thin film showed conductivity on the order of 10−8 S cm−1, all the samples doped with combinations of CoCp2 and salts showed conductivity on the order of 10−5 S cm−1 in air, which supports that the observed changes in UV-Vis spectra are ascribed to introduction of electrons in P(NDI2OD-T2) thin films. Detail of conductivity measurements and IV curves are available in Supplementary Note 3.

The identity of the dopant cations introduced into the P(NDI2OD-T2) thin films was further confirmed from the elemental composition revealed by X-ray photoelectron spectroscopy (XPS). Thin films of P(NDI2OD-T2) were prepared in the same manner as for the absorption measurements, except that the glass substrates were coated with Cr/Au prior to the fabrication of the polymer films. The undoped P(NDI2OD-T2) thin film shows peaks from C 1s, N 1s, O 1s, and S 2p which is in agreement with the chemical structure of P(NDI2OD-T2) (Fig. 2a–d) Please see Supplementary Notes 4 and 5 for detailed peak analysis and spectra in a wide energy range. For the CoCp2-doped thin film, peaks assigned to Co 2p were also observed (Fig. 2e). When CoCp2 and dMesIM-Cl were employed in the chemical doping process, the peak intensity of Co 2p normalized by that of C 1s decreased by c.a. 87% compared with that of the CoCp2-doped sample. In the N 1s region, peaks from different binding energies are overlapping, which was deconvoluted to nitrogen atoms in P(NDI2OD-T2) (399.71 ± 0.02 eV) and dMesIM+ (401.63 ± 0.01 eV). The binding energy of the latter matches well with a literature value for a imidazolium structure28. Quantitative analysis suggests that the molar ratio of dMesIM+/P(NDI2OD-T2) monomer was 0.85, suggestive of a high doping level at least near the surface of the film, assuming a homogeneous distribution of dopant ions. Please see Supplementary Note 4 for detail of deconvolution procedures. These observations suggest that the majority of CoCp2 and its cationic form are replaced by dMesIM+ during doping. When CoCp2 and TPP-Cl were employed for chemical doping, the peak intensity of Co 2p became comparable with that of the dMesIM+-doped sample. A clear P 2p peak was observed, indicating that TPP+ is present in this thin film (Fig. 2f). The molar ratio of TPP+/P(NDI2OD-T2) monomer was estimated to be 1.10. Overall, the absorption, conductivity and XPS measurements support the supposition that cation exchange occurs in our chemical doping method, in which P(NDI2OD-T2) thin films are mainly doped with bulky organic cations such as TPP+ and dMesIM+.

Fig. 2: Elemental analysis of the electron-doped conjugated polymers.
figure 2

XPS signals obtained from the pristine, CoCp2-doped, and cation-exchange-doped P(NDI2OD-T2) thin films. The names of the cation species are denoted for the cation-exchange-doped samples. The signals of the peak positions for (a) C 1s, (b) N 1s, (c) O 1s, (d) S 2p, (e) Co 2p, and (f) P 2p are shown.

The IP values of the cation-exchange-doped thin films were evaluated using photoelectron yield spectroscopy (PYS). In this method, photoelectron yield was obtained while sweeping the wavelength of incident UV light. In the analysis of the PYS measurements, the cube root of the photoelectron yield was plotted, the threshold of which showed the IP values of the organic materials29. The IP of the undoped P(NDI2OD-T2) originates from the highest occupied molecular orbital (HOMO) of the polymer, which is evaluated to be 5.8 eV and close to the reported value30 (Fig. 3a). When this polymer is heavily electron-doped, a large decrease in IP is expected because of the filling of the lowest unoccupied molecular orbital (LUMO) with electrons. Such large shifts in IP were observed for the TPP+- and dMesIM+-doped thin films (Fig. 3b). The resulting IP is comparable with the known LUMO level of this polymer30, which supports the successful electron doping of the LUMO of P(NDI2OD-T2).

Fig. 3: Photoelectron yield spectroscopy measurements of the electron-doped conjugated polymers.
figure 3

Plots of the photoelectron yields obtained from the (a) pristine and (b) cation-exchange-doped P(NDI2OD-T2) thin films. The names of the cation species are denoted for the cation-exchange-doped samples.

Ambient stability

The effects of the dopant cations on the stability of the doped P(NDI2OD-T2) thin films were evaluated using UV-Vis measurements. Based on the measured IP values, the electron-doped P(NDI2OD-T2) thin films are expected to be dedoped under ambient conditions owing to their redox reactions with water and oxygen2. In this study, dimeric dopants that showed moderate ambient stability before and after chemical doping25,31 were also tested as a comparison. Dimers of 2-(4-dimethylaminophenyl)-1,3-dimethylbenzo[d]imidazole (N-DMBI) and RuCp*Mes (Cp* = pentamethylcyclopentadienyl; Mes = 1,3,5-trimethylbenzene) were dissolved in a doping solution without salts. In this case, N-DMBI+ and RuCp*Mes+ are the dopant cations for the electron-doped P(NDI2OD-T2). The absorption spectra of the processed thin films measured under ambient conditions showed the features of electron doping consistent with the literature27, demonstrating the superior ambient stability of these dopants compared with CoCp2 (Fig. 4a, b). However, in our stability tests, the thin films doped with these dopants showed dedoping upon exposure to humid air of 20 °C and 80% relative humidity for 1 h. Dedoping was suggested also for thin films doped with TBA+ or TPP+ through cation exchange in the stability test (Fig. 4c, d). By contrast, the thin film doped with dMesIM+ exhibited improved stability in humid air. The ratio of doped fraction in a thin film, θ, was evaluated for the dMesIM+-doped sample based on the UV-Vis spectra (Fig. 4f). θ was defined to be unity at 0 h in the durability test and calculated based on the relative area of the peak at 509 nm that appears in doped samples. Please see Supplementary Note 6 for detail. Conductivity also showed prolonged lifetime when using this dopant (Supplementary Fig. S2).

Fig. 4: Stability of the electron-doped polymer thin films under humid conditions.
figure 4

UV-vis spectra of doped P(NDI2OD-T2) thin films before and after exposure to humidity conditions of 20 °C and 80% RH. Doping with (a) (RuCp*Mes)2, (b) (N-DMBI)2, (c) TBA+ exchange, (d) TPP+ exchange, and (e) dMesIM+ exchange were employed. f Doping level θ estimated for dMesIM+-doped thin film.

The ambient stability of OSCs doped with redox-inert closed-shell ions has recently been discussed, and the effects of the ion size16,18 and supramolecular structures32,33 of semiconductor-dopant pairs have been reported. Given the ion-size effect and calculated volumes of dopant cations (Table 1), it is unclear why the dMesIM+-doped thin film shows higher stability than the films doped with other dopant cations. One possibility is that the crystalline structure of the film affects the stability of the doped state32,33, as discussed below.

Table 1 Volumes of dopant cation molecules

Thin-film structures

The crystalline structures of the electron-doped P(NDI2OD-T2) thin films were evaluated through X-ray scattering measurements (Fig. 5a–f), which proved that the dopant cation species had considerable effects on the structures. Pristine P(NDI2OD-T2) show the features of face-on orientations34 (Fig. 5a). The (h00) diffraction peaks originating from the lamellar structures were observed mainly in the in-plane direction, whereas the (010) peak originating from π-stacking appeared in the out-of-plane direction (Fig. 5g–j). To evaluate changes in thin-film structures upon chemical doping, the (100) peak intensity observed in the in-plane direction I(100)IP, out-of-plane direction I(100)OP, and their sum I(100)total were estimated (See Supplementary Note 7 for fittings). Table 2 shows the ratio of the out-of-plane peak intensity to the total one, I(100)OP/I(100)total. TPP+-doped film did not show clear diffraction peaks, which suggests disordered structure for this sample. TBA+-, N-DMBI+-, and RuCp*Mes+-doped films showed values close to unity, suggesting greater fractions of the films were edge-on orientated or the crystallinities of the edge-on oriented fractions were higher compared to the pristine film. Note that in spin-coated films with randomly oriented polymer main chains, only small fractions of polymers with a specific angle to the incident x-ray can contribute to the in-plane direction diffraction peak, which decreases the intensity of in-plane to out-of-plane diffraction. This explains I(100)OP/I(100)total of 0.53 for the pristine film, which has been reported to be face-on oriented34. In the in-plane direction, a clear peak at 0.9 Å−1 was observed for RuCp*Mes+-doped film (Fig. 5j); this peak is assigned to order along the main chain direction, i.e. to a (001’) reflection34,35. This feature is consistent with a semicrystalline edge-on oriented character for the RuCp*Mes+-doped film.

Fig. 5: X-Ray scattering measurements of P(NDI2OD-T2) thin films doped with various dopants.
figure 5

X-Ray scattering images of P(NDI2OD-T2) thin films (a) in pristine state and after doping with (b) (N-DMBI)2, (c) (RuCp*Mes)2, (d) TBA+ exchange, (e) TPP+ exchange, (f) and dMesIM+ exchange. g, h Plots of intensities and their magnified versions for the out-of-plane and (i, j) the in-plane directions.

Table 2 Ratio of (100) diffraction peaks observed in the in-plane and out-of-plane directions

The dMesIM+-doped thin film exhibited a relatively small value for I(100)OP/I(100)total compared to other dopants. In addition to this, (010)π-stacking peak at 1.6 Å−1 in the out-of-plane direction was maintained for this dopant but was not observed for the other dopants around this position (Fig. 5h). This feature was not observed when other imidazolium-based cations were used (Supplementary Note 8). The clear difference in crystalline structures with different dopants suggests that the choice of cation species has an impact on the crystalline structure, which affects the transport properties and ambient stability of the doped states. Face-on oriented, π-stacked structures in the dMesIM+-doped thin film could contribute to the improved ambient stability observed in our study.

Conclusion

In this study, we developed the cation-exchange doping method for polymeric semiconductors. Successful cation exchange from CoCp2 to stable and redox-inert closed-shell cations was confirmed by absorption and XPS elemental analyses. The electron doping of the P(NDI2OD-T2) thin films was also confirmed by PYS measurements, where large shifts in IP were observed owing to the filling of the density of states in the LUMO of P(NDI2OD-T2). Durability under humid conditions was dramatically improved by employing dMesIM+ in our method. The observed durability may be affected by the crystalline structures of the doped thin films. X-Ray scattering measurements showed that the cation species exerts considerable effects on the crystallinity and orientation of the electron-doped thin films. Our method presents new opportunities for future research on the structure-property relationships in doped materials with various dopant cations and the development of high-performance electron-doped OSCs.

Methods

Thin-film fabrication

High-purity glass substrates were employed for the optical and electrical measurements. Glass or Si substrates with naturally oxidized layers were employed for the X-ray scattering measurements. Glass substrates coated with Cr/Au electrodes were used for the XPS and PYS measurements. P(NDI2OD-T2) thin films were deposited via spin-coating. The resulting films were annealed on a hotplate at 180 °C for 30 min and then slowly cooled. The thickness of the films was determined to be 70 ± 5 nm using a Dektak surface profilometer. The P(NDI2OD-T2) thin films were doped by immersion in the dopant solutions for 5 min in an N2-purged glove box. Detailed descriptions of the film preparation and doping procedures are presented in the Supplementary Note 1.

Thin-film evaluations

UV-Vis absorption spectra were obtained in air using a V-670 (JASCO) spectrometer. Electrical conductivities were measured in air using a Keithley 2612B source meter. XPS measurements were performed using a KRATOS ULTRA 2 instrument with monochromatic Al Kα X-rays. PYS spectra were obtained with a SUMITOMO PYS-202 system under vacuum using a turbomolecular pump system; here, a deuterium lamp (xenon lamp) was employed for the pristine (doped) thin films. 2D X-Ray scattering images were obtained using a RIGAKU SmartLab instrument with a MicroMax-007HF X-ray generator employing Cu Kα radiation (λ = 0.15418 nm).

DFT calculations

Structural optimization and evaluation of the molar volumes of the molecular ions were conducted using Gaussian 16 software. The B3LYP functional and 6-31+G(d) basis set were employed. The Lanl2DZ basis set was employed for RuCp*Mes+, which includes a Ru atom.