Introduction

With the rapid development of nanoelectronics, one-dimensional semiconductor nanostructures1, 2, 3, 4, 5, 6—including nanowires,7, 8, 9 nanotubes,10, 11 nanofibers12, 13 and nanocrystal,14, 15—are receiving increasing attention because their unique geometries (low dimensions and large surface-to-volume ratios) suggest many practical applications in electronics, photonics and optoelectronic devices.16, 17 π-conjugated polymers are organic semiconductors featuring delocalized π-electrons with a wide band gap that defines their affinity for electrons; they can be doped electrochemically to form p- or n-type materials18, 19 that behave as amorphous organic semiconductors. Because of their electronic conductivity, these materials are good candidates for developing diodes, optically responsive species, electrical on/off switches, photodetectors and chemical sensors.20, 21, 22 Nevertheless, conducting polymers are only single key elements in such systems—they must assemble with other materials to form the superstructures of the final devices. Combining the conducting polymers with different receptor units (for example, metals and inorganic semiconductors) can produce new composite materials exhibiting distinct architectures and properties not exhibited by their individual components.23, 24 The p–n junction is of great importance both in modern electronic applications and in our understanding of heterojunction−semiconductor interfaces and surfaces. The rational design of p–n junctions can lead to the synthesis of new molecular materials. Recently, the self-assembly of p–n junctions has led to interesting electrical and photoelectrical properties on the nanoscale.25 We are unaware, however, of any reports with respect to the fabrication of three-segment nanowires with dual p–n heterojunctions as a new principle device for a logic gate—namely, devices featuring two diodes in series on two interfaces in an independent nanowire. Broadly speaking, the logic gate performs a logical operation on one or more logical inputs. We report herein the fabrication of heterojunction structures combining three kinds of semiconductors; they exhibit multifunctionality as logic circuits and display unusual performance in electronic devices.

Experimental procedures

Materials

3,4-Ethylenedioxythiophene (EDOT), tetrabutylammonium perchlorate, lithium perchlorate (LiClO4), lead (II) chloride, sublimed sulfur, dimethyl sulfoxide, pyrole, acetonitrile and acetone were used in the synthesis process. All of the reagents were used as received. The anodic aluminum oxide (AAO) templates with a pore diameter of 200 nm and a thickness of 60 μm were purchased from Whatman Co. (Shanghai, China). The nanowires were synthesized by a homemade electoral cell.

Synthesis of PEDOT–PbS–PPY heterojunction nanowires

The general synthetic procedure for the preparation of PEDOT–PbS–PPY heterojunction nanowires are as follows: first, evaporate a layer of Au on one side of the AAO template as conducting layer, and then put the AAO template into a homemade electrolytic cell as working electrode and an saturated calomel electrode (SCE) reference electrode in a three-electrode electrochemical cell. Poly(3,4-ethylenedioxythiophene) (PEDOT) deposition was carried out from a 10 mM EDOT and 0.2 M tetrabutylammonium perchlorate acetonitrile solution by applying a voltage of 1.2 V (vs SCE) for an appropriate time (typically 2400 s). Thereafter, the AAO template containing PEDOT nanowires was used as a working electrode; PbS nanowires were deposited into the AAO template at a current density of 2.5 mA cm−2 in a dimethyl sulfoxide solution containing 28 mM PbCl2 and 95 mM element sulfur at a temperature between 100 and 105 °C; the template was then washed with hot dimethyl sulfoxide. In addition, polypyrrole (PPY) deposition was carried out from a 0.1 M pyrole and 0.1 M LiClO4 acetonitrile solution by applying a voltage of 0.85 V (vs SCE) for an appropriate time (typically 3000 s). Finally, the PEDOT–PbS–PPY heterojunction nanowire-embedded AAO membrane was acquired. The AAO template was selectively etched by NaOH solution (2 M) and cleaned by deionized water several times for latter analysis.

Characterization

Field emission scanning electron microscopy (SEM) images and energy dispersive x-ray spectrometry (EDS) were taken from Hitachi S-4800 FESEM microscope at an accelerating voltage of 5 and 15 kV. Transmission electron microscopy images and selective-area electron diffraction patterns (SAED) were taken from JEOL JEM-1011 microscope at an accelerating voltage of 100 kV. Platinum microelectrodes (200 nm in width, 300 nm in height) deposited by focus ion beam to construct the superstructure device of EPP nanowire (Figure 4a), PbS nanowire and focus ion beam electrodes were made by Nova 200 NanoLab DualBeam-SEM/FIB system (Beijing, China). The electroproperty of devices were recorded with a Keithley 4200 SCS in a clean and shielded box at room temperature in air. The I-V curve of PbS nanowire with Pt electrodes (see Supplementary Figure S3) showed that it is an Ohmic contact between the individual PbS nanowire and Pt electrode.

Results and Discussion

We used the p-type organic semiconductors PEDOT and PPy and the n-type inorganic semiconductor PbS to prepare our three-section axial heterojunction nanowire arrays through an associated approach of electrochemical deposition and template-directed growth.

