Next Article in Journal
A CMOS-Compatible Silicon Nanowire Array Natural Light Photodetector with On-Chip Temperature Compensation Using a PSO-BP Neural Network
Previous Article in Journal
Structure Optimization of Polymerase Chain Reaction Devices Under High Flow Rate: A Numerical Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Parameter Estimation and Quantification of Magnetic Nanoparticles Based on Improved Particle Swarm Optimization

1
School of Instrumentation Science and Optoelectronic Engineering, Beihang University, Beijing 100191, China
2
Hangzhou Institute of National Extremely-Weak Magnetic Field Infrastructure, Hangzhou 310051, China
3
Hefei National Laboratory, Gaoxin District, Hefei 230088, China
*
Author to whom correspondence should be addressed.
Micromachines 2026, 17(1), 22; https://doi.org/10.3390/mi17010022 (registering DOI)
Submission received: 1 November 2025 / Revised: 7 December 2025 / Accepted: 19 December 2025 / Published: 25 December 2025
(This article belongs to the Section B3: Nanoparticles in Biomedicine)

Abstract

Magnetic Relaxometry (MRX) is a promising technique for probing the magnetic properties of nanoparticles with considerable potential in biomedical applications. It magnetizes magnetic nanoparticles through a direct current magnetic field to obtain measurable Néel relaxation signals when magnetic nanoparticles are combined with specific cells or antibodies. It employs highly sensitive magnetic sensors to record relaxation signals following nanoparticle magnetization, from which intrinsic parameters and quantitative information can be extracted, and ultimately completes mass detection. The essential step in MRX-based mass detection is to establish the calibration relationship between the relaxation signal amplitude reflecting the magnetic moment and the corresponding mass of magnetic nanoparticles. In this article, we present a parameter estimation and quantification framework that integrates an improved Particle Swarm Optimization (PSO) algorithm with the Moment Superposition Model (MSM) as the objective function. The proposed method effectively combines experimental data with a theoretical model, enabling accurate determination of key intrinsic parameters, including saturation magnetization and magnetic anisotropy. Building on these reliable estimating parameters, the proposed PSO algorithm is further applied to quantify nanoparticle mass. Validation through simulations and experimental data confirms the robustness of the method, with the final mass detection error reaching the microgram level. These results highlight its potential for precise characterization of magnetic nanoparticles in biomedical contexts.

1. Introduction

Magnetic nanoparticles (MNPs), as biocompatible magnetic enhancers, have attracted considerable interest for biomedical detection applications [1]. The relaxation principle of MNPs has been widely employed in cellular detection studies [2], where binding of MNPs to target cells induces characteristic changes in relaxation signals. These changes arise from the distinct contributions of Brownian and Néel relaxation [3,4]. Leveraging this signal specificity, high-sensitivity magnetic sensors can detect magnetic field variations to identify whether MNPs have successfully targeted specific cells, particularly cancer cells [4,5,6].
Among magnetization approaches, direct current (DC) magnetization followed by measurement of the subsequent relaxation process—referred to as magnetic relaxometry (MRX)—is the method adopted in this study. MRX offers clear advantages: (1) signal amplitudes are stronger than those of spontaneous biomagnetic signals (e.g., MEG or MCG), typically in the pT–nT range, with distinct temporal features that facilitate signal processing and modeling; (2) the signal source is controllable, as particle magnetic moments are fully aligned with the external magnetizing field, reducing the number of unknown parameters and minimizing propagation-related attenuation. Furthermore, owing to the transparency of biological tissues to magnetic fields, MRX achieves high signal-to-noise ratios in magnetic source imaging. However, quantitative detection using MRX typically requires experimental calibration across a series of samples, and different batches of nanoparticles must be recalibrated [5,7,8]. This article aims to develop a model-guided quantification approach to simplify the calibration process and reduce experimental complexity. Furthermore, due to the limited number of sensors, MRX exhibits relatively low spatial resolution in the biological applications of magnetic source imaging. To enhance resolution, the detection platform often needs to be repositioned, or additional magnetization coils need to be added to expand measurement coverage [9,10], which in turn further increases the measurement time.
Most current studies on MRX employ superconducting quantum interference devices (SQUIDs) as the signal detection and acquisition instruments [5,11], demonstrating the feasibility of SQUID systems for detecting MNPs as well as small numbers of cells. On this basis, small-coil magnetization schemes and hardware devices suitable for complex magnetic imaging have also been proposed [12,13]. Although SQUIDs offer high sensitivity and the ability to detect very small quantities of particles [12], they also suffer from high costs [14] and fixed layout constraints [8]. In recent years, researchers have proposed the use of optically pumped magnetometers (OPMs) as an alternative to SQUIDs for MRX measurements [15,16,17], and preliminary applications have already been demonstrated in biological models [18]. Moreover, appropriate nanoparticle preparation and selection are prerequisites for MRX signal detection. Among them, iron oxide-based MNPs are the most commonly used and exhibit relatively good biocompatibility [19]. The core size distribution of the particles is a key parameter to consider. Typically, particles suitable for MRX studies have core diameters in the range of approximately 23–30 nm [2,20]. According to relaxation theory, the particle size distribution and magnetocrystalline anisotropy affect the relaxation time of the particles, while the particle saturation magnetization and particle quantity influence the relaxation signal intensity. For tumor detection using MRX, the particles only need to exhibit clearly distinguishable Néel and Brownian relaxation characteristics.
Theoretical modeling of MRX has often relied on the moment superposition model (MSM), first introduced by Chantrell et al. [21], which conceptualizes an ensemble of MNPs as a non-interacting collection of magnetic moments, with total magnetization represented as the linear sum of all moments. It has been widely applied to interpret nanoparticle relaxation processes [22,23,24,25], and studies such as Adolphi et al. [26] have demonstrated that anisotropy parameters critically influence simulation outcomes, highlighting uncertainties in estimating intrinsic parameters. The MSM has been widely employed to explain the magnetic relaxation of MNPs and can provide prior information regarding particle properties [22,23,24,25]. Nevertheless, current studies largely rely on empirical models derived from experimental data. Flynn et al. [5] developed a multi-parameter distributed fitting method, Huang et al. [27] proposed a more comprehensive fitting model applicable to different experimental conditions, and Stefan et al. [28] introduced an automated preprocessing method for SQUID-MRX data. However, these approaches are fundamentally based on experimental fitting and lack guidance from the MSM, particularly regarding the influence of key model parameters on experimental data. Therefore, effectively integrating a theoretical model with experimental data in parameter estimation and quantification remains a critical challenge in MRX studies. In particular, developing a methodology that is guided by a theoretical model and incorporates experimental data for parameter estimation is of considerable significance, enabling more accurate mass estimation based on precisely estimated parameters.
This article aims to develop a framework based on an improved PSO algorithm to achieve quantitative analysis of magnetic nanoparticles under unknown intrinsic parameters. The primary objectives include (1) extracting intrinsic particle parameters and particle mass from Néel relaxation signals and (2) integrating the MSM effectively to obtain more accurate estimations.

