Pcim2001rd Observer
Pcim2001rd Observer
Introduction
Resolvers are multi-winding transformers in which the transformer ratio varies with position. The signals
from the resolver are processed to generate a position signal; this process is commonly called “resolver-to-digital
conversion” or RDC. RDC is usually structured in a tracking or “double integrating” loop. This loop acts like a
filter, reducing the magnitude of high-frequency noise, but also generating lag between the actual position and the
RDC output. Phase lag within a control loop is well-known to have harmful effects such as reducing stability
margins, and forcing servo gains to be lowered; ultimately, this phase lag can reduce machine performance.
The use of observers is known to improve the performance of servo controllers. Observers combine
knowledge of the plant operation and feedback signals to derive more knowledge of plant states than can be
measured from the feedback device alone. A traditional tracking RDC can be restructured as an observer. By
combining knowledge of the operation of the servo system with feedback from the resolver, the observer reduces
the phase lag of RDC. In addition, the observer can be used to derive motor acceleration and disturbance torque.
Acceleration feedback can be used to reduce problems with mechanical resonance. Torque disturbance feedback
can be used to improve the dynamic stiffness of the control system.
Resolvers and traditional RDC
Resolvers are commonly used as position sensing devices. Also, most modern controllers derive velocity
feedback from the position sensor by taking the difference of the two most recent positions. Resolvers used in
industry fall into two major categories: housed and frameless, both of which are shown in Figure 1. Housed
resolvers have independent bearings and an output shaft. Frameless resolvers are provided in two pieces, a rotor
and stator, which are mounted to the motor. Resolvers have several advantages, the most important of which are
low cost, rugged construction, and very high reliability.
Rotor
Stator
a) b)
Figure 1. Example a) housed and b) frameless resolvers
The electromagnetic interaction between the rotor and stator provides signals from which position can be
derived. Resolvers have three windings: a reference, a sine feedback, and a cosine feedback. The reference is a
fixed sinusoidal signal, typically with a magnitude of 4 – 8 volts and a frequency of 4kHz – 10 kHz. The resolver
behaves like a pair of rotating transformers. The transformation ratio from the reference winding to the two
feedback windings varies with the position of the resolver rotor. Assuming a reference of sin(2π5000t), the SIN
winding will be sin(2π5000t) x sin(PRES) where PRES is the resolver-rotor position. Similarly, the COS winding
value will be sin(2π5000t) x cos(PRES). This is shown in Figure 2.
Free-running
REF = sin(ωRDt ) sinusoidal
oscillator
Resolver
SIN= Position
sin(ωRDt ) x sin(PRES ) Resolver-to- feedback
Digital to
Converter control
COS= (RDC) loops
.
sin(ωRDt ) x cos(PRES ) .
Stator Rotor
REF cos(PRD )
sin(ωRDt) cos D/A
COS cos(PRES ) Up/Down
PRD
sin(ωRDt)x Counter
Demod sin(PRD )
cos(PRES)
sin D/A
Figure 3. Simplified RDC
The RDC of Figure 3 is redrawn in Figure 4 to emphasize the effects of the conversion process on the servo
system. In Figure 4, the demodulation and trigonometry are combined to create a signal representing the actual
position of the resolver, PRES. This signal is compared to RDC position, PRD, to create an error. That error is PI-
compensated and fed to an integrator to create PRD. Note that in the traditional RDC, the signal PRD does not
explicitly exist. However, dynamics of the RDC are represented accurately in Figure 4.
Demodulation PRES PRES - PRD VRD PRD
Resolver KIRD 1
and + KPRD
signals + _ s s
trigonometry
PI compensator Counter
PRES PRES
KT /J
PRES - PRD + PRES - PRD +
K
KPRD x s + KIRD _ KPRD x s + KIRD+ IIRD _
s
1 1 1 1
s s PRD AO s VO s PRD
a) b)
Figure 6. R/D conversion: a) non-observer and b)observer based.
The RDC based on an observer structure is shown in Figure 6b. Here the traditional RDC structure is
augmented with the output of the power conversion, IF. In this structure, the torque-producing current predicts
the effects of the motor current on the motor velocity before those effects can be measured with the RDC. This
reduces or, in some cases, even eliminates the phase lag caused by the RDC. One other modification is that a
third term, KIIRD, is added to the observer compensator. This term is used to remove offset that would otherwise
be added to by power converter output.
The output of the observer is affected by the accuracy of the model (here, of KT/J) and by the tuning gains.
The observer must be initialized with an estimate of KT/J. While moderate errors (for example, 20%) have little
effect, large-scale errors will degrade the observed velocity signal significantly. Typically, the magnitude of KT
will be known well enough but inertia often is not known well and, in some applications, even varies significantly
during operation. The effectiveness of the observer is reduced in applications with large-magnitude variation of
load inertia; in such cases a physical acceleration signal such as one provided by a Ferrari sensor may be used.
The tuning of the observer is similar to tuning for the RDC.
It should be stated that there are a few differences between the traditional observer and the observer shown in
Figure 6b. First, this observer moves the motor torque constant and inertia outside the observer loop to have a
structure similar to that of the traditional RDC. The plant is simplified to a simple integrator rather than using,
say KT/Js, a common motor model. Second, the second integrating term on the bottom path is considered part of
the sensor, not the plant. This is done since the state of interest is velocity, not position. This is because the
dynamics of the velocity loop are so much higher than the position loop, that phase lag reduction in the velocity
signal is paramount. So, there are some differences between the observer of Figure 6b and the physical system;
however, the dynamics of the system are well represented and the velocity signal from the observer is a
considerable improvement over the signal from the RDC, as will be demonstrated in the next section.
Advantages of observer-based R/D conversion
The primary advantage of observer-based feedback is the reduction of phase lag in the control loop. Another
advantage is the derivation of observed acceleration, which can be used to reduce problems with mechanical
resonance. A third advantage is the derivation of observed disturbance torque, which can be used to improve the
disturbance response of the drive. In this section, the improvement of phase lag is verified in a lab experiment
using Kollmorgen Seidel’s ServoStar 600 amplifier. This amplifier formerly relied solely on software-based
traditional (non-observer) RDC [4], but now includes the RDC observer structure.
a) b)