ArticlePDF Available

Software-Based Resolver-to-Digital Conversion Using a DSP

Authors:

Abstract and Figures

A simple and cost-effective software-based resolver-to-digital converter using a digital signal processor is presented. The proposed method incorporates software generation of the resolver carrier using a digital filter for synchronous demodulation of the resolver outputs in such a way that there is a substantial savings on hardware like the costly carrier oscillator and associated digital and analog circuits for amplitude demodulators. In addition, because the method does not cause any time delay, the dynamics of the servo control using the scheme are not affected. Furthermore, the method enables the determination of the angle for a complete 360deg shaft rotation with reasonable accuracy using a lookup table that contains entries of only up to 45deg. Computer simulations and experimental results demonstrate the effectiveness and applicability of the proposed scheme.
Content may be subject to copyright.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008 371
Software-Based Resolver-to-Digital
Conversion Using a DSP
Santanu Sarma, Member, IEEE, V. K. Agrawal, and Subramanya Udupa
Abstract—A simple and cost-effective software-based resolver-
to-digital converter using a digital signal processor is presented.
The proposed method incorporates software generation of the re-
solver carrier using a digital filter for synchronous demodulation
of the resolver outputs in such a way that there is a substantial
savings on hardware like the costly carrier oscillator and associ-
ated digital and analog circuits for amplitude demodulators. In
addition, because the method does not cause any time delay, the
dynamics of the servo control using the scheme are not affected.
Furthermore, the method enables the determination of the angle
for a complete 360
shaft rotation with reasonable accuracy using
a lookup table that contains entries of only up to 45
. Computer
simulations and experimental results demonstrate the effective-
ness and applicability of the proposed scheme.
Index Terms—Angle measurement, resolver converter, resolver-
to-digital (R/D) conversion.
I. INTRODUCTION
R
ESOLVERS are very robust and cost-effective angular
position sensors that are extensively used in applications
like robots, machine tools, and radars. They are also used in
many safety critical systems like aircraft, satellite antennas,
and electromechanical braking systems [1], [2]. They resemble
small motors and have magnetically coupled rotor and stator
windings. The analog output of the resolver contains the angu-
lar position information that is obtained in digital form using
a resolver-to-digital (R/D) converter. Different methods [1]–[7]
exist in the literature, focusing on ways to improve the mea-
surement accuracy of the R/D converter; however, techniques
that are cost effective and reasonably accurate and that can
be implemented using less hardware to reduce the weight and
size, as preferred in space applications, are rarely found. For
instance, in [3], a method for reducing the position error caused
by the existence of nonideal resolver signal characteristics is
introduced by calibrating each resolver and R/D converter;
then, correction of the R/D converter output is performed in
real time. Although this method corrects most of the errors,
including those with an origin in the R/D converter, it is also
very labor intensive and time consuming, requiring excessive
signal processing and hardware. In [4], an R/D conversion
method that uses a bang-bang type phase comparator for fast
tracking is proposed. The concept of a phase-locked loop (PLL)
Manuscript received April 9, 2005; revised June 19, 2007.
The authors are with the Control Systems Group, Indian Space Re-
search Organization (ISRO) Satellite Centre, Bangalore 560017, India (e-mail:
santanu@isac.gov.in).
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org.
Digital Object Identifier 10.1109/TIE.2007.903952
is used, which requires two low-pass filters to reject noise from
the R/D conversion loop. Consequently, this also results in a
considerable hardware requirement, in addition to that of the
amplitude demodulators, tracking errors at high speeds and
out-of-lock conditions of the PLL. In [5], a low-cost solution
for measuring the position by means of a standard resolver
and its implementation on a combined analog–digital board
is proposed. The method uses a digital clock, and filtering
of the harmonics from the digital clock is implemented to
generate the carrier of the resolver. The method compromised
the need for an accurate sinusoidal oscillator, resulting in a
harmonic content in the resolver carrier and deterioration of the
measurement performance. In [6] and [7], high-accuracy 360
linearized converters are proposed. However, these techniques
also use considerable hardware, including analog amplitude
demodulators, analog multipliers, and glue logic for imple-
menting the arcsine function, which are generally affected by
nonideal behaviors like offset and nonlinearity.
In this paper, a novel and cost-effective 360
linearized con-
verter is proposed, which includes software generation of the
resolver carrier using a single-multiplier sine–cosine generator
and synchronous demodulation of the output quadrature signals
using the generated carriers. This allows saving on the costly
oscillator and hardware-efficient demodulation of the resolver
output, even in the presence of wide variations in the resolver
carrier. In addition, because the method does not cause any
time delay, the dynamics of the servo control system using
the method is not affected. The delayless demodulation of the
resolver output is achieved by accurately sampling the positive
peak of the sinusoidal carrier using simple peak detection logic.
The obtained analog sine and cosine envelopes that contain
the angle information are digitized using an analog-to-digital
converter (ADC). The digitized envelopes are divided to obtain
the tangent of the angle. The corresponding angle is searched
from a lookup table (LUT) that contains values of only up to 45
using the quadrant, octant, and tangent or cotangent relations to
determine the angle for a complete 360
shaft rotation without
any singularity in the arctangent computation. Apparently, these
types of logic can easily be accommodated in the processor that
controls the servo system without the need for a separate R/D
converter card, saving cost, weight, and space.
II. P
RINCIPLE OF OPERATION OF A RESOLVER
This angular displacement sensor, which is widely used for
its fine resolution and accuracy, low output impedance, wide
temperature range of operation, small size, weight, and power
consumptions, and simple and robust construction, operates
0278-0046/$25.00 © 2008 IEEE
372 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 1. (a) Operating schematic diagram of the resolver. (b) Resolver output signals.
on the principle of mutual induction, as in a transformer. It
also provides the advantage of very high noise immunity when
combined with synchronous demodulator, as well as very long
distance transmission of the output data, without severe corrup-
tion by noise, before being converted to a digital format in the
vicinity of the processor at a reasonable cost. A simplified block
schematic diagram of a resolver and the associated signals is
shown in Fig. 1. The rotor contains the primary coil, which
consists of a single two-pole winding energized by an ac supply
voltage given by
v
ref
= V sin(ω
c
t) (1)
where ω
c
is the frequency of the excitation or carrier signal to
the rotor. The rotor is directly attached to the motor shaft whose
rotation is measured. The stator consists of two sets of windings
placed 90
apart. In an ideal case, if the angular position of the
rotor with respect to one pair of stator windings is denoted by
θ, then the induced voltages in the pair of windings is given by
v
oc1
= g
v
v
ref
cos(θ)=A cos(θ)sin(ω
c
t) (2)
where A = g
v
V . The induced voltage in the other pair of
windings is given by
v
os1
= g
v
v
ref
sin(θ)=A sin(θ)sin(ω
c
t). (3)
These two output signals v
oc1
and v
os1
are called quadra-
ture signals. As the excitation or the carrier signal v
ref
is
an ac signal, clearly, the output voltages from the two-stator
windings are amplitude modulated, as shown in Fig. 2. In
other words, the carrier signal v
ref
is modulated by the angu-
lar displacement motion θ of the rotor. The determination of
the angular position in the first quadrant (0
θ 90
) can
be obtained by using a constant gain. However, both signals
are needed to determine the angular displacement (direction
as well as magnitude) in all four quadrants (0
θ 360
)
without causing any ambiguity. If the angular speed of the
rotor is denoted by ω such that θ = ωt, the differentiation of
the quadrature signals gives the parameter g
v
that depends
primarily on the geometric and material characteristics of the
device and, without loss of generality, can be taken as unity.
SARMA et al. : SOFTWARE-BASED RESOLVER-TO-DIGITAL CONVERSION USING A DSP 373
Fig. 2. Schematic diagram of software-based R/D conversion.
The differentiation of the two output signals v
oc1
and v
os1
is
given as
˙v
oc1
= g
v
v
ref
ω sin(ωt),
˙v
os1
=+g
v
v
ref
ω cos(ωt). (4)
Hence, the speed of the rotation is
ω v
os1
/v
oc1
= ˙v
oc1
/v
os1
. (5)
The demodulation of the quadrature signals produces the
cosine and sine envelopes given by
v
c1
= V cos(θ)
v
s1
= V sin(θ) (6)
when g
v
=1. The angular displacement θ can be obtained from
the sine and cosine envelopes given by
θ = tan
1
(v
s1
/v
c1
). (7)
For a multispeed resolver, another pair of quadrature signal
outputs that is a function of the multiple of the shaft angle θ
is available.
III. S
OFTWARE-BASED R/D CONVERSION
The block diagram of the R/D conversion scheme is shown in
Fig. 3. In this R/D conversion scheme, the sinusoidal carrier for
the resolver is generated in a digital signal processor (DSP),
and its peak is detected from the cosine part of the digital
sine–cosine carrier generator. The generated carrier is applied
to the resolver carrier terminals through a digital-to-analog
converter (DAC) of appropriate resolution. At the positive
peak, a pulse is simultaneously applied to the sample and hold
(SH) circuits for synchronous demodulation of the amplitude-
modulated output. Evidently, this undersampling of the resolver
output produces the carrier envelopes as a special case of
aliasing. The obtained envelopes of the amplitude-modulated
Fig. 3. Single-multiplier sine–cosine generator.
carrier are used to compute the shaft rotation θ by using an LUT
that contains arctangent values for a 360
shaft angle.
Some of the major features of this software-based R/D con-
version that provide the potential for commercial use are listed
as follows:
1) flexibility of changing the resolver carrier parameters like
frequency and amplitude, which is obtained by simply
changing the constant of the sine–cosine generator;
2) noise-free carrier generation and precise detection of the
carrier peak for demodulation with very simple logic and
minimal computational effort;
3) synchronous demodulation of the quadrature signals that
does not introduce any time delay to affect the dynamics
of the servo loop;
4) reduction in cost due to a reduction in hardware like
oscillator, peak detectors, and other associated digital and
analog circuitry, evidently saving weight and size;
374 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 4. Tangent and cotangent of an angle.
5) performance and accuracy improvements as the effects of
parameter and environmental variations are reduced;
6) an LUT-based arctangent computation using quadrant and
octant logic to avoid singularities and computationally
efficient implementation of a 360
linear converter.
It may be noted that the DAC that converts the digital carrier
to its analog equivalent and the ADC used for acquiring the sine
and cosine envelopes after demodulation should be selected
based on the performance and the accuracy requirements. High-
resolution DACs and ADCs can produce further improvement
in the performance and accuracy of the method.
The following subsection briefly describes the method of
generation of the sine carrier, associated peak detection logic
for synchronous demodulation, and arctangent computation us-
ing quadrant and octant logic for full shaft angle measurement.
A. Carrier Generation
The carrier signal to the resolver is generated by using a
digital sine–cosine generator [6], which is basically a second-
order digital filter with its pole on the unit circle. There are
many possible representations of this sine–cosine generator.
However, a single-multiplication structure with three associ-
ated addition steps is used for computation-efficient software
implementation.
Let s
1
[n] and s
2
[n] be the two outputs of a digital sine–cosine
generator given by
s
1
[n]=α
sin(
c
)
s
2
[n]=β
cos(
c
). (8)
From these equations, one can arrive at
s
1
[n +1]=α sin ((n +1)ω
c
)
= α sin(
c
)cos(ω
c
)+α cos(
c
)sin(ω
c
) (9)
s
2
[n +1]=β cos ((n +1)ω
c
)
= β cos(
c
)cos(ω
c
) β sin(
c
)sin(ω
c
). (10)
Equations (9) and (10) can be rewritten in matrix form
using (8) as
s
1
[n +1]
s
2
[n +1]
=
cos(ω
c
)
α
β
sin(ω
c
)
β
α
sin(ω
c
)cos(ω
c
)