2. Materials and Methods

This article proposes a novel framework for parameter estimation and a quantification method of magnetic nanoparticles (MNPs) based on an improved Particle Swarm Optimization (PSO) algorithm. Section 2.1 outlines the methodology. First, the theoretical model of nanoparticle relaxation signals and the parameters related to nanoparticle morphology and magnetic properties are introduced. Next, an improved PSO algorithm, a mathematical optimization technique, is described, along with two iterative enhancement strategies designed to overcome convergence stagnation. By utilizing the MSM, a unified framework for parameter estimation and quantification is established, and the processes of estimation and quantification are conducted in a staged manner. Section 2.2 describes the experimental setup and the magnetic properties of the MNPs. The overall experimental layout is first presented, including the use of an optically pumped magnetometer (OPM) for signal detection and the magnetization control device. The testing procedures, as well as signal acquisition and processing methods, are then detailed. Finally, the nanoparticle size distribution and magnetic properties of MNPs employed in this article are introduced.

2.1. Relaxation Theory Models and Parameter Estimation Methods

2.1.1. Relaxation Mechanisms of Magnetic Nanoparticles

The relaxation of magnetic nanoparticles (MNPs) can be induced after direct current (DC) magnetization [5,15,17]. Brownian relaxation is mainly observed when the MNPs remain freely movable, whereas Néel relaxation occurs when they are immobilized. Given that MNPs are immobilized after binding to tumors, the relaxation characterization in this article is limited to Néel relaxation due to this application. The DC relaxation mode of MNPs follows an exponential decay, in which two characteristic parameters are of primary interest: the initial amplitude and relaxation time. The Néel relaxation time of MNPs is determined by their intrinsic properties. In general, the Néel relaxation time of MNPs can be expressed as [5]
τ N = τ 0 exp K V p k B T ,
where τ 0 denotes the characteristic relaxation time, K is the magnetic anisotropy of the MNPs, V p represents the volume of the magnetic core, k B is the Boltzmann constant, and T is the absolute temperature in Kelvin. The initial amplitude of the relaxation signal generated by MNPs is determined by their intrinsic properties as well as the magnetization conditions, which are reflected in the magnetic relaxation data simulation model described in Section 2.1.2. The decay-related characteristic parameters of MNPs are subsequently employed as the cost function for quantitative analysis and parameter estimation in Section 2.1.3.

2.1.2. Magnetic Relaxation Data Simulation Model

The simulation model for magnetic nanoparticle relaxation is based on the Moment Superposition Model (MSM) [22,23,24,25]. The magnetization and relaxation processes are calculated separately for a system of MNPs with a given nanoparticle size distribution. For the convenience of research, interparticle interactions are assumed to be negligible prior to computation. This assumption is consistent with the actual relaxation behavior and significantly simplifies the MSM. First, the magnetization process of the MNPs is modeled. The magnetization of MNPs can be described by the Langevin function as follows:
M H = M S L μ 0 H M S V p k B T ,
here, MH denotes the net magnetization of the MNPs after magnetization, MS is the saturation magnetization, H represents the applied magnetic field strength, and μ 0 = 4 π × 10 7   N / A 2 is the permeability of the free space. The Langevin function, L · , characterizes the magnetization process of the MNPs.
The proportion of the magnetic nanoparticle system that undergoes Néel relaxation, Np, can be calculated based on the magnetization time and is expressed as follows [2,29]:
N p = 1 exp t m a g τ N , m a g ,
here, tmag denotes the magnetization time, and τ N , m a g = τ N 1 0.82 μ 0 H M s / K represents the relaxation time under the applied magnetic field H. Therefore, the magnetization ratio is determined by the relaxation time and the magnetization time. It is derived based on the potential energy change when the MNPs transform from the susceptible axis direction to the direction of the applied magnetic field under the applied magnetic field [30]. Eberbeck et al. [22] simplified the quadratic term in potential energy change, solved for the expression with only the linear term retained, and calculated the theoretical coefficient of the linear term as 0.82.
Based on the magnetized proportion, the relaxation function can be expressed as the decay of the magnetized magnetic moment, also in an exponential form. Assuming that the system contains n MNPs that undergo Néel relaxation, the Néel relaxation magnetic moment of the nanoparticle system can be expressed as follows [26]:
u t = n N p M H V p exp t τ N ,
here, t represents a single time point or the time axis following Néel relaxation.
In fact, the magnetic core volumes of MNPs exhibit a certain distribution rather than a single fixed value. Therefore, other measurement techniques such as electron microscopy (EM) or dynamic light scattering (DLS) are required to determine the volume distribution of the nanoparticle system [31]. All MNPs are approximated as spheres, and the volume distribution is equivalently modeled using a log-normal probability density function for nanoparticle size [30], expressed as follows:
f d p = 1 d p σ 2 π exp ln 2 d p / m 2 σ 2 ,
here, dp is the magnetic core diameter corresponding to the magnetic core volume Vp, σ denotes the nanoparticle size standard deviation, and m represents the mean nanoparticle diameter. From this, the nanoparticle volume distribution log-normal probability density function f(Vp) corresponding to the nanoparticle diameter distribution log-normal probability density function f(dp) can be obtained.
Accordingly, the overall Néel relaxation of the nanoparticle system can be expressed as a modification of Equation (4) in Equation (5):
u t = n N p M H f V p exp t τ N d V p ,
here, during the transformations between Vp and dp, as well as the conversions of f(dp) and f(Vp) and their respective integrals, it is necessary to unify the integration variable and adjust the integration limits accordingly. The number of MNPs can be calculated based on the volume of the nanoparticle system, expressed as follows:
n = m / ρ n a n o V p f V p d V p ,
here, ρnano is the density of the magnetic nanoparticle material, and m represents the mass of the nanoparticle system used. For simplicity, the mass of MNPs within the nanoparticle system (the colloidal state) is adopted as the quantification result.
The MSM calculates the magnetic moment of the nanoparticle system. To compare and validate with the experimentally measured magnetic field signal obtained by the sensor, a distance parameter must be introduced to convert the magnetic moment into the relaxation magnetic field signal. The sensor is positioned directly above the MNPs. According to the Biot–Savart law, the relationship between magnetic field signal and magnetic moment can be simplified as a proportional coefficient related to the distance, expressed as follows:
b t = μ 0 4 π 2 d u t ,
here, b(t) represents the converted magnetic field signal strength, and d denotes the effective distance between the nanoparticle system and the sensor.