Figure 1a presents a schematic model of an EPP (PEDOT–PbS–PPy) heterojunction nanowire array prepared using this combination process using the AAO template. SEM images revealed the morphology and dimensions of the EPP heterojunction nanowire arrays; for example, Figure 1b presents a side-view image of a large cluster of EPP heterojunction nanowires. These well-defined nanowires feature smooth surfaces and diameters and lengths of 270 nm and 26 μm, respectively. In this image, the bottom portion of the EPP nanowires featured the PEDOT segments; these longest sections (nearly 11.2 μm) were the first to be grown during the EPP nanowire growth process (electrochemically under a minimum-resistance system) and were formed during a relatively short period of time. The brightest parts of the EPP nanowires, in the middle, were segments of the inorganic semiconductor PbS (length: ca. 6.8 μm). The top (third) section comprised PPy; the length of each PPy nanowire prepared under the largest resistance over a relatively long time was 7.6 μm (see Supplementary Figure S1).

Figure 1
figure 1

(a) Side-view SEM image of EPP heterojunction nanowire arrays after removal of the AAO template. (b) The linear scanning (SEM) of a single EPP heterojunction nanowire. (c) SEM image of an EPP heterojunction nanowire under low magnification; insets: higher-magnification images of its PbS/PEDOT and PPy/PbS p–n junctions. (d) Models of the growth process of the EPP heterojunction nanowire.

We confirmed the end-to-end structure of an as-prepared nanowire directly through element linear scanning (Figure 1c), which revealed the dispersion of the elements C (green), S (yellow) and Pb (blue). Energy dispersive X-ray spectrometry (EDS) of different parts of the hybrid nanowires clearly revealed the detailed chemical components, indicating that they were indeed composed sequentially of PEDOT, PPy and PbS. The SEM image of the single EPP nanowire in Figure 1d displays the three sections; the insets provide higher-magnification views of the two p–n junctions (PbS/PEDOT, PPy/PbS). We observe that the single EPP heterojunction nanowire features clear interfaces, with good contact, between the organic and inorganic semiconductors; at the two junctions of the independent nanowire, the dark side is the organic semiconductor polymer (PPy or PEDOT) and the light side is the inorganic semiconductor (PbS). The good contact between the PbS segment and the PPy and PEDOT polymer segments arose from good matching of their structures and energies, as well as the strong coordinating ability of the heteroatoms of the organic moieties toward the metal ions of the inorganic semiconductor. In addition, these interactions increased the active surface area, suggesting good electronic contact between the inorganic and organic components. Together, these features result in the formation of two perfect interfaces in the independent heterojunction nanowire, allowing accurate measurement of the nanowire’s physical properties.

We used transmission electron microscopy for further structural characterization of the EPP heterojunction nanowires. Figure 2a presents a typical image of a single EPP heterojunction nanowire; its diameter of 270 nm is consistent with that measured using SEM. The double organic/inorganic solid heterojunctions formed by the inorganic semiconductor (PbS) and organic semiconductor (PEDOT and PPy) segments are clearly evident in the insets of Figure 2a, with PbS constituting the black parts and PEDOT and PPy the light parts. These interfaces were very clear, with the two solid components contacting tightly in each of the double heterojunctions. High-resolution TEM revealed the distinct interfacial structures of the PbS–PPy (Figure 2b) and PbS–PEDOT (Figure 2d) heterojunctions, indicating the crystallinity of the dark part PbS segments attached firmly to the amorphous light-colored parts PPy and PEDOT units. In each case, the lattice fringe spacing of PbS was 0.34 nm as shown in Figure 2c, suggesting the (111) plane of the hexagonal phase of a PbS crystal as the main growth direction for the PbS component of the nanowire. The SAED patterns of heterojunction nanowire (Figures 2e–g) for examining the crystallinity of the components on opposite sides of each interface confirmed the presence of a crystalline PbS nanowire and amorphous PPy and PEDOT segments.

Figure 2
figure 2

(a) TEM image of a single EPP heterojunction nanowire; insets: higher-magnification images of the corresponding PbS/PEDOT and PPy/PbS p–n junctions. (b, d) High-resolution TEM (HRTEM) images of the two p–n junction interfaces of the same EPP heterojunction nanowire. (c) HRTEM image of the PbS part of the EPP nanowire; the CdS has a lattice parameter of 0.34 nm. (eg) SAED patterns taken from segments in the single EPP heterojunction nanowire. (h) Optical image of several EPP heterojunction nanowires. (i) A fluorescence image of the same nanowires, removed from the alumina membrane. Confocal laser scanning microscopy (CLSM) image (j) of EPP heterojunction nanowires was merged by (h, i).