s
1
[n]
s
2
[n]
(11)
which is the state-space representation of the sine–cosine gen-
erator with a zero input. This representation requires many
multipliers and can be implemented using ve of them. To
arrive at a computationally efficient structure of the sine–cosine
generator, a general second-order structure with no delay-free
loops [8] is considered, which is characterized by the following
equations:
s
1
[n +1]
s
2
[n +1]
=
0 a
00

s
1
[n +1]
s
2
[n +1]
+
cd
ef

s
1
[n]
s
2
[n]
=
a
e + ca
f + d
ef

s
1
[n]
s
2
[n]
. (12)
By comparing (11) and (12), one gets
e =
β
α
sin(ω
c
)
f =cos(ω
c
)
a e + c =cos(ω
c
)
a f + d =
α
β
sin(ω
c
). (13)
By expressing the multiplier constants a and d as a func-
tion of the multiplier constant c, and with some simple
manipulation, one obtains the following ve-multiplier repre-
sentation [8]:
s
1
[n +1]
s
2
[n +1]
=
0
α(ccos ω
c
)
β sin ω
c
00

s
1
[n +1]
s
2
[n +1]
+
c
α(1c cos ω
c
)
β sin ω
c
β
α
sin ω
c
cos ω
c
s
1
[n]
s
2
[n]
. (14)
SARMA et al. : SOFTWARE-BASED RESOLVER-TO-DIGITAL CONVERSION USING A DSP 375
Fig. 5. Quadrant selection conditions.
To reduce the total number of multipliers, different combina-
tions of the multiplier constant c have been used. For example,
c =cosω
c
gives the four-multiplier representation of (11). A
three-multiplier representation is achieved by using α sin ω
c
=
±β or α = ±β sin ω
c
[8] in (14). A single-multiplier structure
can be derived by setting β = α tan(ω
c
/2) in (14) for which
the expressions reduce to the following:
s
1
[n +1]
s
2
[n +1]
=
cos(ω
c
)cos(ω
c
)+1
cos(ω
c
) 1cos(ω
c
)