2.1.3. Improved Particle Swarm Optimization Algorithm

The relaxation signal of MNPs provides information characterizing their state. In the relaxation model described above, the signal is determined by both the intrinsic parameters of the MNPs and the magnetization conditions. The mean and standard deviation of the nanoparticle size are easily measured and thus can be regarded as known intrinsic parameters. Accordingly, the other intrinsic parameters governing the relaxation signal are the saturation magnetization MS and the magnetic anisotropy K of MNPs. While MS can be obtained from the VSM hysteresis loop, K is difficult to determine experimentally and varies significantly among different materials. Moreover, the nanoparticle mass directly determines the relaxation signal intensity.
In this article, a quantitative analysis method based on the MSM is proposed to perform effective parameter and quantitative estimation even when the intrinsic parameters as prior knowledge are insufficient. Under DC magnetization, the relaxation signal exhibits a pronounced exponential decay over time, which can determine intrinsic parameters: the saturation magnetization MS and magnetic anisotropy K, which is associated with the temporal characteristics of the signal, particularly the Néel relaxation time. Once these parameters are determined or equivalently determined, the only remaining unknown is the nanoparticle mass, which can be calculated from the initial relaxation signal strength. Due to the nonlinearity of the MSM and the differences in magnitude of its outputs, the PSO algorithm demonstrates significant advantages for both parameter and mass estimation.
The PSO algorithm is a heuristic optimization method first proposed by Eberhart and Kennedy in 1995 [32]. Its core principle is to simulate the foraging behavior of bird flocks, searching for the optimal solution through information sharing at both the population and individual levels [33]. In this article, the saturation magnetization MS, magnetic anisotropy K, and nanoparticle mass are used as particle features in the PSO algorithm. An M-dimensional space is established, where the position of the i-th particle in the space is represented as follows:
X i = x i m = x i 1 , x i 2 , , x i M ,
here, x i m = [ K   M s   V ] T .
The particles are manipulated as follows:
x i m k = x i m k 1 + v i m k v i m k = ω v i m k 1   + c 1 r 1 p i m x i m k 1   + c 2 r 2 p g m x i m k 1 ,
here, vim denotes the updated velocity, ω is the inertia weight, and c1 represents the cognitive learning factor. r1 is a random number matrix uniformly distributed in the interval [0, 1] with dimensions matching the space. pim denotes the historical best position of particle i in the m-th dimension at the k-th iteration. Similarly, c2 is the social learning factor, r2 is another random number matrix uniformly distributed in the interval [0, 1], and pgm denotes the global best position in the m-th dimension at the k-th iteration.
Based on the MSM, a parameter estimation and quantitative analysis method using the PSO algorithm is proposed when prior information is unknown. When the intrinsic magnetic parameters of MNPs, the saturation magnetization MS and magnetic anisotropy K, are either both unknown or only one is known, the relaxation signal under a known nanoparticle mass is first employed for estimation of MS and K. The estimated parameters are then treated as known information, and quantitative estimation is subsequently performed using the same PSO algorithm. The overall estimation workflow is illustrated in Figure 1.
The optimization objective function F n a n o , M S M is designed based on the MSM and the relaxation signal and is defined as follows:
F n a n o , M S M = a b s u n a n o 0 u MSM k 0   + a b s t _ m r x n a n o t _ m r x MSM k ,
here, u n a n o 0 denotes the initial value of the simulated or measured relaxation signal generated by MNPs, while u MSM k 0 represents the theoretical initial value of the relaxation signal calculated by the MSM using parameter x i m at the k-th iteration. t _ m r x n a n o denotes the Néel relaxation time of the relaxation signal, and t _ m r x MSM k represents the theoretical Néel relaxation time calculated by the MSM using parameter x i m at the k-th iteration.
According to the modeling method of Néel relaxation signal described in Section 2.1.2, the objective function resulting from different parameter combinations is discontinuous and exhibits non-smooth gradients. In fact, parameter estimation of MNPs constitutes a typical non-convex optimization problem, which will be further discussed in the Discussion section. Based on this, an improved strategy for the traditional PSO algorithm is proposed, as illustrated in Figure 2. The main improvements are summarized as follows:
  • Multiple Subgroups: Several subgroups are formed, with each subgroup independently performing particle updates within the main PSO loop. The particle update process is conducted under boundary constraints, producing both the individual best positions for each particle and the global best position of the subgroup;
  • Elite preservation mechanism: During the iterations, subgroups exchange information to determine the global best particle across all subgroups. The first updated global best particle is used as the initial historical global best particle. In subsequent iterations, the global best particle obtained in the current iteration is compared with that of the previous iteration. If the current global best particle yields a smaller objective function value, it replaces the previous one as the new historical global best particle. A predefined number of historical global best particles is maintained, and at each iteration, no more than this number of particles can be updated;
  • Stagnation-restart mechanism: A maximum stagnation iteration threshold is first defined. If the historical global best particle is not updated within this number of iterations, a fixed proportion of particles in each subgroup is re-initialized. The restart procedure ensures that the current historical global best particle is preserved within each subgroup while maintaining inter-subgroup information exchange. A ring topology is adopted for inter-subgroup communication, where subgroups are arranged sequentially, and the best particle from a neighboring subgroup is used to influence the particles of the current subgroup through mutation. In this article, the mutation probability in the subgroup information exchange is set to a random value not exceeding 20%. Specifically, a mutation vector is added to the position of each subgroup’s global best particle, which is calculated as the product of a random probability and the difference between the global best particles of adjacent subgroups. This mechanism effectively mitigates stagnation by introducing controlled diversity while retaining superior solutions.