We suggest the following three-step mechanism for the growth of the double p–n junction EPP nanowire26 (Figure 1d): (i) EDOT molecules formed PEDOT nanowires through electropolymerization within the AAO template under an applied bias of 1.15 V (vs SCE).27 (ii) The Pb2+ ions of PbCl2 absorbed strongly on the terminal surface of the PEDOT nanowire through weak coordinative interactions with the S atoms of the thiophene rings of PEDOT. Under a current density of 2.5 mA cm−2, S2– anions were formed through the electrolysis of sulfur in dimethylformamide solution. The absorbed Pb2+ ions reacted with the S2– anions to form PbS crystals on the surface of the PEDOT nanowire. The as-synthesized PbS crystals acted as nuclei for the formation of the PbS nanowire. We suspect that coordination of the Pb2+ ions and S atoms of the thiophene rings of PEDOT were responsible for the distinct interface evident in the high-resolution TEM image in Figure 2b. (iii) Pyrrole molecules were adsorbed on the surface of the PbS nanowire through interactions between the Pb2+ ions and N atoms. The adsorbed pyrrole molecules were then polymerized under an applied bias of 0.85 V (vs SCE) at an approximate time. The distinct interface evident in the high-resolution TEM image in Figure 2d presumably resulted from the strong interactions between the Pb2+ ions and N atoms.

The structure of EPP heterojunction nanowire also can be confirmed by optical measurements according to the fluorescent properties of the three building blocks. In general, when the EPP heterojunction nanowire was excited with laser (405 nm), the PbS segment of the nanowire was blue, whereas there were no photoluminescence in the two organic segments as shown in the Figure 2i.

Figure 3a presents a model of an EPP nanowire device (the SEM image of the single EPP heterojunction nanowire device made by focus ion beam was shown in Figure 4a and Supplementary Figure S2). The device comprised three segments: a blue part, PEDOT, defined herein as A; a green part, PbS, defined as B; and a purple part, PPy, defined as F. Electrical measurements of the nanowire revealed that the PEDOT/PbS p–n junction nanowire acted as a diode, exhibiting rectifying properties at room temperature (Figure 3c). Under a forward bias, the current increased upon increasing the applied bias; the turn-on voltage was greater than 5 V. Under a reverse bias, the current transported through the junction nanowire was close to zero; the rectification ratio of the PbS–PEDOT part of the heterojunction nanowire diode was 289.1 at a value of V1–2G of ±15 V; the maximum current was 27 μA. The PbS–PPy part of the p–n junction nanowire also exhibited diode behavior (Figure 3d), with conductivity greater than that of the PEDOT–PbS part; the rectification ratio of the PbS–PPy nanowire diode was 113.3 at a value of V2–3G of ±15 V; the maximum current was 70 μA. The electrical properties measured between A and B indicate that very low or negligible current was transported through the EPP nanowire from A to B, and vice versa, when it had to pass through the two p–n junctions; therefore, under either positive or negative bias conditions, segments A and B in the EPP nanowires were non-conducting in this case (Figure 3b). As a result, the axial EPP double p–n junction three-terminal nanowire device functioned as a nano-logic two-input OR gate.28

Figure 3
figure 3

(a) The model of a single EPP heterojunction nanowire device. IV semi-log plot curves of the three-segment EPP nanodevices between (b) A and B, (c) A and F, (d) B and F.

Figure 4
figure 4

(a) SEM image of a single EPP heterojunction nanowire device made by focus ion beam. (b) Standard symbols for logic OR2 gate (two-input OR gate). (c) The signal output of the logic two-input OR gate constructed using EPP nanowire, and (d) the output data of the logic two-input OR gate constructed using EPP nanowire.

To test the logic gate, we define the input value as 1 when the input voltage is higher than the turn-on voltage (5 V). In order to facilitate the testing, we first set the input voltage of 15 V as 1 (that is, higher than the diode turn-on voltage) (high level); we define an input voltage of 0 V or less than 0 V (VLi (−15, 0)) as a 0 input voltage (low level), and we also set the current as the output signal; we define the output signal as 1 when the output current is higher than 10−5 A, whereas in the other cases it is defined as 0. In detail, a 1 output high current from F results if one or both (A and B) of the inputs to the gate are 1. If neither input is 1, a 0 output results such that the current is zero or very close to zero, as indicated in Figure 4c. The device behaves according to the truth table in Figure 4d. Therefore, the EPP nanowire is operated as a two-input OR logic gate. A two-input OR gate is a digital logic gate that implements logical disjunction29 as displayed in Figure 4b.

Conclusion

In summary, we have fabricated a novel heterojunction structure combining one inorganic and two organic semiconductors. The different segments exhibited distinct self-assembly behavior, allowing us to control the production of one-dimensional three-segment nanowires featuring two diodes in series on two interfaces; the isolated organic/inorganic semiconductor wires displayed the novel properties of a two-input OR logic gate. We suspect that these devices might have applicability for fundamental research in the field of nanoscience and to applications in the field of nanotechnology, with great potential to produce new molecular electronic devices.

Dedication

This paper is dedicated to Professor Xiao-Zeng You for his 80th birthday.