s
1
[n]
s
2
[n]
=
cos ω
c
(s
1
[n]+s
2
[n]) + s
2
[n]
cos ω
c
(s
1
[n]+s
2
[n]) s
1
[n]
. (15)
Another single-multiplier representation is derived by set-
ting α = β tan(ω
c
/2) in (14) for which the expressions are
given by
s
1
[n +1]
s
2
[n +1]
=
cos(ω
c
)cos(ω
c
) 1
cos(ω
c
)+1 cos(ω
c
)

s
1
[n]
s
2
[n]
=
cos ω
c
(s
1
[n]+s
2
[n]) s
2
[n]
cos ω
c
(s
1
[n]+s
2
[n]) + s
1
[n]
. (16)
The block diagram representation of (15) and (16) is shown in
Fig. 3(a) and (b), respectively.
It can be noted that the single-multiplier structure gener-
ates the oscillations for any nonzero initial condition, and
the frequency of the oscillation is governed by the cos ω
c
multiplier constant term. Furthermore, the single-multiplier
structure retains its characteristic roots on the unit circle under
finite word-length constraints, and implementation in fixed-
point processors does not pose any limitations. On the other
hand, in other realizations of the sine–cosine generators, roots
may go inside or outside the unit circle due to the quantization
of the multiplier coefficients, causing the oscillations to decay
or build up. In addition, due to product roundoff errors, the
sequences that were generated by the sine–cosine generator
may not retain their sinusoidal behaviors, even in the case
of a single-multiplier generator. One way to overcome this
situation is to reset the state variables after some iterations at
prescribed points so that the accumulated errors do not become
unacceptable.
Fig. 6. Octant and corresponding shaft angle.
B. Synchronous Amplitude Demodulation
By using the generated sine and cosine carrier signals, the
resolver output can be demodulated by using any of the syn-
chronous demodulation techniques, specifically to avoid any
delay in the extracted sine and cosine envelopes. A simple way
to achieve this is by simultaneously sampling the quadrature
outputs of the resolver at the positive peak of the carrier. The
peak of the sinusoidal carrier is detected by using the cosine
signal and comparing it to a value greater than or equal to zero.
A pulse is produced during the positive half of the cosine signal
that directly coincides with the peaks of the sinusoid. The rising
edge of this pulse is used to simultaneously latch the value
of the quadrature outputs of the resolver to two SH circuits.
This results in the synchronous amplitude demodulation of the
resolver outputs.
The detection of the carrier peak plays an important role in
the accuracy of the measurement. In cases where a hardware
376 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 7. Software-based R/D conversion operation.
oscillator with zero-crossing detectors is used, the presence of
noise in the carrier will produce ambiguity in accurate peak
detection, thereby introducing deviations from the expected
envelopes. The software-based approach can overcome these
problems of noise and environmental degradation effects with
the added flexibility of easily configuring the carrier frequency
and amplitude. Furthermore, the change in the carrier frequency
and amplitude does not limit the method of demodulation and
R/D conversion.
C. Angular Position and Rate Computation for a
Full Shaft Rotation
The sine and cosine envelopes that were obtained after
demodulation of the resolver quadrature signal are used to
compute the angular rotation θ. The division of the sine en-
velope by the cosine envelope gives tan(θ), and the tangent
inverse of that provides θ. It is to be noted that any amplitude
imbalance in the demodulated envelopes will cause error in
the computed shaft angle, which can be avoided by calibrating
the resolver. Furthermore, the computation of tan(θ) will have
singular points at multiples of π/2 that will create numerical
problems while implementing in the processor, as shown in
Fig. 4. These singularities are avoided by suitably selecting
the quadrant, octant, and the tangent or cotangent part of θ
that is always bounded by ±1, as shown in Fig. 4. In addition,
symmetrical properties exist between the tangent and cotangent
curves in Fig. 5 that can be exploited to use an LUT that
contains either arctangent or arccotangent values of only up to
45
and to use suitable reverse indexing to get θ for a full shaft
rotation. These conditions for selecting the quadrants are shown
in Fig. 5.
Care needs to be taken so that boundary points in the
quadrants will not be repeated. The octant selection logic
and the computation of θ using only the arctangent function
values are shown in Fig. 6. The values of the arctangent
function from 0
to 45
are stored in equal steps in an LUT
that determines the resolution of shaft angle measurement. By
increasing the number of points in the table, the resolution
can be improved. Furthermore, the computation of the rate can
be performed from the computed angular position either using
forward or backward derivative operation. A better estimate of
position, as well as speed, can be achieved by canceling the
systematic errors as in [9] and automatically calibrating the
system using adaptive techniques like recursive least squares
filters [10].
SARMA et al. : SOFTWARE-BASED RESOLVER-TO-DIGITAL CONVERSION USING A DSP 377
Fig. 8. Error for different ADC and DAC resolutions with (a) and (c) 12-bit ADC and DAC, 16-bit LUT, and (b) and (d) 10-bit ADC and DAC, 16-bit LUT, at
300 and 600 rpm, respectively.
IV. SIMULATION AND EXPERIMENTAL RESULTS
Simulation of the software-based R/D scheme is shown in
Fig. 7. The constant cos(ω
c
) is suitably set by using (8) to
get the required carrier frequency and an adequate number of
sample points per shaft rotation from the sine–cosine generator.
For instance, to have a carrier frequency of 1 kHz at a sampling
frequency of 15 kHz, cos(ω
c
) is set to 0.91354545764260.
The amplitude of the carrier is normalized and applied to a
zeroth-order hold DAC. The quadrature signal outputs of the
resolver at 600 rpm are shown in Fig. 7. The SH circuit is
simultaneously triggered at the zero crossing of the cosine
carrier, resulting in the synchronous amplitude demodulation
of the resolver outputs. These are used to compute the shaft
angle, as shown in Fig. 7. The errors in the measured an-
gle for a complete rotation for different cases are shown in
Fig. 8. As seen in Fig. 8, the simulated error produced by
this R/D conversion is within ±5e 4 with floating-point
arithmetic. However, due to the quantization in the ADC and
DAC and the fixed-point representation of the LUT, the ac-
curacy reduces to ±1e 3 for different cases, as shown in
Fig. 8.
The setup used for testing the proposed converter is shown
in Fig. 9. It includes an Analog Devices DSP-based resolver
simulator board for producing the quadrature signals using the
carrier generated in the proposed R/D converter DSP card.
This resolver simulator provides the flexibility of producing
a precise angular rotation for a large range in a controlled
manner. It samples the carrier signal and multiples with the
internally generated sine and cosine of the shaft rotations.
The quadrature outputs from the resolver simulator card are
mapped to fit the maximum range (±5 V) of the DAC and
ADC (AD1671) of the R/D converter. However, in practice,
suitable amplification may be needed to achieve the required
excitation voltage: for instance, 18-V peak-to-peak for the
Global Drive MDSKA 071-22 [11] resolver. For this resolver,
the amplitude of the output signals becomes 4.5 V with the
transformation ratio between the stator and rotor windings
being 0.5. However, the experimental results presented in
Fig. 10 are obtained for a 5-V resolver output that is sampled
through an ADC interface card to the ISA-based ADSP-21062
board for the proposed R/D converter. The software for the
proposed R/D converter is implemented in assembly language
of an ADSP-21062 processor using the EZ-LAB development
system.
Fig. 10(a) shows the resolver simulator outputs that are
produced using a 1-kHz carrier from the R/D converter. The
378 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 9. Experimental setup used for the proposed software-based R/D converter.
Fig. 10. Experimental results with the proposed R/D converter. (a) Resolver simulator outputs. (b) Demodulation of quadrature signal v
oc1
. (c) Demodulation
of quadrature signal v
os1
. (d) Demodulated envelopes. (e) Angle output with respect to the sine envelope. (f) Angle output with respect to the cosine envelope
at 300 and 600 rpm.
peak-to-peak voltage from the resolver simulator output is
±5 V. Fig. 10(b)–(d) illustrates the synchronous demodula-
tion of the resolver quadrature outputs. It can be observed in
Fig. 10(c) that there is a negligible delay caused by demodu-
lating the resolver outputs due to synchronous demodulation.
Fig. 10(e) and (f) shows the arctangent computation for a full
360
rotation of the shaft in offset binary notations, with 5V
representing 000H and +5 V as FFFH. The plots reveal good
linearity of the converter from 0
to 360
. Furthermore, the
error difference between the angles that were measured by the
proposed R/D converter and that of the actual angle is close to
the computer simulations, as shown in Fig. 8.
V. C
ONCLUSION
A simple cost-effective software-based R/D converter has
been presented, which requires significantly less hardware and
computational resources for real-time implementation using a
DSP. The method includes processor-based generation of the
resolver carrier and innovative synchronous demodulation of
the outputs in such a way that the need for costly hardware
like oscillators and amplitude demodulators is avoided. The
sine–cosine carrier generator employs a single-multiplier struc-
ture to generate both the sine and cosine carriers that allow ac-
curate peak detection of the sinusoidal carrier by detecting the
zero crossover of the cosine part for synchronous demodulation
SARMA et al. : SOFTWARE-BASED RESOLVER-TO-DIGITAL CONVERSION USING A DSP 379
of the resolver outputs. A simple LUT-based angular position
computation provides the shaft angle for a complete 360
shaft rotation without any singularity in the arctangent com-
putation. Moreover, the proposed method provides increased
flexibility and angle measurement with reasonable accuracy
without introducing any additional time delay in the measured
angle. Simulation and experimental results that illustrate the
effectiveness of the scheme are presented.
R
EFERENCES
[1] A. Murray, B. Hare, and A. Hirao, “Resolver position sensing system
with integrated fault detection for automotive applications,” in Proc. IEEE
Sensors, Jun. 2002, vol. 2, pp. 864–869.
[2] R. Hoseinnezhad, “Position sensing in brake-by-wire callipers using
resolvers,” IEEE Trans. Veh. Technol., vol. 55, no. 3, pp. 924–932,
May 2006.
[3] D. C. Hanselman, “Techniques for improving resolver-to-digital conver-
sion accuracy,” IEEE Trans. Ind. Electron., vol. 38, no. 6, pp. 501–504,
Dec. 1991.
[4] C.-H. Yim, I.-J. Ha, and M.-S. Ko, A resolver-to-digital conversion
method for fast tracking,” IEEE Trans. Ind. Electron., vol. 39, no. 5,
pp. 369–378, Oct. 1992.
[5] C. Attaianese, G. Tomasso, and D. De Bonis, A low cost resolver-to-
digital converter,” in Proc. IEEE IEMDC, 2001, pp. 917–921.
[6] M. Benammar, L. Ben-Brahim, and M. A. Alhamadi, A novel resolver-
to-360
linearized converter,” IEEE Sensors J., vol. 4, no. 1, pp. 96–101,
Feb. 2004.
[7] M. Benammar, L. Ben-Brahim, and M. A. Alhamadi, A high precision
resolver-to-DC converter,” IEEE Trans. Instrum. Meas., vol. 54, no. 6,
pp. 2289–2296, Dec. 2005.
[8] S. K. Mitra and C. S. Burrus, “Digital sine–cosine generator,” in Proc. 2nd
Florence Int. Conf. Digital Signal Process., Florence, Italy, Sep. 1975,
pp. 142–149.
[9] A. Bünte and S. Beineke, “High-performance speed measurement by
suppression of systematic resolver and encoder errors,” IEEE Trans. Ind.
Electron., vol. 51, no. 1, pp. 49–53, Feb. 2004.
[10] R. Hoseinnezhad, A. Bab-Hadiashar, and P. Harding, “Calibration of
resolver sensors in electromechanical braking systems: A modified re-
cursive weighted least-squares approach,” IEEE Trans. Ind. Electron.,
vol. 54, no. 2, pp. 1052–1060, Apr. 2007.
[11] Synchro and Resolver Conversion, G. Boyes, Ed. Norwood, MA: Memory
Devices, Ltd., Analog Devices Inc., 1980.
Santanu Sarma (M’05) received the B.S. degree in
electrical engineering from Tripura Engineering Col-
lege (now National Institute of Technology), Tripura,
India, in 1999 and the M.Tech. degree in electron-
ics and communication engineering from Indian In-
stitute of Technology Guwahati (IITG), Guwahati,
India, in 2002.
Since 2002, he has been with the Control Systems
Group, Indian Space Research Organization (ISRO)
Satellite Center, Bangalore, India, as a Researcher.
He has been involved in the design and development
of the Attitude and Orbit Control System, the ASIC-based design of the bus
management unit for the INSAT and IRS class of satellites, UML modeling of
large software systems, and DSP-based system design. His research interests in-
clude modeling and analysis of control systems, embedded computing systems,
and VLSI signal processing.
Mr. Sarma is a member of the Institution of Electronics and Telecommuni-
cation Engineers, India. He is the recipient of the National Talent Scholarship,
the GATE Scholarship, and a gold medal from Tripura University.
V. K. Agrawal received the M.Tech. degree in elec-
trical and electronics engineering from the Indian
Institute of Technology, Kanpur, India, in 1978 and
the Ph.D. degree in computer science from the Indian
Institute of Science, Bangalore, India, in 1986.
He has been with the Indian Space Research Or-
ganization (ISRO) Satellite Center, Bangalore, since
1978, where he is currently the Group Director of the
Control Systems Group. He has worked on the de-
sign and development of onboard computer systems
for satellites with the state-of-the-art technology. His
research interests include parallel processing, fault-tolerant computing, VLSI
design, and microprocessor-based design.
Subramanya Udupa received the B.Eng. degree in
electronics and communication from Malnad Col-
lege of Engineering, Hassan, India, in 1984 and the
M.S. degree in software system from Birla Institue
of Technology and Science, Pilani, India, in 2005.
From 1985 to 1987, he was an R&D Engineer with
Integrated Process Automation, Bangalore, India. In
1987, he joined the Indian Space Research Organi-
zation (ISRO) Satellite Center, Bangalore, where he
is currently with the Control Systems Group. He has
been involved in the design and development of the
Attitude and Orbit Control Electronics and bus management unit for the INSAT
and IRS class of satellites. He is also the Head of the On-Board Software
Section, which is responsible for developing software for spacecraft.
... As a result, the reduction of the total cost has been ensured. On the other hand, tables have been used for the purpose of realizing simpler software [8][9][10]. In recent years, quite a lot of studies have been conducted on the realization of R/D converters through software instead of being realized by circuit design [11][12][13]. ...
Article
Full-text available
Resolver is a shaft angle sensor, which is mechanically connected to the motor shaft and operates according to the induction principle. A high frequency sinusoidal signal is applied to its input and produces two signals in the form of sine and cosine at its output. The output signals include the angle information of the motor shaft. Using these signals, the shaft angle of the motor is determined. In the study, a sinusoidal signal at the 5 kHz frequency was applied to an input resolver as the conventional method. After, the fact that applied to two PWM signals which has a duty ratio d=0.5 at 20 kHz and 100 kHz frequency is proposed as different from the conventional method. These PWM signals are the input signals of the resolver. Thus, complex equipment will not be needed to produce the high frequency sinusoidal signal. With only a simple amplifier circuit, a high frequency input signal will be produced. More sensitive angle information will be obtained with high frequency stimulation. A simulation study of conventional and proposed methods has been performed in MATLAB/Simscape environment. As a result of the simulation study, the information on the motor angle obtained from both methods was compared by using figures and details. By increasing the applied PWM signal from 20 kHz to 100 kHz, measurement errors related to shaft angle change were minimized and more precise position information was obtained.
... The phase angle can be determined by numerical calculation; however, precise determination is challenging due to the high nonlinearity of the arctangent function around π/2 and 3π/2. Consequently, the algorithm often utilizes lookup tables (LUTs), which consume substantial memory, especially when high interpolation is desired [20], [21]. On the other hand, it offers the advantage of being insensitive to fluctuations in the maximum amplitudes (V max ) of generated sinusoids, due to its ratiometric operation. ...
Article
In this article, a new absolute encoder design based on a microcontroller (μC), which is cheap and simple to manufacture and produces high-precision linear output, is presented. Our demodulation algorithm is based on the linearization of highly linear regions around the midpoints of sinusoidal signals generated by sensors. In this study, we manufactured the encoder disk ourselves, and by adjusting the sensor parameters optimally, we successfully obtained more linear signals compared to the signals produced by conventional sine-cosine encoders. The obtained pseudo-linear sections are made more linear through third-order polynomial regression. Additionally, with the help of an extra track on the disk and two sensors, segment-specific linearization has been applied to pseudo-linear segments that are not exactly the same one-to-one. This approach ensures the high accuracy of the encoder, unlike studies that apply the same correction to each sinusoid generated. In addition, the system has gained the absolute encoder function, with a simpler disk structure that is easier to manufacture than the code disks of traditional absolute encoders. The performance of the proposed encoder is verified with an optical encoder arrangement of 2x10 5 pulses per revolution, and an error of 0.00203° per revolution is obtained.
Article
This paper proposes a contactless planar inductive sensor for angular displacement measurement with low cost, power consumption, and latency. The novel sensor comprises multiple receiving coils(RXs) sharing the same excitation coil and rotor. Affected by the eddy current on the rotor, the induced voltages of RXs are in the form of sine with different amplitudes. Considering the fabrication and assembly error, this study selects three independent RXs to remove the 3rd harmonic of sensed signals. The analog front-end circuit is integrated with the front sensor to minimise the volume and cost of the measurement system. As we know, the work achieves an integrated synchronous dual-peak sampling technique for the first time. Combined with an improved digital phase lock loop, the presented strategy significantly reduces the system latency and complexity. The operation principles and implementation of the sensor are all explained in detail. A sensor prototype has been fabricated using the 180nm CMOS technique for validation. Experimental results have shown that the demodulation accuracy of the proposed inductive sensor is 0.07° in the full range after calibration.
Article
The Tunneling Magneto-Resistance (TMR) angle sensors are employed in various applications as they offer non-contact measurement for full-circle range, consume low power, and have high sensitivity. These sensors provide sine and cosine natured non-linear outputs with-respect-to the shaft angle. Therefore, a suitable electronic interface is required to estimate and obtain linear indication of the shaft angle. In this article, one such interface, named as, Faster Digitizer for Half-Bridge-based TMR Angle sensor (FDHTA), is discussed. The FDHTA utilizes modified dual-slope-based technique which ensures smaller conversion time while preserving measurement accuracy. This feature enables accurate measurement even for dynamic inputs. The FDHTA processes sine-cosine outputs from the sensor and renders a linear digital output, without using any explicit ADC. The measurement accuracy is least affected by few sensor and circuit parameters. Apart from these features, a compensation technique is proposed to improve accuracy for one important sensor non-ideality. The FDHTA is built on a PCB and tested extensively. The worst-case non-linearity, obtained for an ideal sensor, is 0.078 %. Further, the FDHTA is found suitable for tracking dynamic inputs for shaft speeds up to 240 rpm with acceptable error. In experimentation, the output non-linearity is observed to follow the inherent non-linearity of TMR angle sensing unit. The FDHTA parameters such as standard deviation, Signal-to-Noise Ratio, etc., are observed to be at par or better when compared with the existing digitizers. The FDHTA can be employed for position estimation of steering wheel, rotary valves, antenna, camera and surveillance equipments, etc.
Article
The axial field slotless resolver with a leaf-style rotor has been proposed with the advantages of its small size and simple manufacturing, which are extremely welcome in the industrial powertrain system. It is attractive to adopt the PCB windings instead of the traditional enameled wires. However, the field excitation is too weak to generate a significant electromagnetic force (EMF) for the axial field slotless resolvers. This is because the slotless coupling makes a high path-reluctance, besides, the PCB windings have a limited number of coils. To satisfy the decoding requirement, a square wave injection was applied to generate high-level EMF signals. Even though, this interesting injection scheme needs a high-power excitation to make a strong magnetic field so to induce the SIN/COS coils EMFs. This paper proposes an asymmetrical narrow pulse injection (ANPI) scheme, which can excite a good tracking envelope but requiring only a low power-consumption. Furthermore, the feedback error suppression by rotor contour designing is discussed. The proposed low-power consumption decoding method is realized with an axial field slotless resolver.
Article
As a high-precision position sensor, inductosyn is mostly used in high-performance control algorithms such as modern motor drive systems. For two-phase input single-phase output mode of inductosyn, the conventional method can only calculate the angle through closed-loop method, which has high accuracy but poor dynamic characteristics, and two-phase input single-phase output structure lacks an open-loop angle calculation method with faster response speed. In order to solve this problem, this paper proposes an open-loop angle calculation method for two-phase input single-phase output structure. Firstly, a strategy to extract two sine and cosine signals from the single output signal based on synchronous sampling is proposed, and then the quantization errors of the sampling signals are reduced by a definite integral method. Finally, the angle can be obtained through look-up table method. Experimental results show that the open-loop method can effectively improve the calculation speed, has better dynamic characteristics than the conventional closed-loop method while maintaining high accuracy, and is suitable for scenarios with frequent speed variations.
Article
This paper proposes a soft decoding strategy for the resolver based position measurement system in the motor drives. To avoid using the traditional decoding microchips, the high-frequency sinusoidal signal injection, sine/cosine modulation outputs, and its conditioning circuits in this system are all implemented using the most basic analog circuits. After conditioning, an angle tracking observer is proposed, which includes signal shaping, moving average filtering (MAF) and quadrature-component-based phase locked loop (QPLL). During the implementation of soft decoding, firstly, the PWM signal used to generate sinusoidal excitation signal is multiplied by the high-frequency modulated signals after conditioning to realize signal shaping. Secondly, the signal demodulation can be completed by MAF algorithm filtering of the shaped signal. Finally, to improve the accuracy of angle calculation, a reversible QPLL is utilized to estimate the rotor position from the demodulated sine/cosine signals. To verify the validity of the proposed strategy, a STM32F407 ARM microchip based soft decoding setup is developed for experimental tests. The decoding results are compared with the traditional decoding microchips based system, which demonstrate its effectiveness and accuracy. The experimental results show that this method has the advantages of flexible, low cost, high precision, and good universality.
Article
The leaf-style slotless resolver has been proposed in the form of the stator permanent magnet (PM) variable reluctance resolver. The prototype is specially designed only for high-speed scenarios, as the PM cannot generate a significant motion electro-motive force (EMF) at zero- and very low speed. This article proposes a more practical prototype and its dedicated system, which has two valuable features. First, the resolver size and cost can further reduce to an ignorable level, including only two tiny pieces of iron and a small printed circuit board. The electrical high-frequency excitation is adopted instead of the magnets; then the decoding system can cover the speed range from zero to several kilo r/min. However, the limited space and slotless structure weaken the excitation and EMF signals. The square waveform injection is thus introduced to solve this issue. The hardware circuit and software computation requirements are friendly to be implanted into a cost-sensitive motor driver. The proposed resolver system has been integrated into a servo motor drive system and tested in experiments.
Article
Phase demodulation strategy based on Kalman filter for sinusoidal encoders is proposed in this paper. For the state equation and observation equation in the constructed phase demodulation model, the phase angle, the phase angular speed, and the speed fluctuation are the system states, and the sine and cosine signals output by the encoder are the system observations. In addition, due to the nonlinear relationship between the observations and the system states, the observation function is linearized by the extended Kalman approach. In order to implement the Kalman filter on the hardware platform with a field programmable gate array (FPGA), the matrix model of the Kalman filter is further derived into an algebraic model, which only contains sine, cosine, and basic algebraic operations. Compared to the arctangent method, the proposed method has the noise suppression capability, and compared to the conventional phase-locked loop (PLL) method, the proposed method has the better dynamic performance without the acceleration-associated phase error. Both simulation and experimental results can prove the effectiveness of the proposed method.
Article
The resolver is a kind of transformer that requires one excitation signal. Among numerous RDC methods, the square wave excitation method has advantages of being easy to demodulate and implement, but nonlinear problems may arise due to the high frequency components in the square wave. These nonlinear problems distort the resolver output signals and make demodulation difficult. To minimize these nonlinear problems while maintaining the advantages of the square wave excitation method, a new RDC method using a trapezoidal excitation signal is proposed in this paper. The trapezoidal excitation signal is expressed through a Fourier series expansion to find the optimal point at which the total harmonic distortion (THD) along the length of flat region is minimized. Additionally, a simple circuit for implementing trapezoidal excitation signals is also introduced. The effectiveness of the proposed method is verified through experiments.
Article
Full-text available
Resolver sensors are utilized as absolute position transducers to control the position and speed of actuators in many industrial applications. The accuracy and convergence of the position and speed measurements provided by resolvers in electromechanical braking system (EMB) designs directly contribute to the braking performance and vehicle safety. In practice, the dc drifts, amplitudes, and phase shift of the resolver signals vary with aging and temperature, and adaptive techniques are required for the calibration of these parameters of resolvers. Existing classical adaptive techniques such as recursive least squares are unable to track the parameters during resting (low-speed actuation or stationary) periods and also a transient period after them. This paper proposes a new approach for real-time tracking of resolver parameters specially developed for actuator-control applications with varying speed and long resting periods. We formulate the algebraic relationship between the resolver parameters and the parameters of resolver characteristic ellipse, which is the ellipse formed by plotting the resolver signals versus each other. Having known the characteristic ellipse parameters, the resolver parameters are calculated using the formulated algebraic relation. Then, a new recursive and adaptive estimator is proposed to track the parameters of characteristic ellipse. The low computational complexity of the proposed method makes it desirable for real-time applications like the EMBs, where limited computational power and memory are available. Experimental results show that the proposed technique is able to track the resolver parameters and the accurate actuator position with a small error in real-time, while other adaptive estimators are unable to track the resolver parameters during and after resting periods
Article
Full-text available
Recent designs for brake-by-wire systems use "resolvers" to provide accurate and continuous measurements for the absolute position and speed of the rotor of the electric actuators in brake callipers (permanent magnet DC motors). Resolvers are absolute-angle transducers that are integrated with estimator modules called "angle tracking observer" and together they provide position and speed measurements. Current designs for angle-tracking observers are unstable in applications with high acceleration and/or speed. In this paper, we introduce a new angle-tracking observer in which a closed-loop linear time-invariant (LTI) observer is integrated with a quadrature encoder. Finite-gain stability of the proposed design and its robustness to three different kinds of parameter variations are proven based on theorems of input-output stability in nonlinear control theory. In our experiments, we examined the performance of our observer and two other methods (a well-known LTI observer and an extended Kalman filter) to estimate the position and speed of a brake-by-wire actuator. The results show that because of the very high speed and acceleration of the actuator in this application, the LTI observer and Kalman filter cannot track the rotor position and diverge. In contrast, with a properly designed open-loop transfer function and selecting a suitable switching threshold, our proposed angle-tracking observer is stable and highly accurate in a brake-by-wire application
Conference Paper
In this paper, the full implementation on a combined analog-digital board of the resolver-to-digital conversion is proposed. It represents a low cost solution for measuring the position by means of standard resolvers. Some experimental results are presented and a comparison with the performances achieved by means of an incremental encoder is performed
Conference Paper
This paper describes a high-resolution position sensing system designed for use in emerging automotive applications such as electronic power steering and starter alternators. This new resolver position sensing system addresses both the cost issue and reliability issues associated with safety critical automotive applications. A variable reluctance resolver design is described. A new resolver to digital converter IC is also described. The paper focuses on the system functions and fault detection features added specifically for the application.
Article
A novel and simple resolver-to-dc converter is presented. It is shown that by appropriate processing of the sine and cosine resolver signals, the proposed converter may produce an output voltage proportional to the shaft angle. A dedicated compensation method is applied to produce an almost perfectly linear output. This enables determination of the angle with reasonable accuracy without a processor and/or a look-up table. The tests carried out under various operating conditions are satisfactory and in good agreement with theory. This paper gives the theoretical analysis, the computer simulation, the full circuit details, and experimental results of the proposed scheme.
Article
The subject of this paper is a method which suppresses systematic errors of resolvers and optical encoders with sinusoidal line signals. The proposed method does not require any additional hardware and the computational efforts are minimal. Since this method does not cause any time delay, the dynamic of the speed control is not affected. By means of this new scheme, dynamic and smooth running characteristics of drive systems are improved considerably.
Article
A resolver-to-digital (R/D) conversion method in which a bang-bang type phase comparator is used for fast tracking is proposed. The low-pass filter needed to reject carrier signal and noise is eliminated from the R/D conversion loop. Instead, two prefilters outside the R/D conversion loop take the role of the low-pass filter, resulting in a fast and accurate tracking R/D converter. Some simulation and experimental results and a mathematical performance analysis are presented to demonstrate the superior tracking performance
Article
Several methods for reducing the position error caused by the existence of imperfect resolver signal characteristics are introduced. The most straightforward method is simply to calibrate each resolver and resolver-to-digital (R/D) converter and then correct the R/D converter output in real time. Although this method corrects all errors, including those with an origin in the R/D converter, it is also the most time-consuming and labor-intensive. By appropriate signal processing, it is shown that quadrature error can be eliminated by simple algebraic manipulation of the resolver signals. Similarly, it is shown that all even harmonics in the resolver signals can be canceled if the resolver is constructed with complementary phases. It is shown that amplitude imbalance can be used to reduce the position error due to inductive harmonics
Article
A newly developed resolver converter, providing a pseudolinear voltage proportional to the shaft angle, is presented. This converter is based on a new concept involving the absolute values of the demodulated sine and cosine resolver signals together with a dedicated linearization technique. The converter enables instantaneous determination of the mechanical angle with a theoretical error of nonlinearity below 0.011° over the 360° range. The practical performance of this converter is compared to that of a 105 pulses per revolution optical encoder arrangement. The theory of operation, computer simulation, full circuit details, and experimental results are given.