Introduction

Generating micro/nano electrical energy by converting other types of energy (e.g., mechanical, heat, chemical, etc.) has become increasingly important for widely distributed wearable electronic devices1,2,3. In these micro- and/or nanogenerators, mechanical energy, for example, induces the separation of positive and negative charges within the ‘active’ materials, which gives rise to a potential difference between the electrodes and ultimately leads to the output of electricity4,5,6. Specifically, the underlying mechanisms for electricity generation involves the effective separation of ionic charges, which determines the performance of a nanogenerator. Ionic charge separation can be achieved by the piezoelectric effect7,8, the triboelectric effect9,10, electrochemical polarization5,11, gradients of temperature12,13, and humidity14,15; however, developing a new technique/method and/or proposing a new mechanism is always challenging.

On the other hand, metals have not played the same role as semiconductors in modern electronics because their electrical properties are largely independent of the potential that is applied to them16,17,18,19. We have previously shown that this limitation in bulk metals can be overcome at the nanoscale when metal nanoparticles are functionalized with charged organic ligands20,21,22,23. An electric field induces the movement of mobile counterions and generates ionic gradients within metal nanoparticle films, enabling the fabrication of diodes, sensors, transistors, and logic circuits20,21,23. The separation of ionic charges is a key step in a nanogenerator: can we use this counterion gradient within a metal nanoparticle film to produce electrical energy? Instead of the electric field, other types of energy (technique/method) should be considered to create the counterion gradient within a nanoparticle film.

In this study, we propose a magnetic force that induces the migration of magnetic counterions. The magnetic counterion is a paramagnetic DyCl4- anion whose magnetic susceptibility is high enough to ensure its movement within metal nanoparticle films. Under an external magnetic field, the gradient distribution of magnetic counterions sets up a potential difference within a metal nanoparticle film and then outputs electrical energy.

Results

To fabricate a metal nanoparticle nanogenerator, magnetic organic ligands are first synthesized24. Positively charged N,N,N-trimethyl(11-mercaptoundecyl)ammonium chloride (HS-C11NMe3+Cl, TMA) molecules are mixed with DyCl3 to prepare magnetic TMA ligands with negatively charged paramagnetic counterions DyCl4-. Compared with TMA molecules, the UV‒vis spectrum of mag-TMA shows several weak peaks at approximately 755 nm, 804 nm, and 907 nm, which could be ascribed to the absorption of dysprosium ions25 (Fig. S1). In addition, electrospray ionization mass spectrometry (ESI-MS) measurements confirmed the synthesis of DyCl4- anions (Fig. S2). The mag-TMA ligands are subsequently used to functionalize gold nanoparticles20 (AuNPs, 5.6 ± 0.8 nm in diameter, see TEM in Fig. 1a). Magnetization curve measurements, M-H (magnetization-magnetic field intensity), performed at room temperature indicate that the TMA AuNPs are diamagnetic (\(\chi _g\sim -4.0 \times 10^{ - 5}\,{\rm{emu/g}}\)), while the mag-TMA AuNPs are paramagnetic (\(\chi _g\sim 7.4 \times 10^{ - 5}\,{\rm{emu/g}}\)), which is consistent with the value reported for other magnetic anions26 (Fig. 1b).

Fig. 1: Scheme of the device and demonstration of magnetic ionic gradients.
figure 1

a TEM image of AuNPs and particle size statistics. b M-H curves of TMA and mag-TMA AuNPs. c The top scheme illustrates the metal nanoparticle nanogenerator in which the magnetic counterions (DyCl4-) migrate toward the electrode close to the magnet. The bottom scheme shows an individual mag-TMA gold nanoparticle and one of its magnetic ligands with an associated DyCl4- counterion. d EDS mapping of Cl, Dy, and Au elements within the mag-TMA AuNP film after placing a magnet (200 mT) on the left side of the film for approximately 10 min. e Corresponding profiles of Cl, Dy, and Au elemental distributions.

The nanogenerator is then fabricated by drop-casting an ~1-μm-thick thin film of mag-TMA AuNPs from a methanolic solution on a silica substrate with e-beam deposited Au/Cr (65/5 nm) electrodes (Fig. 1c and Fig. S3). When a magnetic field acts on device, the magnetic mobile counterions DyCl4- tend to migrate toward and accumulate around the electrode close to the magnet (Fig. S4). This is confirmed by energy-dispersive spectroscopy (EDS) measurements (see Fig. 1d for EDS mapping and Fig. 1e for distribution profiles). Since the nanoparticle core is ‘jammed’ within the film, Au does not change across the channel. In contrast, the concentrations of both Cl and Dy increase on the magnet side, showing a distribution gradient for DyCl4- counterions within the nanoparticle film.