2.2. Experiment Setup

In this article, magnetic iron oxide nanoparticles were employed as magnetic relaxation detection agents. The nanoparticle size is defined as the core diameter, excluding the surface coating layer, because only the iron oxide core possesses magnetism. For convenience of modeling and analysis, the single-core or equivalent single-core MNPs were utilized in this article. The generation and acquisition of the relaxation signal are illustrated in Figure 3. In a single trial, the Optically Pumped Magnetometer (OPM) collects the complete temporal signal of the nanoparticle system after magnetization by the excitation device.

2.2.1. Measurement by OPM

The second-generation Quspin sensor (an OPM device manufactured by Quspin Company, Louisville, CO, USA) was employed in this article to detect the Néel relaxation signals of MNPs. A gradient measurement configuration was adopted, as illustrated in Figure 4A, in which the two sensors, the center of the nanoparticle sample, and the coil axis were aligned along the same straight line. In the single-sensor configuration, shown in Figure 4B, background signals without MNPs were recorded and subsequently subtracted to obtain the gradient. The MNPs were placed in a cylindrical container with a base radius of 2.5 mm, whose base center was located at the center of the testing platform. The platform center was defined as the coordinate origin, and the sensitive axis of the sensor was aligned with the z-axis, perpendicular to the platform. In the single-sensor configuration, the sensor position was set to [0, 0, 0.02] (m), while in the gradiometer configuration, the two sensors were placed at [0, 0, 0.02] (m) and [0, 0, 0.04] (m), respectively.

2.2.2. Magnetization Devices and Control Equipment

Magnetization of the MNPs was performed using a one-dimensional Helmholtz coil with the following structural parameters: radius of 2.5 cm, 180 turns, and a coil constant of 0.077 mV/mT. A programmable constant-voltage source provided controllable pulse currents to generate the pulsed magnetic field. In the pulse sequence, the magnetization phase (T1 in Figure 4) generated a magnetic field of several mT (tens of Gauss), while the relaxation phase (T2 in Figure 4) ensured that the magnetic field noise was at the pT level or below. The magnetization direction was aligned with the z-axis. In addition to the controllable power supply, a current-limiting module was integrated into the control system to ensure that leakage currents during the relaxation phase did not introduce magnetic noise that could interfere with the detection of the nanoparticle relaxation signal.

2.2.3. Signal Acquisition and Processing

The host computer simultaneously acquired the pulse sequence output from the constant-voltage source and the full signal output from the OPM. The relaxation portion of the signal, which corresponds to the Néel relaxation of the MNPs, was extracted from the full OPM signal using the pulse sequence as a reference. A sliding filter was applied to remove 50 Hz electrical noise.

2.2.4. Characterization of Magnetic Nanoparticles

The MNPs used in this article are PEG-coated Fe3O4 magnetite nanoparticles. The colloidal density of the magnetic nanoparticles is nominally 5 mg/mL. The MNPs were prepared via a high-temperature thermal decomposition method [34] and are nearly spherical in shape, with particle sizes primarily around 40 nm, and exist as colloidally hydrated nanoparticles. To ensure uniformity in the nanoparticle density during each sample collection for testing, ultrasonic vibration is applied prior to sampling to ensure the consistency of the nanoparticle density within the colloid.
Transmission Electron Microscopy (TEM) was used to characterize the MNPs. A 50 μL (50 μg MNPs) sample of colloid was used, and ten regions with uniform dispersion and a clean background were selected for imaging. The nanoparticle sizes were then divided into ten intervals, and the number of MNPs within each interval was counted. Then a log-normal distribution was applied to fit the size distribution data. The results are shown in Figure 5. The calculated average particle diameter dp of the nanoparticle system is 41.9 nm, with a nanoparticle size standard deviation σ of 13.0 nm.
In addition, the hysteresis loop of the nanoparticle system was measured using a Vibrating Sample Magnetometer (VSM) [35]. As shown in Figure 6a, saturation magnetization MS of the MNPs is obtained as 60.85 Am2/kg on average. For MNPs below 100 nm, the magnetic nanoparticles employed in this article exhibit a relatively high and authentic saturation magnetization compared with the commonly used SHP-series samples in previous studies [26], whose saturation magnetization values for SHP-20, SHP-25, SHP-30, and SHP-35 are 67.3, 85.0, 51.1, and 67.9 Am2/kg, respectively (with the numerical label indicating the mean nanoparticle size). In addition, as shown in Figure 6b, the MNPs display a remanence of approximately 48 Am2/kg and a coercivity of about 44 Oe. The estimated value of the saturation magnetization in this article can be compared and validated against the results from the measured hysteresis loop.

3. Results

Based on the approach mentioned above using the improved PSO algorithm, the effectiveness of the method was verified through simulation. Then, parameters and quantitative estimations were conducted using measured data, and finally, the estimation errors were analyzed. Relative error, defined as the ratio of the difference between the estimated value and the true value to the true value, is used for error analysis of both parameters and mass in the simulation and experimental procedures. In the simulation, the true values of the parameters and mass are predetermined and therefore exact. For the experimental data, the true saturation magnetization is taken as the average value obtained from VSM results; since magnetic anisotropy is difficult to measure directly, only the consistency of its estimated results is evaluated. In addition, the mass of each experimental sample is accurately known, enabling the calculation of the final relative error and error magnitude.

3.1. Simulation Validation

