1. Introduction
Accurate estimation of angular position and velocity for motor drives is a desired feature in high-performance automatic control systems. Resolvers, due to their strong robustness, high ruggedness and relatively low cost, have been widely chosen as shaft sensors to provide precise position information. However, the output of a resolver is two modulated analog signals which need to be demodulated by adopting resolver-to-digital conversion (RDC) before the angular position can be obtained.
The solutions to RDC are mainly comprised of hardware-based RDC and software-based RDC [
1]. The hardware-based RDC method mainly employs a special integrated circuit (IC) [
2,
3]. However, since the high-precision demodulation chip is expensive and limited by the bandwidth and temperature drift of the hardware itself (external resistances and capacitances), the use of hardware-based RDC may cause deviations, thereby affecting the measurement accuracy of the angle measuring system.
Software-based RDC can solve the problems that hardware RDC faces. A commonly used software RDC method includes open-loop arctangent method with look-up table [
4] and type-II angle tracking observer (ATO)-based on phase-locked loop (PLL) technique. The arctangent method calculates the angle position by inverse arctangent operation using the sine and cosine values with a fast-dynamic response [
5] and less hardware resources. However, this method is susceptible to electromagnetic noise and also introduces great nonlinearity in the system [
2,
5].
Therefore, most commercially available close-loop converters employ PLL technique to overcome noise and achieve tracking the input position signal with high resolution and wide bandwidth. A conventional PLL-based ATO consists of a phase detector, a loop filter (LF) and a voltage-controlled oscillator. The sinusoidal phase detector is used to generate the estimated error, which is proportional to the difference between the input signal and output signal. Then the error signal goes into a low-pass filter to remove high frequency noise. To complete the loop, the voltage-controlled oscillator works as an integrator for the filtered signal. It is important to note that the form of LF is (kP + kI/s), which makes the conventional ATO a type-II system.
In order to improve the performance of conventional ATOs, modifications have been made over the past years. Some ATOs aim to reduce impact of disturbances in analog signals from the resolver [
6,
7], and thus on the estimated angular position. Sivappagari and Konduru proposed an ATO that utilizes synchronous demodulation of the input signals and reference signal to enhance the precision of position determination [
8]. As for the application in sensorless drives, ATO is employed for reducing noise and oscillation in rotor position estimation, compared to those obtained from traditional methods [
9,
10]. Several works [
11,
12,
13,
14,
15] have focused on solving the amplitude imbalance-induced position error with modified ATO algorithms for error compensation.
Regarding the instability of ATO in high acceleration applications, a hybrid ATO scheme incorporating an LTI observer and a quadrature encoder was proposed [
7]. This hybrid method has a low mean square error and can improve robust stability. Low dynamic response has been investigated by Yim et al. [
16], where the conventional proportional-integral (PI)-based LF was transformed into a “bang-hang”-type phase comparator for fast tracking capability.
Another limitation of the conventional ATO is that it will cause a steady-state error with a speeding up signal at a constant acceleration. To reduce this error, several PLLs based on the third-order tracking loop have emerged [
17,
18,
19,
20]. Li and Wu [
2] transformed the conventional type-II ATO system into type-III by changing the low-pass PI filter to an improved proportional–integral–derivative (PID) structure, which enhances the ability to filter high-frequency noise components. Also, Wang et al. [
5] designed an error compensation module to eliminate this position error by using the estimated speed to generate a signal proportional to the motor acceleration. The advantages of this approach are its simple implementation and time-saving feature since it only requires one module to be added. Ellis and Krah [
19] took advantage of the Luenberger observer for angle tracking, which provides estimations of acceleration signals. Their design actually can also be classified as a type-III system in which the LF is represented as (
kP +
kI/s + kD/
s2) [
20]. Caruso et al. [
21] focused on the compensation of position error by making the tracking system have a time-dependent error, which would finally be cancelled by the PI controller. Zhang et al. [
22] proposed a composite observer for fast-varying speed using the arctangent method to compensate the estimated speed from ATO. Drawing on advantages from both arctangent and ATO methods, this composite observer enhances accuracy in estimating acceleration-related position. Neural networks have also been applied independently [
23] and combined with third-order ATO [
18] for reducing position errors, but the implementation is complicated and time-consuming.
However, there are still limited researches on reducing estimated position errors when the motor speeds up with a non-constant acceleration. Jerk and high-order acceleration are involved in some servo systems requiring high mobility, for example, CNC machining for irregular shape and positioning radar in tracking artillery, which places a great demand for ATO method in precise position estimation with high-order acceleration signals.
Therefore, in this paper, we focus mainly on suppressing steady-state errors for input signals with a high-order acceleration and enhancing the accuracy of ATO. The proposed ATO scheme utilizes the estimated speed signal and a compensation feedback loop to form a type-IV system. Simulation and experiments have been carried out to verify the effectiveness of our scheme. These results demonstrate that not only can errors from low-order acceleration signal be eliminated, but also tracking accuracy for high-order signal can be improved.
3. Improved ATO with Dynamic Compensation
Enhanced position estimation accuracy for high-order acceleration signals holds significance and valuable for practical applications in high-precision CNC machines and positioning radar for tracking artillery or other flying targets with high mobility. Although type-III ATO presents a solution to constant acceleration signals, accurately estimating non-constant high-order acceleration signals is still a hard case. To reduce demodulation errors for high-order acceleration signals, a compensated ATO with improved accuracy is proposed in this section. The proposed scheme investigates the error problem and improves the accuracy from the perspective of the internal body of the ATO, which is cost-effective and efficient. Theoretical analysis, simulation and experiments are conducted subsequently to demonstrate the effectiveness of this method.
3.1. Proposed Compensated Scheme of ATO
Figure 4 presents the proposed PLL-based ATO with compensation module that inhibits the steady-state error when applying a first-order acceleration signal (
θ =
αt3). The estimated speed signal is employed to construct an internal feedback loop. The basic idea of the proposed ATO is to improve the system order of the LF and therefore make the ATO become a type-IV system. By carefully designing the parameters and form of the transfer function, low-order items in the numerator of the system transfer function can be cancelled, leaving only the highest-order item, as is illustrated in the following derivation.
In contrast with the abovementioned compensated type-III ATO, the proposed structure takes advantage of a second-order compensation module , where γ is a parameter independent from kI and kP.
Hence, the closed-loop transfer function
can be expressed as:
According to Equation (9), it is easy to derive the error transfer function of
Figure 4 as:
As for a first-order acceleration signal,
, the Laplace transfer is:
By applying the final value theorem, the steady-state position estimation error can be calculated from Equations (10) and (11) as:
The result from Equation (12) indicates that the proposed RDC
scheme can track a signal of no higher than third order regarding time without
error, which greatly enhances the precision for measuring the motor’s position.
While the acceleration order is second, the position steady-state error
is a constant value with a dependence of Equation (13):
Although this ATO is still vulnerable to higher-order signal, second-order acceleration and below signals are more common in practical application. Also, according to the Taylor series expansion, even if the signal contains fourth or above components, it is too small to affect the estimation precision.
Theorical analysis shows that the proposed ATO is capable of improving position measurement accuracy by reducing estimation error from high-order acceleration signal, θ = αtn. To be specific, this ATO can eliminate position errors when n ≤ 3 and reduce error when n ≥ 4.
3.2. Parameter Tuning Guidance
In the proposed ATO structure, there are three free parameters for users to tune, namely kI and kP, the coefficients for the integral and proportional terms, respectively, and γ from the compensation module.
3.2.1. Establishing Relationship Between kI and kP
Due to the intrinsic structure of the proposed ATO, the existing tuning method for determining
kI and
kP in conventional ATO can be employed [
5]. A typical characteristic equation for a second-order system is
, where
ζ equals 0.707 when the overshoot and responsiveness reach a satisfying trade-off. In our case where the second-order system in Equation (7) is denoted by
and
kP = 2
ζωn, the relationship of
can be established.
3.2.2. Determining kP and γ
The prerequisite for adjusting
kP and
γ is to maintain
γ >
kP.
Figure 5a shows the relationship between the two parameters and bandwidth. The bandwidth shows a diagonal-tilt increasement, which indicates that a larger
kP and smaller
γ will reach a higher bandwidth.
Regarding the different bandwidths (denoted as
ωn) of 1300, 780 and 520 rad/s (via varying parameter
γ) in
Figure 5b, the error transfer function (Equation (10)) of the proposed ATO is investigated under a specific condtion of
kP = 141.4 and
kI = 100
2. From inspection of these three bandwidths, it can be concluded that a larger bandwidth (smaller
γ) suppresses the position estimation error more effeciently, which corresponds to the analysis of Equations (12) and (13).
It is important to note that an excessive bandwidth will increase the impact of measurement noise, which means
γ cannot be too small, or there will be significant oscillations in the estimation results. An experience relation is given as
γ ≥
kP + 23.6; considering a smaller value of
γ, the condition results in
γ =
kP + 23.6. Along with
kP =
γ − 23.6 and
,
Figure 5c evaluates the relationship between
γ and the system’s bandwidth, which is well-fitted linearly,
ωn = 10.7
γ − 560. Hence, with a desired bandwidth
ωn,
γ can be chosen as
γ = 0.0935
ωn + 53.
3.2.3. Tuning Guideline
Above all, our tuning guideline is summarized as follows:
- (1)
Choosing γ according to the desired bandwidth by referring to γ = 0.0935ωn + 53;
- (2)
Determining kP via kP = γ − 23.6;
- (3)
Determining kI via .
4. Simulation and Experimental Results
4.1. Simulation Results
In this section, we implemented a model comprised of conventional ATO, a compensated type-III ATO [
5] and the proposed ATO in Simulink to demonstrate their performances. The inputs of the three ATOs are the same ideal sine and cosine signals with different acceleration forms (
θ =
αtn) to imitate the demodulated signals coming from RDC.
To compare their accuracy, we tuned the parameters of three ATOs to have the approximate bandwidth of around 1200 rad/s. This bandwidth was chosen for a trade-off between the dynamic performance and measurement noise. Specific parameters for three methods are listed in
Table 1.
Figure 6 shows the position errors with an input signal in the form of
θ = 4
πt2. Results from the conventional ATO, type-III ATO and the proposed ATO are labelled separately with
e1,
e2 and
e3, respectively.
With a span of 1 second, e1 demonstrated a steady-state error of 0.145 degree and e2, e3 had zero estimation error after 0.2 s. The type-III and proposed ATO experienced an almost similar trend in the observed time span but estimation error from the proposed one had a relatively larger overshoot (8.2 × 10−3 degree) than that of type-III ATO (6.1 × 10−3 degree). However, the settling time was almost the same.
Figure 7 compares the estimation accuracy under the condition of
θ = 4
πt3.
e1 of conventional ATO shows a large output error range, which presents a theoretically expected linearly increasing trend (at 5 s,
e1 = 2.18 degrees).
e2 and
e3 of
Figure 7 present that although there is relatively large overshoot and longer settling time, when the systems have enough time to attain steady state, the proposed ATO will present zero position estimation error and type-III ATO will keep a position estimation error of around 7 × 10
−4 degree.
In order to show the improved accuracy of the ATO even under the condition of higher-order sharp change, we carried out the simulation with the input of
θ =
πt4. As shown in
Figure 8, compared with accumulative errors of 5.3 degrees and 0.0036 degree at 5 s from the conventional and type-III ATO, the proposed one only demonstrates a steady-state error of 7.1 × 10
−4 degree.
Figure 9 demonstrates the estimation errors when the input is set as
θ = 2
π +
πsin(2
πt).
Figure 9a shows the evolution with a time span of 5 seconds and
Figure 9b zooms in to omit the large overshoot at the beginning. In the case of sine-wave signal, the proposed ATO is also efficient in error suppression and reduces the error by two orders of magnitude compared to the conventional one.
From simulation results of different forms of input signal, we can see the proposed ATO eliminates or reduces the position errors on a large scale, which demonstrates its robustness and effectiveness in the estimation of acceleration signal. This provides the potential of the proposed ATO to be employed in high-precision position estimation for high-order signals and targeted signal with high harmonic components.
4.2. Experimental Results
In order to test the proposed ATO scheme and demonstrate its advantages in an actual situation, an experimental platform based on a hardware-in-loop (HIL) method is set up. This experimental platform mainly comprises a resolver simulator, a signal acquisition/processing board and a master computer (
Figure 10).
The resolver simulator is in charge of generating two envelope signals based on the programmed rotation acceleration form. Then the envelope signals go through synchronous envelope detection and are converted into two analog output signals (
usin and
ucos). The signal acquisition board works as an analog-to-digital converter (ADC), which can sample the analog output signals and convert them into digital ones. The digital signals will be uploaded to the upper computer and applied with the same three ATO methods used in simulation results. It is noteworthy that, using the HIL method, the actual value of angular position can be known to evaluate error suppression performance of the RDC, whereas a practical resolver fails to provide this information [
24].
In the experiments, three conditions, namely first-order acceleration, second-order acceleration and sine-wave signals, were set as inputs for three ATOs to evaluate their performance in position estimation. The sampling frequency was 1 kHz and the rest of the parameter settings were the same as in the simulation.
We first programmed the resolver simulator to make it rotate with a third-order signal regarding time,
.
Figure 11 shows orthogonally symmetric input of the ATO, which is the sampled sine and cosine signals after envelope detection and preprocessing methods.
Figure 12 compares the estimation position errors of the conventional ATO, type-III ATO and the proposed ATO.
e1,
e2 and
e3 are the position errors of the conventional ATO, type-III ATO and the proposed ATO, respectively. With time increasing, the conventional ATO has a linearly growing position error and the type-III ATO has a steady state position error of 4 × 10
−5 degree. And the position error of the proposed ATO is fluctuating around 0 degree, which indicates it has the ability to estimate angular position without error.
We also evaluated the performance of the three ATO schemes with a higher factor for the first-order acceleration signal.
Figure 13 shows the position error with a factor of
for the acceleration rotation. The results are similar to the former condition with a small acceleration factor, with conventional and type-II ATO having steady-state errors of 0.9 degree and 3 × 10
−4 degree to 6 × 10
−4 degree, respectively, and nearly zero error for the proposed ATO.
Another feature for the proposed ATO scheme (type-IV) is that it has a constant steady-state position estimation error (shown in
Figure 8), compared to the former two ATOs, of which the position errors increase with time. This characteristic is easy to deduct from final-value theorem.
Figure 14 verifies this by inputting an acceleration signal with fourth order regarding time. After the output of position estimation comes into steady state, errors of the former two ATO has an inclination of increasing and the proposed ATO has an error of around 1.95 × 10
−5 degree. This result is better than conventional one with two orders of magnitude and the error is smaller than the type-III ATO, which ranges from 2.4 × 10
−5 degree to 2.8 × 10
−5 degree.
In the case of sinusoidal change,
Figure 15 shows the angular position estimation error curves of the three ATO schemes when the resolver rotates at a sinusoidal form for its angular position (
θ = sin
t). The result demonstrates that the proposed ATO has almost the same capability of error suppression as the type-III ATO, which is an improved accuracy by three orders of magnitude in contrast to the conventional one.
4.3. Discussion
From the above-mentioned simulation and experimental results, the proposed ATO demonstrates advantages in position estimation accuracy over conventional and type-III ATO.
Hereby, in this section we discuss the novelty and application of the proposed ATO. To our best knowledge, limited research has been conducted to employ a compensation module for improved performance in ATO design, which is relatively simple, time-saving and cost-effective. Also, novelty of this ATO can be demonstrated through that without investigation of non-constant high-order acceleration signals, by simply using this feedback loop of estimated speed the accuracy of position estimation can be improved and error reduction and suppression can be achieved in a wider category of signals, the high-order acceleration signals (θ = αtn). Hence, we consider the compensation module, parameter design, accuracy improvement and time-saving implementation as points in our novelty.
As for application, this ATO holds great potential for wherever high-accuracy position estimation of a motor is needed, especially for those whose working conditions involve high speed and high acceleration rate. As formerly mentioned, the CNC machine and positioning radar are two special cases.
Since most high-speed CNC machines’ fine processing components and parts work within a travel range of only tens to hundreds of millimeters, high acceleration is required to achieve high speed and an instant stop and jerk. When dealing with irregularly shaped components, high-order acceleration signals are applied to the motor of the CNC machine.
Positioning radars need to track highly mobile artillery or other flying targets with high precision. These targets are not subject to a typical moving pattern (constant speed or constant acceleration) and high-order acceleration is usually employed to achieve posture adjustment and avoid being tracked, which places the same requirements on the motor of positioning radar.
Therefore, the proposed ATO scheme solves the urgent demands that motors performing complex accelerating patterns (high-order acceleration) call for in high-precision position estimation.
However, as is observed from the simulation results, the proposed ATO has a larger overshoot and longer settling time in transient response. Compared with two other types of ATO, the dynamic response of this ATO is not as good. Dynamic problems can be resolved by combining with other good-dynamic algorithms. When the error is large, a good-dynamic method is adopted; when the error is less than a set value, one may switch to the proposed method. This can balance both steady-state accuracy and dynamic response. Further research will investigate potential structure revision and refined design to improve its dynamic response.