The distribution gradient of magnetic counterions is subsequently transformed into an electric potential within the metal nanoparticle film. To minimize the electrostatic energy created by this potential difference, electrons are injected into the nanoparticle film from the electrode that is farther away from the magnet. Consequently, electron flow is detected in the external circuit, leading to the output of electrical energy. This corresponds to the ‘ON’ state when the magnetic field is placed (see the first peaks in the output voltages/currents in Fig. 2 and Fig. S5). When the magnetic field is removed, the negatively charged magnetic counterions that previously accumulated are prone to diffuse back to their original positions. In this case, electron will be injected from the other electrode that was close to the magnet. This is the process for outputting a voltage/current in the opposite direction (see the first and second peaks in Fig. 2a, Fig. S5a, b). Reversible switching between the ‘ON’ and ‘OFF’ phases of the magnetic field produces alternating outputs that are very similar to those of previous nanogenerators (e.g., piezoelectric, triboelectric).

Fig. 2: The electrical output of the mag-TMA AuNP nanogenerator.
figure 2

a Open-circuit voltage of the mag-TMA AuNP nanogenerator when the magnetic field is applied (ON) and removed (OFF). b The output characteristics of a control device fabricated by using TMA AuNPs in which the counterions (Cl) are nonmagnetic. The red curve (left y-axis) is magnified and replotted in the blue curve (right y-axis). c, d Dependence of open-circuit voltages on the strength of the magnetic field (c) and channel length L between two electrodes (d). For the sake of clarity, the red/black/yellow curves are manually shifted upward/downward by 0.3 V/0.6 V. All of the channel lengths in (c) are 20 μm, and the magnetic fields in (d) are 650 mT. e The open-circuit voltage amplitudes as a function of channel length (blue curve, bottom x-axis) and magnetic field strength (red curve, top x-axis). f The dependence of open-circuit voltages on the frequencies of the ON/OFF magnetic field. All of the channel lengths are 50 μm, and the magnetic fields are 650 mT.

The reliability of electricity generation by the mag-TMA AuNP nanogenerator is confirmed by reversing the lead connections. Both the open-circuit voltages and short-circuit currents have reversed polarity (Fig. S5a vs. b). In another experiment, when the magnetic DyCl4- counterions are replaced by nonmagnetic Cl anions, no apparent open-circuit voltage is measured in TMA AuNP films (Fig. 2b). The trace potential (~0.001 V) observed during the switching of the magnetic field is probably due to electromagnetic induction from the closed loops. This control experiment not only indicates the negligible impacts of electromagnetic induction but also confirms that the output of the mag-TMA AuNP nanogenerator originates from the magnetic field-induced distribution gradient of magnetic counterions. In addition, charge separation that is induced by a magnetic field is a new finding in nanogenerators and is apparently different from previous nanogenerators. The transport characteristics of the mag-TMA AuNP nanogenerator are shown in Fig. S6, indicating that the contact between the electrodes and nanoparticles is Ohmic.

Next, factors that impact the output performance of the mag-TMA AuNP nanogenerator are studied. The first is the strength of the magnetic field. For a given channel length (20 μm), an increase in the magnetic field intensity generally increases the magnitude of the electrical output (Fig. 2c). With a 650 mT magnetic field, an open-circuit voltage of ~0.55 V is recorded. However, as the field decreases to 100 mT, no apparent voltage is measured. We also find that the output performance is dependent on the channel length of the device. Figure 2d shows the open-circuit voltage of the nanoparticle nanogenerator recorded with several channel lengths ranging from 20 to 100 μm under a constant magnetic field (650 mT). Under the same circumstances, the smaller the lengths of device channels are, the larger the voltage generated. We attribute this to the likelihood that the number of ions reaching the electrode decreases significantly with increasing channel distance. This is an important finding since it suggests a roadmap for future performance gains that can accompany device miniaturization (Fig. 2e). In addition, the influence of the switching frequency of the magnetic field on the device performance is also studied. Figure 2f shows the output signal of the device under various switching frequencies ranging from 5 s to 60 s. A slight increase in output voltage is found at high frequency, which is probably due to the backflow of counterions that do not reach the equilibrium state, leading to an accumulation of effective counterions. The cycling performance of the device is also shown in Fig. S7.

To simulate electricity generation by mag-TMA AuNP films, a continuum charge-transport model combining Poisson and Nernst‒Planck (PNP) diffusion equations is developed. In this model, only the mobile magnetic counterions and not the charged NPs can migrate in response to the local magnetic field and concentration gradients. Moreover, within the nanoparticle film, the motions of ions and electrons are related to each other to maintain local charge neutrality. In addition, the conduction electrons can flow freely in and out of the nanoparticle film at the electrodes, whereas the counterions can only move within the nanoparticle film. For simplicity, we convert the magnetic force into an electric force. According to Maxwell’s equations, the magnetic field generated by the magnetic counterions and their movements is much smaller than the external magnetic field, so it can be ignored.