According to the MSM, relaxation simulation signals were generated for parameter estimation, with the signal generation method following Equation (6). First, several representative relaxation characteristic parameters were selected, and the magnetization parameters corresponding to the experimental conditions were set to generate the simulated Néel relaxation signals of MNPs. By combining different intrinsic parameters, namely saturation magnetization MS and magnetic anisotropy constant K, a set of simulated relaxation signals was established. To assess the effectiveness of the proposed method in distinguishing nanoparticle characteristics and performing quantitative detection, multiple simulation groups were generated under identical magnetization conditions but with varying nanoparticle parameters.
Since the number of MNPs in the system typically reaches the order of 10 to the power of several tens, it was converted to the mass of MNPs using Equation (7). Four combinations of nanoparticle mass and intrinsic parameters were selected to generate simulated Néel relaxation signals using the MSM. The specific parameter configurations are listed in Table 1. For each simulated signal, both parameter and mass were estimated using the improved PSO algorithm described in Section 2.1.3.
Figure 7 illustrates the iterative decay of the loss function during the optimization process for different sets of simulated relaxation signals. It can be observed that the improved PSO algorithm effectively avoids stagnation in the search for optimal parameters, and the optimal solutions can be obtained within approximately 400 iterations, demonstrating both convergence efficiency and robustness of the proposed method. Furthermore, the results across different simulated signal sets indicate that the algorithm exhibits strong adaptability to varying initial conditions and intrinsic parameter combinations, reliably approaching near-global optimal solutions under diverse scenarios. These findings further validate the applicability and effectiveness of the improved PSO algorithm for parameter estimation of MNPs.
Figure 8 presents the loss function decay process during mass estimation using the improved PSO algorithm under the condition that the saturation magnetization MS and magnetic anisotropy constant K were predetermined using the same algorithm. Because only a single parameter, the mass of the MNPs, was required to be estimated in this step, the optimization process exhibited significantly faster convergence compared to the estimation of MS and K. As shown in Figure 8, the optimal solution was reached within approximately 40 iterations, indicating that the proposed method can accurately and efficiently estimate the mass of the MNPs once the intrinsic magnetic parameters, MS and K, are determined.
The results of the parameter and mass estimation under four different combinations of intrinsic parameters and mass are shown in Table 1. In all cases, the intrinsic parameters and mass estimation errors are all within 1%, demonstrating the robustness and high accuracy of the proposed method. These results confirm that the improved PSO algorithm can effectively estimate both the magnetic parameters related to Néel relaxation and the mass of MNPs, thereby validating the applicability of the algorithm to the MSM-based parameter estimation problem. It leads to an important conclusion: combining Néel relaxation signals with the theoretical model (MSM) enables more accurate determination of both intrinsic parameters and mass. To further assess the practical performance of the proposed method, experimental data are introduced in the following section for parameter and mass estimation.

3.2. Analysis of Measured Data

Following the measurement and data processing described in Section 2.2, the parameter and mass estimation was conducted using experimental data with a controlled mass gradient. Figure 9 presents the processed Néel relaxation decay signals under four different mass conditions, where the first 1 s of signals are shown and the first 25 ms are highlighted. Based on these experimental signals, the proposed method was applied to estimate the intrinsic magnetic parameters, namely the saturation magnetization MS and magnetic anisotropy constant K, as well as to quantify the mass of MNPs.
To obtain parameter estimates consistent with the MSM and closely reflect experimental conditions, 2000 iterations were performed during the parameter estimation process to ensure that the improved PSO algorithm minimized the loss function. The convergence trajectories, illustrated in Figure 10, indicate that although the iteration curves depend on the choice of initial values, sufficiently large iteration numbers guarantee convergence to optimal solutions. These observations further highlight the robust convergence and stability of the improved PSO algorithm when applied to the nonlinear MSM with parameters spanning different magnitudes.
Table 2 summarizes the estimated intrinsic parameters under different mass conditions. The saturation magnetization MS was consistently estimated at approximately 60 Am2/kg, while the magnetic anisotropy constant K remained near 1.6 × 104 J/m3. The estimated value of MS is consistent with the VSM results mentioned in Section 2.2.4, with an error within 4%. These results confirm the consistency of intrinsic magnetic properties for the same type of MNPs, thereby validating the effectiveness of the proposed method. Furthermore, using the estimated MS and K values, the mass of MNPs was estimated through the same improved PSO algorithm. The results in Table 2 demonstrate that, given intrinsic parameter estimation accuracy within 5%, the error in mass estimation is maintained at the microgram (μg) scale. Overall, these findings establish the applicability of the proposed approach under experimental conditions, enabling both reliable magnetic parameter estimation and accurate nanoparticle quantification.

4. Discussion

Magnetic nanoparticles generate relaxation signals upon immobilization, for example, when they bind to cells or antibodies. The mass of MNPs serves as a key indicator of the cell number they are bound to, making accurate quantitative estimation essential for their biomedical applications. The MSM-based relaxation model provides a theoretical framework to support and validate experimental results, while it can also guide data processing strategies based on measured relaxation signals. Within this framework, the accuracy of prior parameter (MS and K in this article) estimation directly determines the reliability of nanoparticle quantification.
In this article, an improved PSO algorithm is introduced to perform both parameter estimation and quantitative analysis. The method lies in achieving an accurate estimation of intrinsic magnetic parameters—saturation magnetization MS and magnetic anisotropy K—under conditions where these parameters are initially unknown. As shown in Figure 11a,b, the objective function values under different parameter combinations indicate that finding the optimal parameter combination is a typical non-convex optimization problem. Only under specific parameter ranges and fixed step sizes can the parameter combination be transformed into a convex optimization problem, as shown in Figure 11c,d. However, during the optimization process, a fixed step size can lead to problems with convergence speed and optimization. In addition, if the step size were set in every iteration based on the estimated range, allowing it to be transformed into a convex optimization problem, the computational demands would be greatly amplified. Furthermore, within a larger parameter estimation range, there may not exist a step size that can be utilized to transform the problem into a convex optimization problem.
To address the existing non-convex optimization problem, we propose a subgroup-based PSO strategy incorporating elite preservation and stagnation-restart mechanisms to avoid becoming trapped in too many local optimal values. This method ensures robust convergence toward global optima in the estimation of MS and K, thereby enabling accurate determination of nanoparticle mass through the same optimization framework.
In summary, the proposed method integrates theoretical modeling with experimental data to enable more accurate estimation of intrinsic parameters and nanoparticle mass. This approach can be directly applied to quantitative studies of MNPs and further serves as a validation framework for alternative data-processing strategies and spatial distribution reconstruction methods based on relaxation signals for other scholars.

