1. Introduction
Active magnetic bearings (AMBs) have attracted sustained interest for high-speed rotating machinery because they provide non-contact, oil-free rotor support with negligible mechanical wear and good adaptability to clean, hermetic, and other demanding operating environments [
1,
2]. These advantages make AMB systems attractive for turbomachinery, aerospace electric machines, flywheel systems, and high-speed spindles that require high precision and low friction [
3,
4]. In addition to active magnetic bearings, other magnetic suspension mechanisms have also been investigated. Passive magnetic bearings can reduce mechanical contact and power loss without continuous active control [
5]. Hybrid passive magnetic-sliding bearings provide another practical solution for tunable axial equilibrium and wear reduction [
6]. Active–passive supported rotor systems have also been studied for vibration suppression over a wide speed range, especially in flywheel applications [
7]. These studies show that magnetic suspension systems may adopt different support mechanisms, but accurate dynamic models are still important for vibration analysis, controller design, and performance evaluation. Compared with passive or active–passive support systems, the present study focuses on the closed-loop identification of an active magnetic bearing system under decentralized control.
Because AMB systems are inherently open-loop unstable, feedback control is essential for stable operation. In recent years, a wide range of control strategies has been investigated for AMB systems, including PID control, fuzzy control, adaptive and robust control, sliding-mode control, and model predictive control [
8,
9]. Many advanced control methods, especially model predictive, robust, and LPV-based control schemes, rely on sufficiently accurate plant models for controller synthesis, stability analysis, and performance tuning [
10,
11]. Therefore, obtaining a reliable dynamic model of the controlled plant remains a key prerequisite for AMB controller design and practical implementation. System identification has become an effective way to obtain models directly from measured input–output data [
12,
13]. In engineering practice, model identification may become one of the most time-consuming stages in commissioning and controller development [
14].
Existing system identification studies for AMB systems can be broadly classified into two categories, namely gray-box identification and black-box identification. In gray-box identification, the model structure is derived from physical knowledge of the system, while a limited set of uncertain parameters is estimated from measured data [
15]. Cho et al. combined physical modeling and system identification for AMB systems and showed that first-principles models can be improved by experimental data [
16]. Khader developed a commissioning-oriented identification framework in which the rigid-body dynamics were estimated by gray-box identification, while flexible modes were fitted separately from frequency-response data [
17]. Yeh et al. proposed a closed-loop identification method for multi-axis AMB systems under decentralized and decoupling control using a gray-box structure [
18]. These studies demonstrate that gray-box methods are effective when the physical structure of the AMB system is sufficiently clear.
Black-box identification does not require explicit physical equations of the plant and instead estimates a predefined model structure directly from experimental data. Therefore, black-box identification is often more flexible when the complete plant is difficult to describe analytically.
For this reason, black-box identification has attracted increasing interest in AMB research. Khader et al. used frequency-response data and prediction-error-based estimation to obtain linear black-box models for AMB commissioning [
19]. Wallace et al. proposed a measurement-based black-box modeling approach for levitated AMB systems, in which frequency-domain data were used to construct a parametric model and reconstruct the closed-loop response [
20]. Chiu developed a systematic identification procedure for the nonlinear closed-loop AMB system, where PAPRBS excitation was used, and different nonlinear models were compared for MIMO nonlinear dynamics [
21]. These studies confirm that black-box identification can provide models that are directly useful for controller design and practical system analysis.
Despite these advances, several important gaps remain in the current AMB black-box identification literature. First, model order estimation, although critical to the accuracy–complexity trade-off, is often treated only briefly. Second, although different excitation signals have been analyzed and compared in AMB system identification, the effect of excitation amplitude on data quality and identification reliability has not been systematically clarified [
22,
23]. Third, existing studies often focus on frequency-domain fitting alone, whereas a more complete assessment combining frequency-domain agreement, independent time-domain validation, and closed-loop response reconstruction is still limited. These gaps motivate the present study, in which a closed-loop black-box identification procedure is developed for an AMB system, and representative ARX, OE, and state-space models are utilized to fit the frequency-domain data. Further, the identified model is validated by independent data and closed-loop reconstruction. Based on the general system identification procedure of AMB systems, this paper aims to provide an experimentally verified closed-loop black-box identification procedure for an open-loop unstable AMB system under decentralized control. The main value of the work lies in the integration of excitation-amplitude evaluation, nonparametric frequency-response estimation, parametric model-order assessment, and closed-loop reconstruction verification.
The main contributions of this work are summarized as follows:
A closed-loop black-box identification workflow is established for the AMB system, covering excitation design, nonparametric frequency-response estimation, parametric model comparison, and closed-loop verification;
The influence of excitation amplitude is quantitatively analyzed using coherence, output-side signal-to-noise ratio, and frequency response variance, and a suitable excitation range is identified for the present system;
Three representative closed-loop identification approaches are summarized, and the plant frequency response is obtained using the indirect method and spectral analysis;
ARX, OE, and SS models are compared under the same frequency-domain framework, and the final model is selected based on frequency-domain fitting, time-domain prediction, and closed-loop reconstruction.
This paper is organized as follows.
Section 2 introduces the AMB system configuration and presents the closed-loop identification methodology.
Section 3 describes the proposed black-box identification procedure, including excitation signal selection, nonparametric frequency-domain model estimation, candidate model structures, model order estimation, and parameter estimation.
Section 4 presents the identification results and model validation, including frequency-domain fitting, time-domain validation, and closed-loop reconstruction results. Finally,
Section 5 summarizes the main conclusions of this study.
3. Black-Box Identification of AMB: A Procedure
3.1. Excitation Signal Selection
A suitable excitation signal is important for system identification. In engineering practice, broadband excitation signals are preferred because they can excite the system over a wide frequency range in a single test and thus improve identification efficiency. Common broadband excitation signals include chirp, white noise, PRBS, and multisine.
Figure 3 compares the characteristics of these signals in discrete time-domain waveforms, the single-sided amplitude spectra, and the autocorrelation functions of these excitation signals.
As shown in
Figure 3, different broadband excitation signals have different characteristics. White noise provides broadband excitation, but its randomness makes repeated experiments less consistent. The linear chirp signal is convenient for frequency-range inspection, while the multisine signal has clear spectral components and good periodicity, but only at selected frequencies. In contrast, the PRBS signal provides broadband and sufficiently strong excitation, while maintaining good repeatability and easy digital implementation. In addition, its autocorrelation is close to that of white noise, which makes it suitable for identifying the main dynamics of the AMB system. Therefore, the PRBS signal is selected in this study for closed-loop identification.
For a PRBS signal with order n, sampling interval Ts, repeated period number Np, and the number of samples per bit Nb, the single period sequence length is L = 2n − 1, the duration of a complete period is TPRBS = NpLNbTs. The effective excitation frequency range can be approximately estimated from fmin = 1/(LNbTs) to fmax = 1/(2NbTs). The PRBS order, the number of samples per bit, and sequence length directly affect the estimated nonparametric frequency-response model results.
Figure 4 shows the influence of the PRBS bit time and sequence length on the excitation signal. As shown in
Figure 4a, a larger bit time concentrates the excitation energy in the low-frequency range, whereas a smaller bit time extends the excitation bandwidth. Therefore, the bit time was selected according to the required identification frequency range.
Figure 4b indicates that a longer PRBS sequence provides denser frequency components and improves the frequency resolution, but it also increases the experimental duration. In practice, the PRBS parameters need to be a compromise between excitation bandwidth, frequency resolution, and practical experimental time.
Another parameter that needs consideration is the amplitude of the excitation signal, and this will be discussed in the following part. After the PRBS excitation signal is designed, it is injected at the controller output of the closed-loop AMB system, and the excitation input u and the corresponding rotor response y are recorded synchronously.
3.2. Nonparametric Model Estimation in the Frequency Domain
After data preprocessing, such as detrending, segmentation, and removal of abnormal samples, the frequency response from to can be estimated by nonparametric frequency-domain identification. Nonparametric frequency-response estimation methods mainly include the point-by-point frequency response method, the Fourier-transform-based method, and the spectral analysis method. In the point-by-point method, sinusoidal excitation is applied at each frequency of interest, and the steady-state response is measured. This method is intuitive but time-consuming. In the Fourier method, the input and output signals are transformed into the frequency domain, and the frequency response is estimated directly from their spectral ratio. This method is simple and efficient, but sensitive to noise. Spectral analysis reduces this sensitivity by using averaged auto- and cross-spectral estimates and thus provides better robustness against random noise. Therefore, for the PRBS excitation used in this study, the spectral analysis method is adopted to estimate the nonparametric frequency response.
Let
u(
k) and
y(
k) denote the sampled excitation input and output response, respectively. Their discrete Fourier transforms can be written as:
Based on the transformed data, the auto-spectrum of the input and the cross-spectrum between the input and output are defined as:
where (·)* denotes the complex conjugate. The nonparametric frequency response estimate from
u(
k) to
y(
k) is then obtained as:
The estimated nonparametric model in Equation (10) represents the transfer characteristic from the injected excitation u to the measured output y, and the frequency response of plant P can be derived from Equation (6) accordingly.
The injected excitation signal is generated independently of the noise measurement. Therefore, when the closed-loop transfer function is estimated using cross-spectral analysis, the influence of uncorrelated measurement noise on the mean estimate is reduced. During all excitation-amplitude tests, the controller configuration was unchanged, and the rotor displacement, control current, and amplifier saturation condition were monitored to confirm that the closed-loop system remained stable.
The excitation amplitude must be chosen with care, because its selection involves a trade-off between two conflicting requirements. A higher amplitude improves the signal-to-noise ratio and thus suppresses the relative effect of measurement noise, whereas a lower amplitude helps maintain the AMB system within its local linear operating region and reduces nonlinear distortion. Therefore, an appropriate excitation amplitude range is expected to exist. To evaluate the influence of excitation amplitude on the identified frequency-domain model, a series of excitation levels, expressed as percentages of the saturation current, was applied in the experiments. The resulting plant frequency responses up to 2100 Hz are shown in
Figure 5.
As shown in
Figure 5, the nonparametric frequency-domain models identified under different excitation amplitudes exhibit generally consistent dynamic characteristics. The main resonance-related features around approximately 100 Hz, 150 Hz, and 780 Hz are captured in all cases.
Although the main dynamic features can be identified under different excitation amplitudes, the quality of the estimated frequency response still varies with the excitation level. Therefore, a quantitative comparison is further carried out using the average coherence, average FRF (frequency response function) variance, and output-side SNR, as shown in
Figure 6. The average coherence was obtained by averaging the magnitude-squared coherence, calculated from the auto- and cross-spectral densities of the excitation input and measured output, over the frequency range from 10 to 1000 Hz based on the coherence results. The FRF variance was estimated from repeated nonparametric frequency-response estimates obtained under multiple PRBS excitation periods. The output-side SNR was calculated as the ratio between the output power measured during PRBS excitation and the output noise power measured under the same closed-loop condition without external excitation. For each excitation amplitude, 50 repeated periods were conducted. Resonance regions were retained in the averaging because they contain important dynamic information of the AMB system. During the tests, the current command and amplifier output were monitored to ensure that actuator saturation did not occur. The maximum excitation amplitude was limited to 16% of the saturation current because the measured current approached the saturation limit when higher excitation amplitudes were applied.
As shown in
Figure 6a, the average coherence increases with excitation amplitude at first, but its growth becomes very small after about 8–10%, indicating that further increasing the amplitude contributes little to coherence improvement. In
Figure 6b, the average FRF variance decreases first and then increases. This suggests that a small excitation amplitude is more affected by noise, while an excessively large amplitude may introduce stronger nonlinear effects and reduce the consistency of the identified model [
28].
Figure 6c shows that the SNR increases as the excitation amplitude increases, which means that a larger amplitude helps improve the signal-to-noise ratio. Therefore, the excitation amplitude should be selected within a proper range rather than simply increased. For the present system, the results suggest that an amplitude of around 10–12% provides a good balance.
To further evaluate the influence of static operating-point variations, nonparametric frequency-response models were obtained under different bias currents and equilibrium air gaps. The nominal case, bias current variations of ±20%, and equilibrium air-gap variations of ±10 μm were compared, as shown in
Figure 7. It can be observed that the frequency responses under different static operating conditions exhibit similar overall trends. The main dynamic characteristics, including the low-frequency response, the attenuation trend, and the resonance behavior, are generally consistent within the investigated frequency range. Some deviations appear near the resonance region and in the high-frequency range, indicating that the AMB dynamics are affected by the operating point. Therefore, the identified model should be regarded as a local linear representation around the tested operating condition. Nevertheless, the overall consistency of the frequency responses suggests that the identified model has acceptable applicability within the investigated static operating range.
3.3. Candidate Black-Box Model Structures
Although black-box modeling does not require detailed prior knowledge of the internal physical mechanism, a suitable mathematical structure must still be chosen before parameter estimation. For linear time-invariant (LTI) systems, the black-box models considered in this study can be classified into two main categories: polynomial input–output models and state-space models.
3.3.1. Polynomial Input–Output Models
The polynomial input–output models describe the system directly by a difference equation between the input, output, and disturbance terms. A general form of the polynomial input–output model can be written as:
where
q−1 is the backward shift operator,
u(
k) is the input,
y(
k) is the output,
e(
k) is the error term, and
nk is the input delay. The polynomials
A(
q−1),
B(
q−1),
C(
q−1),
D(
q−1), and
F(
q−1) are used to describe the deterministic and stochastic parts of the system, with the orders
na,
nb,
nc,
nd, and
nf, respectively. Different polynomial models are obtained by choosing different combinations of these polynomials, including:
FIR model: A(q−1) = F(q−1) = C(q−1) = D(q−1) = 1; The FIR model only describes the input–output relation and does not include output feedback terms.
ARX model: F(q−1) = C(q−1) = D(q−1) = 1; The ARX model introduces an autoregressive output polynomial and has a simple structure with convenient parameter estimation.
ARMAX model: F(q−1) = D(q−1) = 1; The ARMAX model further includes a moving-average disturbance term and is able to describe colored noise to some extent.
OE model: A(q−1) = C(q−1) = D(q−1) = 1; The OE model focuses on the system dynamics and is often suitable when the system transfer behavior is of primary interest.
BJ model: A(q−1) = 1; The BJ model uses separate polynomials for the plant and noise dynamics and therefore provides the most flexible description.
3.3.2. State-Space Model
In addition to the polynomial models, the state-space model represents the system dynamics in terms of state variables. Its general discrete-time form is given by:
where
x(
k) is the state vector, and
A,
B,
C, and
D are the system matrices.
w(
k) and
e(
k) are state noise and measurement noise. Compared with polynomial input–output models, the state-space model provides a more compact description for high-order dynamics and is particularly useful when the system order is relatively high or when an extension to multivariable modeling is required.
For black-box identification of systems with unknown structures, it is generally necessary to test several candidate model structures and then determine the most suitable one based on the identification and validation results.
3.4. Model Order Estimation
Model order estimation is an important step in black-box identification. In practice, an inappropriate model order may lead to underfitting or overfitting and thus reduce the reliability of the identified model. A rough estimate of the system order can first be obtained from the identified nonparametric frequency-domain model. For a lightly damped system, one dominant resonance peak is often taken as an indication of one second-order mode. Therefore, the number of visible resonance peaks can provide an initial reference. It should be noted that this is only a preliminary estimate.
A more systematic order estimation can be carried out by analyzing the loss function
VN, which is expressed as:
where
ε(
k) is the prediction error,
N is the number of data samples.
In addition to the loss function, the Bayesian information criterion (BIC) introduces a penalty for overly high model orders and thus provides a compromise between accuracy and complexity. It is given by:
where
nθ is the number of model parameters.
In this study, the ARX model is adopted for order estimation. The main reason is that the ARX structure is simple and suitable for rapid scanning over different candidate orders. Different sets of parameter combinations of
na of
A(
q−1) and
nb of
B(
q−1) are calculated, and the results are shown in
Figure 8.
It can be observed from the heat map that both indices decrease rapidly at low orders and then gradually level off as the order increases. This indicates that increasing the order improves the model fit at first, but the benefit becomes limited beyond a certain range. From the figure, a reasonable candidate order region can be identified around na = 5–9 and nb = 4–6.
In addition, the plant model order can also be first estimated from the measured frequency response characteristics. In general, each dominant resonance peak is associated with a pair of complex-conjugate poles. Since three main resonance peaks (related to rigid and flexible rotor modes) can be observed in the identification frequency range, approximately six dynamic states are required to represent these dominant modes. Moreover, the identified assembled plant also includes the dynamics of the current loop, magnetic actuator, displacement sensor, and possible delays, which may introduce additional effective dynamics. Therefore, a model order of seven is a reasonable initial estimate.
3.5. Model Parameter Estimation
After a reasonable order range is obtained, the candidate models are estimated and compared. The order estimation gives a useful reference, but in practice, some trial-and-error adjustment is still needed to find the proper model.
For linear model structures of FIR and ARX, the parameter vector can be estimated by linear least squares. The general form to calculate the parameters is given by:
where
Y is the measured output vector, Φ is the regression matrix in Toeplitz form, and
θ is the parameter vector to be estimated.
For model structures whose parameters enter the prediction nonlinearly, such as ARMAX, OE, and BJ, the parameters are usually estimated by nonlinear optimization, typically based on the prediction error method (PEM) [
29], with the cost function of:
The state-space model is usually estimated by a subspace method such as N4SID, and it can be further improved by the PEM method using subspace identification results as initial conditions. The principles of PEM and subspace methods can be found in [
30].
Frequency-domain data are adopted in this study because they provide a clear description of resonance, bandwidth, and phase characteristics, and are widely used in engineering applications. Although several black-box model structures are available, only the OE, ARX, and SS models are considered in the following part, as they are supported for frequency-domain identification in MATLAB (2024b).
4. Results and Model Validation
In this section, system identification is carried out using the input PRBS excitation sequence
u(
k) and the output rotor displacement signal
y(
k). The PRBS signal is configured with
n = 10,
Ts = 50 us,
m = 20, while each bit is maintained for five sampling points. Under these conditions, the frequency resolution is around 3.91 Hz, and the total excitation time is about 5.1 s.
Figure 9 presents a segment of the measured input and output signals at an excitation level of 10% of the saturation current.
4.1. Frequency Identification Results
Table 1 summarizes the identification performance of the ARX, OE, and SS models under different model orders. For the ARX model, the frequency-domain RMSE and time-domain fit vary considerably with the model order, and the overall validation performance remains relatively poor compared with the other two structures. The OE model gives more stable results, with a frequency-domain RMSE on the order of 10
−4 and a time-domain fit above 76% for all tested orders. The SS model shows the best overall performance. In particular, the 7th-order SS model achieves nearly the lowest frequency-domain RMSE among the SS candidates, 4.969 × 10
−4, and also provides a high time-domain fit of 88.10%. Although the 9th-order SS model gives a slightly higher time-domain fit and frequency-domain RMSE value, the cost is the complexity of the model. Therefore, considering both frequency-domain accuracy and time-domain validation performance, the 7th-order model is selected for the subsequent comparison and validation.
Selecting the model order solely according to the performance metrics in
Table 1 may increase the risk of overfitting, especially for higher-order models. Therefore, the pole-zero maps of the 6th-, 7th-, 8th-, and 9th-order SS models were further examined, as shown in
Figure 10. The higher-order models introduce additional pole-zero pairs, and some of them are located close to each other, indicating possible near pole-zero cancellations. These additional dynamics provide limited improvement to the dominant frequency-response characteristics but increase the model complexity. Therefore, the 7th-order SS model is selected as a reasonable compromise between fitting accuracy, dynamic representation, and model complexity.
Figure 11 compares the frequency-domain fitting results of the 7th-order OE, ARX, and SS models against the identified nonparametric frequency response up to 1000 Hz. It can be seen that the three models show different fitting characteristics over the frequency range of interest. The SS model gives the best overall agreement with the reference response and captures both dominant resonance peaks from 100 to 200 Hz. The OE model also follows the main trend of the measured response, but it only reproduces one of the two dominant resonance peaks, and its phase fit is less accurate in part of the middle-frequency range. In contrast, the ARX model provides a relatively accurate description in the high-frequency range, but it shows larger deviations below 200 Hz, especially around the main resonant dynamics. Therefore, among the three 7th-order models, the SS model provides the best frequency-domain fitting performance, followed by the OE model, while the ARX model is relatively less accurate.
4.2. Model Validation
Although the frequency-domain fitting results reveal the differences among the candidate models, further validation in the time domain is still necessary. Therefore, an independent data set collected through identification is used to compare the measured and simulated responses of the OE, ARX, and SS models, and their comparisons are shown in
Figure 12.
It can be observed that the SS and OE models show good agreement with the measured output and are able to reproduce the main response features, including the sharp periodic drops under periodic PRBS excitations. In contrast, the ARX model exhibits much larger deviations and poorer tracking accuracy. This is also confirmed by the error curves, where the SS model gives the smallest error, followed by the OE model, while the ARX model shows the largest fluctuation. The quantitative results are consistent with this observation: the SS model achieves the highest fit and the lowest RMSE, the OE model gives slightly lower but still satisfactory accuracy, and the ARX model performs significantly worse. Based on the frequency-domain and time-domain comparison results, the 7th-order SS model is selected as the plant model.
To further assess the consistency between the identified model and the real AMB system under closed-loop operation, a chirp reference signal with an amplitude of 5 μm, a duration of 10 s, and a frequency range of 1–1000 Hz was applied to the experimental system, and the corresponding displacement and control current response were recorded. The closed-loop reconstruction is evaluated up to 1000 Hz because it covers the full operating range of the equipment with a margin. The purpose of this validation is to examine whether the identified assembled plant model can reproduce the dominant closed-loop response within the actual operating and control-relevant frequency range. Under the same excitation condition, the reconstructed closed-loop simulation based on the plant derived according to Equation (6) and the actual controller parameters was carried out. The comparison results are shown in
Figure 13.
As shown in
Figure 11, the simulated and measured responses exhibit good agreement in both displacement and control current before 7 s. The identified model captures the main oscillatory behavior, amplitude variation, and transient response in the resonance region with satisfactory accuracy. Some local discrepancies can still be observed, particularly near the resonance peak at approximately 1.6 s; nevertheless, the overall agreement indicates that the identified state-space model can effectively represent the closed-loop response within the validated operating frequency range.
A noticeable mismatch appears around 7.8 s in
Figure 11. This discrepancy is mainly caused by the fact that the identified black-box model does not fully capture the first flexible mode around 780 Hz, as shown in
Figure 9. Since this flexible mode is outside the normal operating frequency range of the platform, which mainly operates in the rigid-body mode, the mismatch has a limited influence on the intended application. Therefore, the independent validation results demonstrate that the identified state-space model can represent the practical closed-loop AMB system with acceptable accuracy for rigid-body-mode operation.
To further verify the reliability of the identified model,
Figure 14 shows the cross-correlation between the validation Chirp input and the model residual. Most correlation coefficients remain within the 95% confidence interval, although a few isolated points slightly exceed the interval due to the finite validation-data length. No continuous or systematic correlation pattern is observed. This result indicates that the residual is weakly correlated with the validation input, supporting the reliability of the identified model within the validated frequency range.
It should be noted that the identified SS model is a nominal plant model under the present closed-loop operating condition. The controller parameters, bias current, and rotor equilibrium position were kept unchanged during the identification experiments. The model may change when the rotor speed or load varies. Therefore, the model under different operating conditions needs to be further identified and verified.