Here, we considered a one-dimensional domain [0, L]. Since the magnetic counterions are negatively charged, the applied magnetic field can be converted into an electric field by using the transformation of force, \(F_H = \chi _mHV{{{\mathrm{grad}}}}H = qE\) (see the meaning of parameters in SI). For the transport of charged species i, the governing PNP equations could be simplified to \(\frac{{\partial c_i}}{{\partial t}} = - \nabla \cdot J_i = - \nabla \left[ { - D_i\left( {\nabla c_i + \frac{F}{{RT}}c_iz_i\nabla {\upvarphi}} \right)} \right]\) and \(\nabla \cdot \left( {\nabla \varepsilon _0{\upvarepsilon}\nabla \varphi } \right) = F\mathop {\sum}\nolimits_i {z_ic_i}\) (see SI for details). With appropriate boundary conditions, the coupled PNP equations are then solved numerically by using a commercial finite element solver. The output voltage can be regarded as the charging and discharging of a capacitor. Therefore, the equation can be finally integrated by \(V_{{\rm{output}}} = \left\{ {\begin{array}{*{20}{c}} V \\ {V_{{\rm{max}}}{\rm{exp}}\left( { - tL/R_V\varepsilon \varepsilon _o} \right)} \end{array}\begin{array}{*{20}{c}} {V < V_{{\rm{max}}}} \\ {V = V_{{\rm{max}}}} \end{array}} \right.\) (see SI for details). The calculated concentration profiles (Fig. 3a) demonstrate that the counterions accumulate on the side close to the magnet and eventually reach equilibrium under a proper magnetic field, consequently influencing potential distribution (Fig. 3b) and ultimately transforming into an electric potential within the nanoparticle film (Fig. 3c) and an output voltage in the external circuit (Fig. 3d, e). In addition, with increasing magnetic field intensity, the output voltage also increases, which is consistent with the experimental results (Fig. 3d vs. 2c). This model also captures the increase in the output voltage due to a decrease in channel lengths between the electrodes (Fig. 3e, f).

Fig. 3: Simulation of the mag-TMA AuNP nanogenerator.
figure 3

a, b Distributions of the DyCl4- counterions (a) and potentials (b) at the initial state, forward steady state, and reverse steady state. c Time-dependent voltage within the mag-TMA AuNP film. d, e Time-dependent open-circuit voltages as a function of the strength of the magnetic field (d) and channel length between two electrodes (e). The light-green highlighted regions are magnified and plotted on the right. For the sake of clarity, the red/black curves in (d) and red/blue curves in (e) are artificially moved upward/downward by 1.5. f The open-circuit voltage amplitudes as a function of channel length (blue curve, bottom x-axis) and magnetic field strength (red curve, top x-axis). Three magnetic fields (1, 10, and 100) and channel lengths (20, 50, and 100) are used for simulation. The magnetic field in (a) to (c) and (e) is 100, and the channel length in (d) is 20.

Discussion

It is important to consider the shortcomings of our proof-of-concept devices. Before this nanogenerator can become a technologically viable alternative to any existing energy harvesting device, several aspects need to be considered. One is the strong magnetic field required for output electricity. A field of 650 mT is too strong to be practically useful. One solution might be to use counterions with much higher magnetic susceptibility27 (e.g., Ln(hfa)4-; Ln = Tb, Dy, Ho, Er, Tm, Yb; hfa = 1,1,1,5,5,5-hexafluoro-acetylacetone). The other could be designing magnetic core/shell nanoparticles28,29 (e.g., Ni/Au, Fe3O4/Au) in which the additional magnetic nanocores could enhance the gradient distribution of the magnetic field within the nanoparticle film. Second, the output performance—both the open-circuit voltage and especially the short-circuit current (~nano amperes)—is not competitive with other nanogenerators. This is due to the low ‘effective’ counterion concentration and mobility ‘activated’ by the present magnetic field. Reducing channel length is demonstrated to be useful for improving the output performance (Fig. 2d, e). In addition, increasing the electrode surface area could be favorable for generating more current. We have tried to fabricate a sandwiched longitudinal device. However, has proven to be challenging due to poor nanoparticle film quality, which leads to short-circuiting upon the deposition of the top electrode. Improving film quality by using other techniques is currently understudied. The last aspect can be the design of the nanogenerator. Manually switching the magnetic field ‘ON’ and ‘OFF’ is far from realistic in practical application. A possible solution is rotating the device under the assistance of mechanical energy while keeping the magnetic field constantly applied.

Finally, we would like to emphasize the idea of separating charges by applying a magnetic field. The magnetic field induced the migration of magnetic counterions, which plays a role similar to that of an electric field. This new technique/method/mechanism is different from those of previous nanogenerators that are based on other phenomena, such as the piezoelectric effect, triboelectric effect, electrochemical polarization, gradients of temperature and humidity, and physical contact between two materials with different electron affinities. On the other hand, since charged metal nanoparticles can be used to fabricate various electronic components (e.g., sensors, diodes, and transistors), a magnetic nanoparticle nanogenerator can be integrated to power electronic components and circuits, enabling all-metal-nanoparticle systems.

Conclusions

In summary, we fabricated a nanogenerator based on charged metal nanoparticles with mobile magnetic counterions. The application of a magnetic field induces a distribution gradient of magnetic counterions, which subsequently transforms into an electric potential within the metal nanoparticle film and outputs electrical energy. The separation of ionic charges through the application of a magnetic field is a new finding that has not been demonstrated before. Although the performance of the metal nanoparticle generator is currently not competitive with other reports, we expect that in the future, with further improvements, this metal nanoparticle generator can be used in practical applications, especially in self-powered all-metal-nanoparticle electronics.

Materials and methods

AuNP synthesis

DDA AuNPs (5.5 ± 0.8 nm) were synthesized according to previous reports30,31. Based on a typical procedure, HAuCl4·3H2O (0.12 mmol) was first dissolved in a toluene solution (13.2 mL) containing dodecylamine (DDA; 2.4 mmol) and dilauryldimethylammonium bromide (DDAB; 1.2 mmol). In a separate vial, tetrabutylammonium borohydride (TBAB; 0.2 mmol) and DDAB (0.6 mmol) were dissolved in toluene (5.7 mL). The TBAB solution was then injected into the gold salt solution under vigorous stirring for 12 h. This produced an ~3 nm Au nanoparticle seed. To prepare the growth solution, 1.2 mmol HAuCl4·3H2O, 28.3 mmol DDA, and 4.5 mmol DDAB were dissolved in 113.4 mL toluene. The above seed solution was subsequently injected into the growth solution under vigorous stirring. A mixed solution of hydrazine monohydrate (5.8 mmol) and DDAB (4.5 mmol) in toluene (43.8 mL) was prepared and added dropwise into a HAuCl4 solution over ~30 min under vigorous stirring. After 12 h of reaction, 5.6 nm DDA AuNPs were produced.

Synthesis of mag-TMA ligands

To synthesize the mag-TMA ligands, 0.5 mmol N,N,N-trimethyl-(11-mercaptoundecyl)ammonium chloride (TMA) and 0.5 mmol DyCl3 were first mixed in 1 mL methanol. After stirring for 24 h at room temperature, the mag-TMA ligands were obtained.

Surface functionalization of AuNPs with mag-TMA ligand

A DDA AuNP (30–50 mL) solution was first quenched by acetone. The NP precipitates were redispersed in toluene, and the mag-TMA (55 mg) CH2Cl2 solution (20 mL) was immediately added. The NP precipitates were washed with CH2Cl2 (20 mL) three times. Subsequently, 28 mg mag-TMA in 10 mL methanol was added to the NP precipitate. The ligand exchange reaction proceeded for 1 h, and the NPs were precipitated by the addition of toluene. After the mag-TMA AuNPs were washed with CH2Cl2 (3 × 20 mL), they were redispersed in 1.5 mL of methanol and filtered through a cellulose acetate 0.22 μm filter.

Characterization

ESI-MS analysis was conducted by using an LCMS/ESI/QTOF Analyzer (UPLC-QTOF). The UV‒Vis absorption spectra were recorded by a spectrophotometer (Shimadzu, Japan, UV 2600). TEM was performed on a Tecnai G2 20 S-TWIN. EDS was performed on an SEM equipped with a Horiba EMAX X-ray detector (SEM, Hitachi-SU8220). The VSM measurement of AuNPs was performed on a PPMS-ANC300 (Quantum Design, America & attocube systems AG, Germany).

Device fabrication and electrical measurements

The gold electrodes (8 mm × 1 mm × 65/5 nm), Au/Cr) were first deposited on a silica substrate by e-beam evaporation through a shadow mask. The mag-TMA AuNPs in methanol were subsequently drop-casted to cover the entire electrode. The electrical characteristics were measured by a Keithley 6517 high-precision electrometer, and the data were collected by an acquisition card. The magnetic field was provided by a 650 mT neodymium magnet. The time interval between the application and removal of the magnetic field was 30 s.