5. Conclusions

This article presents a two-stage framework for parameter estimation and quantitative analysis of Néel relaxation signals from MNPs. Through designing an objective function based on the MSM and employing an improved PSO algorithm, the proposed method can estimate the intrinsic parameter and mass of MNPs in sequence. The simulation results indicate that the improved PSO algorithm can accurately perform parameter estimation and mass detection, addressing the non-convex optimization issue in the objective function. Both parameter and mass errors are within 1%. Experimental data results demonstrate that the proposed method is applicable under actual measurement conditions, effectively estimating the characteristic parameters of the magnetic nanoparticles with an error of approximately 5%. The average detection error for mass is two orders of magnitude smaller than the total mass, reaching the microgram (µg) level, with a maximum error of 0.52 µg. The combination of the MSM and experimental data presented in this study provides a quantitative detection approach, which, especially in the case of unknown saturation magnetization and magnetic crystalline anisotropy, is expected to contribute to the advancement of research on the quantitative detection of magnetic nanoparticles.

Author Contributions

Conceptualization, methodology, software, validation and writing—original draft preparation: H.W.; formal analysis, resources and data curation: H.Y.; investigation and data curation: X.C.; writing—review and editing, visualization, resources and funding acquisition: Y.G.; supervision, project administration and funding acquisition: X.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Quantum Science and Technology-National Science and Technology Major Project (QNMP) under Grant No. 2021ZD0300503.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liu, Y.; Huang, B.; Li, J.; Li, R.; Zhai, Y. Flow rate estimation based on magnetic particle detection using a miniatured high-sensitivity OPM. IEEE Trans. Instrum. Meas. Meas. 2025, 74, 3565069. [Google Scholar] [CrossRef]
  2. Wiekhorst, F.; Steinhoff, U.; Eberbeck, D.; Trahms, L. Magnetorelaxometry assisting biomedical applications of magnetic nanoparticles. Pharm. Res. 2012, 29, 1189–1202. [Google Scholar] [CrossRef] [PubMed]
  3. Adolphi, N.L.; Huber, D.L.; Jaetao, J.E.; Bryant, H.C.; Lovato, D.M.; Fegan, D.L.; Venturini, E.L.; Monson, T.C.; Tessier, T.E.; Hathaway, H.J.; et al. Characterization of magnetite nanoparticles for SQUID-relaxometry and magnetic needle biopsy. J. Magn. Magn. Mater. 2009, 321, 1459–1464. [Google Scholar] [CrossRef]
  4. Öisjöen, F.; Schneiderman, J.F.; Prieto Astalan, A.; Kalabukhov, A.; Johansson, C.; Winkler, D. A new approach for bioassays based on frequency-and time-domain measurements of magnetic nanoparticles. Biosens. Bioelectron. 2010, 25, 1008–1013. [Google Scholar] [CrossRef] [PubMed]
  5. Flynn, E.; Bryant, H. A biomagnetic system for in vivo cancer imaging. Phys. Med. Biol. 2005, 50, 1273. [Google Scholar] [CrossRef]
  6. Richter, H.; Kettering, M.; Wiekhorst, F.; Steinhoff, U.; Hilger, I.; Trahms, L. Magnetorelaxometry for localization and quantification of magnetic nanoparticles for thermal ablation studies. Phys. Med. Biol. 2010, 55, 623. [Google Scholar] [CrossRef]
  7. De Haro, L.P.; Karaulanov, T.; Vreeland, E.C.; Anderson, B.; Hathaway, H.J.; Huber, D.L.; Matlashov, A.N.; Nettles, C.P.; Price, A.D.; Monson, T.C.; et al. Magnetic relaxometry as applied to sensitive cancer detection and localization. Biomed. Eng. Biomed. Technik. 2015, 60, 445–455. [Google Scholar] [CrossRef] [PubMed]
  8. Adolphi, N.L.; Butler, K.S.; Lovato, D.M.; Tessier, T.E.; Trujillo, J.E.; Hathaway, H.J.; Fegan, D.L.; Monson, T.C.; Stevens, T.E.; Huber, D.L.; et al. Imaging of Her2-targeted magnetic nanoparticles for breast cancer detection: Comparison of SQUID-detected magnetic relaxometry and MRI. Contrast Media Mol. Imaging 2012, 7, 308–319. [Google Scholar] [CrossRef]
  9. Liebl, M.; Steinhoff, U.; Wiekhorst, F.; Haueisen, J.; Trahms, L. Quantitative imaging of magnetic nanoparticles by magnetorelaxometry with multiple excitation coils. Phys. Med. Biol. 2014, 59, 6607. [Google Scholar] [CrossRef]
  10. Liebl, M.; Steinhoff, U.; Wiekhorst, F.; Coene, A.; Haueisen, J.; Trahms, L. Quantitative reconstruction of a magnetic nanoparticle distribution using a non-negativity constraint. Biomed. Eng. Biomed. Technik. 2013, 58, 000010151520134261. [Google Scholar] [CrossRef]
  11. Schambach, J.; Warzemann, L.; Weber, P.; Kotitz, R.; Weitschies, W. SQUID gradiometer measurement system for magnetorelaxometry in a disturbed environment. IEEE Trans. Appl. Supercond. 1999, 9, 3527–3530. [Google Scholar] [CrossRef]
  12. Liebl, M.; Wiekhorst, F.; Eberbeck, D.; Radon, P.; Gutkelch, D.; Baumgarten, D.; Steinhoff, U.; Trahms, L. Magnetorelaxometry procedures for quantitative imaging and characterization of magnetic nanoparticles in biomedical applications. Biomed. Eng. Biomed. Technik. 2015, 60, 427–443. [Google Scholar] [CrossRef]
  13. Coene, A.; Leliaert, J.; Liebl, M.; Löwa, N.; Steinhoff, U.; Crevecoeur, G.; Dupré, L.; Wiekhorst, F. Multi-color magnetic nanoparticle imaging using magnetorelaxometry. Phys. Med. Biol. 2017, 62, 3139. [Google Scholar] [CrossRef]
  14. Supek, S.; Aine, C. Magnetoencephalography; Springer: Berlin, Germany, 2016. [Google Scholar]
  15. Baffa, O.; Matsuda, R.; Arsalani, S.; Prospero, A.; Miranda, J.; Wakai, R. Development of an optical pumped gradiometric system to detect magnetic relaxation of magnetic nanoparticles. J. Magn. Magn. Mater. 2019, 475, 533–538. [Google Scholar] [CrossRef]
  16. Jaufenthaler, A.; Schultze, V.; Scholtes, T.; Schmidt, C.B.; Handler, M.; Stolz, R.; Baumgarten, D. OPM magnetorelaxometry in the presence of a DC bias field. EPJ Quantum Technol. 2020, 7, 12. [Google Scholar] [CrossRef]
  17. Jaufenthaler, A.; Kornack, T.; Lebedev, V.; Limes, M.E.; Körber, R.; Liebl, M.; Baumgarten, D. Pulsed optically pumped magnetometers: Addressing dead time and bandwidth for the unshielded magnetorelaxometry of magnetic nanoparticles. Sensors 2021, 21, 1212. [Google Scholar] [CrossRef] [PubMed]
  18. Ruan, Y.; He, X.; Ruan, L.; Liu, F.; Zhang, Z.; Weng, J.; Yan, Q.; Zhang, G.; Li, K.; Zheng, W.; et al. Drug monitoring by optically pumped atomic magnetometer. IEEE Photonics J. 2022, 14, 3134305. [Google Scholar] [CrossRef]
  19. Roca, A.G.; Costo, R.; Rebolledo, A.F.; Veintemillas-Verdaguer, S.; Tartaj, P.; González-Carreño, T.; Morales, M.P.; Serna, C.J. Progress in the preparation of magnetic nanoparticles for applications in biomedicine. J. Phys. D Appl. Phys. 2009, 42, 224002. [Google Scholar] [CrossRef]
  20. Dolgovskiy, V.; Lebedev, V.; Colombo, S.; Weis, A.; Michen, B.; Ackermann-Hirschi, L.; Petri-Fink, A. A quantitative study of particle size effects in the magnetorelaxometry of magnetic nanoparticles using atomic magnetometry. J. Magn. Magn. Mater. 2015, 379, 137–150. [Google Scholar] [CrossRef]
  21. Chantrell, R.; Hoon, S.; Tanner, B. Time-dependent magnetization in fine-particle ferromagnetic systems. J. Magn. Magn. Mater. 1983, 38, 133–141. [Google Scholar] [CrossRef]
  22. Eberbeck, D.; Hartwig, S.; Steinhoff, U.; Trahms, L. Description of the magnetization decay in ferrofluids with a narrow particle size distribution. Magnetohydrodynamics 2003, 39, 77–83. [Google Scholar]
  23. Eberbeck, D.; Wiekhorst, F.; Steinhoff, U.; Trahms, L. Aggregation behaviour of magnetic nanoparticle suspensions investigated by magnetorelaxometry. J. Phys. Condens. Matter 2006, 18, S2829. [Google Scholar] [CrossRef]
  24. Wiekhorst, F.; Eberbeck, D.; Steinhoff, U.; Gutkelch, D.; Trahms, L. SQUID-basierte Magnetrelaxometrie an magnetischen Nanopartikeln für die medizinische Diagnostik. Abschlussbericht BMBF-Verbundvorhaben Nanomagnetomedizin. Available online: https://edocs.tib.eu/files/e01fb08/576714585l.pdf (accessed on 31 October 2025).
  25. Ludwig, F.; Heim, E.; Schilling, M.; Enpuku, K. Characterization of superparamagnetic Fe3O4 nanoparticles by fluxgate magnetorelax-ometry for use in biomedical applications. J. Appl. Phys. 2008, 103, 07A314. [Google Scholar] [CrossRef]
  26. Adolphi, N.L.; Huber, D.L.; Bryant, H.C.; Monson, T.C.; Fegan, D.L.; Lim, J.; Trujillo, J.E.; Tessier, T.E.; Lovato, D.M.; Butler, K.S.; et al. Characterization of single-core magnetite nanoparticles for magnetic imaging by SQUID relaxometry. Phys. Med. Biol. 2010, 55, 5985. [Google Scholar] [CrossRef]
  27. Huang, M.; Anderson, B.; Huang, C.; Kunde, G.J.; Vreeland, E.C.; Huang, J.W.; Matlashov, A.N.; Karaulanov, T.; Nettles, C.P.; Gomez, A.; et al. Development of advanced signal processing and source imaging methods for superparamagnetic relaxometry. Phys. Med. Biol. 2017, 62, 734. [Google Scholar] [CrossRef]
  28. Stefan, W.; Mathieu, K.; Thrower, S.; Fuentes, D.; Kaffes, C.; Sovizi, J.; Hazle, J.D. Automated algorithms for improved pre-processing of magnetic relaxometry data. In Medical Imaging 2018: Physics of Medical Imaging; SPIE: Bellingham, WA, USA, 2018; Volume 10573, pp. 962–969. [Google Scholar]
  29. Thrower, S. A Compressed Sensing Approach to Detect Immobilized Nanoparticles Using Superparamagnetic Relaxometry. Ph.D. Thesis, The University of Texas, Houston, TX, USA, 2018. [Google Scholar]
  30. Ludwig, F.; Heim, E.; Schilling, M. Characterization of superparamagnetic nanoparticles by analyzing the magnetization and relaxation dynamics using fluxgate magnetometers. J. Appl. Phys. 2007, 101, 113909. [Google Scholar] [CrossRef]
  31. Blyakhman, F.; Safronov, A.; Starodumov, I.; Kuznetsova, D.; Kurlyandskaya, G. Remote Positioning of Spherical Alginate Ferrogels in a Fluid Flow by a Magnetic Field: Experimental and Computer Simulation. Gels 2023, 9, 711. [Google Scholar] [CrossRef] [PubMed]
  32. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November 27–1 December 1995; IEEE: New York, NY, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  33. Shi, Y.; Eberhart, R. A modified particle swarm optimizer. In Proceedings of the IEEE World Congress on Computational Intelligence, Anchorage, Alaska, 4–9 May 1998; pp. 69–73. [Google Scholar]
  34. Ansari, S.A.M.K.; Ficiarà, E.; Ruffinatti, F.A.; Stura, I.; Argenziano, M.; Abollino, O.; Cavalli, R.; Guiot, C.; D’agata, F. Magnetic Iron Oxide Nanoparticles: Synthesis, Characterization and Functionalization for Biomedical Applications in the Central Nervous System. Materials 2019, 12, 465. [Google Scholar] [CrossRef] [PubMed]
  35. Barrera, G.; Celegato, F.; Vassallo, M.; Martella, D.; Coïsson, M.; Olivetti, E.S.; Martino, L.; Sözeri, H.; Manzin, A.; Tiberto, P. Microfluidic Detection of SPIONs and Co-Ferrite Ferrofluid Using Amorphous Wire Magneto-Impedance Sensor. Sensors 2024, 24, 4902. [Google Scholar] [CrossRef]
Figure 1. The parameter estimation and quantification method framework of the Particle Swarm Optimization algorithm combined with the MSM.
Figure 1. The parameter estimation and quantification method framework of the Particle Swarm Optimization algorithm combined with the MSM.
Micromachines 17 00022 g001
Figure 2. Flowchart of the improvement strategy for the Particle Swarm Optimization algorithm.
Figure 2. Flowchart of the improvement strategy for the Particle Swarm Optimization algorithm.
Micromachines 17 00022 g002
Figure 3. Schematic diagram of magnetic relaxation experiment.
Figure 3. Schematic diagram of magnetic relaxation experiment.
Micromachines 17 00022 g003
Figure 4. Schematic diagram of the experimental paradigm and test steps.
Figure 4. Schematic diagram of the experimental paradigm and test steps.
Micromachines 17 00022 g004
Figure 5. The particle size distribution count of MNPs and the logarithmic fitting curve graph.
Figure 5. The particle size distribution count of MNPs and the logarithmic fitting curve graph.
Micromachines 17 00022 g005
Figure 6. Magnetic hysteresis loop of MNPs under (a) a high magnetic field and (b) a low magnetic field. The blue circles depict the discrete test data points, and the red curve represents the corresponding fitting results.
Figure 6. Magnetic hysteresis loop of MNPs under (a) a high magnetic field and (b) a low magnetic field. The blue circles depict the discrete test data points, and the red curve represents the corresponding fitting results.
Micromachines 17 00022 g006
Figure 7. Schematic diagram of the iterative curve of parameter estimation for simulation data based on the improved PSO algorithm.
Figure 7. Schematic diagram of the iterative curve of parameter estimation for simulation data based on the improved PSO algorithm.
Micromachines 17 00022 g007
Figure 8. Schematic diagram of the iterative curve for mass estimation of simulation data based on the improved PSO algorithm.
Figure 8. Schematic diagram of the iterative curve for mass estimation of simulation data based on the improved PSO algorithm.
Micromachines 17 00022 g008
Figure 9. Schematic diagram of the measured Neel relaxation signals after processing under four different masses of MNPs.
Figure 9. Schematic diagram of the measured Neel relaxation signals after processing under four different masses of MNPs.
Micromachines 17 00022 g009
Figure 10. Schematic diagram of the iterative curve of parameter estimation based on the improved PSO algorithm for measured data.
Figure 10. Schematic diagram of the iterative curve of parameter estimation based on the improved PSO algorithm for measured data.
Micromachines 17 00022 g010
Figure 11. Schematic diagram of the distribution of objective functions of saturation magnetization and magnetic anisotropy under different step lengths: (a) K: 100 J/m3, M S : 0.1 Am2/kg; (b) K: 200 J/m3, M S : 0.3 Am2/kg; (c) K: 100 J/m3, M S : 0.8 Am2/kg; (d) K: 120 J/m3, M S : 0.8 Am2/kg.
Figure 11. Schematic diagram of the distribution of objective functions of saturation magnetization and magnetic anisotropy under different step lengths: (a) K: 100 J/m3, M S : 0.1 Am2/kg; (b) K: 200 J/m3, M S : 0.3 Am2/kg; (c) K: 100 J/m3, M S : 0.8 Am2/kg; (d) K: 120 J/m3, M S : 0.8 Am2/kg.
Micromachines 17 00022 g011
Table 1. Estimation results of parameters and iron mass under simulation conditions.
Table 1. Estimation results of parameters and iron mass under simulation conditions.
Trial 1Trial 2Trial 3Trial 4
Real K (×104 J/m3)11.71.21.7
Estimated K (×104 J/m3)1.0151.6931.2361.710
Real MS (Am2/kg)30803040
Estimated MS (Am2/kg)31.41978.81129.81541.042
Real MNPs mass (μg)104090100
Estimated MNPs mass (μg)9.9939.9989.97100.01
Table 2. Estimation results of parameters and iron mass under measured data.
Table 2. Estimation results of parameters and iron mass under measured data.
Trial 1Trial 2Trial 3Trial 4
Estimated K (×104 J/m3)1.6401.6311.6461.612
Estimated MS (Am2/kg)60.33459.68263.27161.131
Real MNPs mass (μg)170160150140
Estimated MNPs mass (μg)169.95159.84149.48140.27 
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, H.; Yu, H.; Chen, X.; Gao, Y.; Ning, X. Parameter Estimation and Quantification of Magnetic Nanoparticles Based on Improved Particle Swarm Optimization. Micromachines 2026, 17, 22. https://doi.org/10.3390/mi17010022

AMA Style

Wu H, Yu H, Chen X, Gao Y, Ning X. Parameter Estimation and Quantification of Magnetic Nanoparticles Based on Improved Particle Swarm Optimization. Micromachines. 2026; 17(1):22. https://doi.org/10.3390/mi17010022

Chicago/Turabian Style

Wu, Huangliang, Hang Yu, Xiaoyu Chen, Yang Gao, and Xiaolin Ning. 2026. "Parameter Estimation and Quantification of Magnetic Nanoparticles Based on Improved Particle Swarm Optimization" Micromachines 17, no. 1: 22. https://doi.org/10.3390/mi17010022

APA Style

Wu, H., Yu, H., Chen, X., Gao, Y., & Ning, X. (2026). Parameter Estimation and Quantification of Magnetic Nanoparticles Based on Improved Particle Swarm Optimization. Micromachines, 17(1), 22. https://doi.org/10.3390/mi17010022

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop