Phase compensation for electromagnetic resolvers

Abstract: A phase compensation circuit for use with a resolver (11) is disclosed that compensates for resolver angle measurement error without the use of special compensation windings on the resolver (11) or the buffer amplifier associated with the compensation windings. With the present invention, primary windings (12) from a plurality of resolvers (10, 11) may be connected in parallel and powered by one amplifier (42), which provides a major hardware reduction over conventional circuits. A digital computer (30) is employed to process integrated data indicative of the phase shift of signals generated by the resolver (11), and compute error correction signals that compensate sine (14) and cosine (15) angle data output signals of the resolver (11). No resolver compensation windings are necessary and no additional electronic equipment is necessary. The present invention provides increased accuracy to fulfill more stringent angle measurement specifications.

Description: The present invention relates generally to electromagnetic resolvers, and more particularly, to phase compensation for electromagnetic angle resolvers. Electromagnetic angle resolvers provide mechanical shaft angle data to electronic circuits by means of electric signals. In a typical complex system, many such resolvers are used Conventional compensation techniques required a separate excitation power amplifier to drive the primary winding of each resolver. The demodulation or decoding of the signals from each resolver is typically synchronized to the signal used to excite the resolver. However, the resolver output signals (sine and cosine) are inadvertently phase shifted with respect to the resolver excitation signal, which reduces angle measurement accuracy. The phase shift of the resolver output signals also changes with temperature. The simplest approach used in the prior art was to do nothing to correct the phase shift problem, and therefore accept the resulting resolver inaccuracies. Other conventional compensation methods employed an additional compensation winding in the resolver, hardware to receive the compensation signal generated by the additional compensation winding, and separate closed-loop, stability-compensated feedback amplifiers for each resolver primary. This extra hardware resulted in lower system performance and higher system cost. Accordingly, it is an objective of the present invention to provide phase compensation for electromagnetic angle resolvers that does not require additional windings and associated amplification circuitry and which allows a single excitation power amplifier to drive all the resolver primary windings. Document US-A-4 989 001 already discloses a resolver circuit comprising several resolvers adapted to provide analog first and second output signals. A processing circuit is coupled to the resolvers for processing the output signals. This processing circuit comprises a multiplexer and filter circuitry. Further provided is an analog-to-digital converter coupled to the processed circuit for converting the output signals of the processing circuit into digital signals. A digital computer receives the output signals of the analog-to-digital converter and generates timing control output signals for the processing circuitry as well as power input signals for the resolvers and angle data signals for indicating the angular position of the resolvers. With the known resolver circuitry resolvers from the same manufacturer, or at least from the same batch or from a batch of selected resolvers has to be used. In a preliminary procedure the system has to be adjusted to the transfer functions of the resolvers. To this end, all resolvers are interrogated in sequence and an average value of the phase shift introduced by the respective resolvers is computed. For each resolver some sort of correction value is calculated and the resolver with the highest correction value is used when adjusting the system. In view of this, it is an object of the present invention to improve the known resolver circuit and to provide a respective method for compensating for phase errors in sine and cosine output signals received from resolver windings. This object is achieved by a phase compensated resolver circuit comprising at least one resolver having sine and cosine windings, a sampler and a processor, insofar known from US-A-4 989 001, mentioned at the outset, and according to the invention characterized by: an integrator coupled to the sine and cosine windings for integrating output signals received from the windings; said sampler coupled to the integrater for sampling the integrated sine and cosine output signals; said processor coupled to the sampler for receiving the sampled integrated sine and cosine output signals; the processor determining magnitude polarity signals from the difference of received positive and negative sampled integrated sine output signals, and compensation polarity signals from the difference of positive and negative sampled sine output signals, whenever the sine output signal is larger than the cosine output signal, or from the difference of positive and negative sampled cosine output signals, when the cosine output signal is larger than the sine output signal; the processor generating a timing control output to the sampler for controlling the sampler timing, and a phase shift delay for shifting the phase of the timing control output as a function of the relation between the determined magnitude polarity signals and compensation polarity signals; and the processor producing a phase angle data output based on the sampled integrated sine and cosine output signals. The respective method comprises the steps of: integrating the sine and cosine output signals received from the resolver windings; sampling the integrated sine and cosine output signals to provide magnitude polarity signals from the difference of received positive and negative sampled integrated sine output signals, and compensation polarity signals from the difference of positive and negative sampled sine output signals, whenever the sine output signal is larger than the cosine output signal, or from the difference of positive and negative sampled cosine output signals, when the cosine output signal is larger than the sine output signal; deriving a phase shift delay from a comparison of the magnitude polarity signal and the compensation polarity signal; and applying the phase shift delay to a timing control signal for controlling the timing of the step of integrating to arrive at phase compensated sine and cosine signals. In order to overcome the deficiencies existing in conventional systems, the present invention comprises a phase compensation circuit that corrects (compensates) for resolver angle measurement error without the use of special compensation windings on the resolver, the buffer amplifier associated with the special winding and separate power amplifiers for each primary winding. With the present invention, primaries from a plurality of resolvers may be connected in parallel and powered by a single compensating circuit, which provides a major hardware reduction over conventional circuits. More specifically, the phase compensation circuit of the present invention may be used with a conventional electromagnetic angle resolver that is adapted to provide analog sine and cosine output signals. The phase compensation circuit comprises a multiplexer coupled to the outputs of a plurality of resolvers all having their primary windings supplied from a common source. An integrate and dump filter is coupled to the multiplexer for integrating the analog sine and cosine output signals. An analog to digital converter is coupled to the integrate and dump filter for converting the analog sine and cosine output signals into digital sine and cosine output signals. A clock oscillator provides a clock signal to synchronize the timing of a digital computer. The digital computer is adapted to provide a reference excitation signal for the resolvers whose timing is accurately controlled by the clock oscillator. A digital computer is coupled to the multiplexer for timing the selective processing of the analog sine and cosine output signals from the plurality of resolvers. A dump control output is coupled from the computer to the integrate and dump filter for selectively dumping the analog sine and cosine output signals. The computer also receives a digital input from the analog to digital converter and a clock input signal from the clock oscillator that synchronizes the phase compensation circuit. The computer provides digital output angle data. A low pass filter is coupled to a square wave output of the digital computer for smoothing the square wave into a sine wave, and a power amplifier is coupled between the low pass filter and the primary input of the resolver for driving the primary windings of the plurality of resolvers. The advantages of the invention include the provision of increased accuracy and/or reduced circuit complexity. For example, when the present phase compensation circuit was analyzed, during a research and development project by the assignee of the present invention, electronic processing error was reduced by 50%, resulting in 33% reduction in total resolver angle measurement error. Furthermore, no special resolver compensation windings were required and no additional electronic hardware was required for accuracy improvement. The various features and advantages of the present invention may be more readily understood with reference to the following detailed description taken in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which: FIG. 1 is a simplified schematic diagram in block form of an embodiment of a resolver phase compensation circuit incorporating the principles of the present invention; and FIG. 2 is a graph of amplitude versus time for a series of waveforms illustrating the operation of the resolver phase compensation circuit shown in FIG. 1. FIG. 1 is a simplified schematic diagram in block form of an embodiment of a resolver phase compensation circuit incorporating the principles of the present invention. A resolver 11 has a primary winding 12 and a pair of secondary windings 13 and is adapted to provide analog sine and cosine output signals on two output lines 14, 15. Also shown in FIG. 1 is a dashed box 10 representing a plurality of additional resolvers that have their primary windings driven by the same power source, as will be described below. The phase compensation circuit of the present invention comprises a multiplexer 21 coupled to the output of the resolver 11 and to the output of the dashed box 10 representing a plurality of additional resolvers. The multiplexer 21 is adapted to selectively process the analog sine and cosine output signals. An integrate and dump filter 22 is coupled to the multiplexer 21 and is adapted to integrate the analog sine and cosine output signals. An analog to digital converter 23 is coupled to the integrate and dump filter 22 and is adapted to convert the integrated sine and cosine output signals into digital output signals at an A/D output lead 24. A clock oscillator 25 provides a clock signal 26. A digital computer 30 has a multiplexer control output 31 coupled to the multiplexer 21 that is adapted to control the timing of the selective processing of the analog sine and cosine output signals from the plurality of resolvers. A dump control output 32 from the digital computer 30 is coupled to the integrate and dump filter 22 for controlling the timing of the dumping of the integrated analog sine and cosine output signals. An A/D timing control output 39 from the digital computer 30 is coupled to the analog to digital converter 23 controlling the timing of the analog to digital converter 23. A digital input 33 of the digital computer 30 is coupled to the A/D output lead 24 of the analog to digital converter 23 for receiving the digital output signals. A clock input 34 of the digital computer 30 is adapted to receive the clock signal 26 from the clock oscillator 25. A square wave output signal 35 from the digital computer 30 is applied to the input of a low pass filter 40. An angle data output terminal 37 is adapted to provide an angle data output signal 38 calculated from compensated sine and cosine signals from the plurality of resolvers. The low pass filter 40 is adapted to filter the square wave output signal 35 from the digital computer 30 to provide a sine wave signal 41. A power amplifier 42 is coupled between the low pass filter 40 and the primary winding 12 of the resolver 11, as well as the primary windings of a plurality of additional resolvers 10, for amplifying the sine wave reference signal 41 provided by the low pass filter 40. The square wave output signal 35 is smoothed into a sine wave by the low pass filter 40, which is another source of phase shift and phase shift drift that is automatically compensated by the phase compensation circuit of the present invention. The prior art dealt with filter phase shift by connecting a comparator to the sine wave signal 41 from the filter 40. The comparator compared the timing of the sine wave signal 41 with the timing of the clock signal 26. the comparator made corrections by reinitializing the timing of the sine wave signal 41. The smoothed sine wave signal 41 provided by the low pass filter 40 drives the power amplifier 42 which excites all primary windings of the resolvers connected thereto. The sine and cosine signals from the resolvers are selected in turn by the multiplexer 21 and processed by the integrate and dump filter 22 and then converted by the analog to digital converter 23 into a form that is processable by the computer 30. The integrate and dump filter may be implemented as a classic Operational Amplifier Integrator, if desired. For simplicity, it is pictured in FIG. 1 as an RC network. Some embodiments of the phase compensation circuit of the present invention provide a digital timing circuit (not shown) to generate the control signals for the multiplexer 21 and the integrate and dump filter 22. Such digital timing circuits may be implemented in either software or hardware. The functions of such digital timing circuits are provided by the digital computer 30. The digital computer 30 is the heart of the phase compensation circuit of the present invention. Its timing is synchronized by the clock oscillator 25. The digital computer 30 provides a square wave of the appropriate frequency that is smoothed into a sine wave to excite the resolver 11. The digital computer 30 provides for the timing and operation of the multiplexer 21, the analog to digital converter 23, and the integrate and dump filter 22 by way of the control signals provided on the multiplexer and dump control outputs 31,32 and the A/D timing control output 39. The digital computer 30 accepts the digital output signals provided by the analog to digital converter 23 on the A/D output lead 24, performs all necessary calculations, and outputs angle data comprising the phase compensated angle data output signal 38. The angle data output signal 38 includes angle data calculated from the compensated sine and cosine signals from the resolver 11 and from the dashed box 10 representing a plurality of additional resolvers. The digital computer 30 may also use the angle data internally for other control functions, if desired. FIG. 2 is a graph of amplitude versus time for a series of wave forms illustrating the operation of the resolver phase compensation circuit shown in FIG. 1. FIG. 2 shows a situation when the sine signal is larger in amplitude than the cosine signal. The top two waveforms show the excitation of the resolver 11 and the sine signal with the inadvertent phase shift between them. The multiplexer 21 turns on to sample the sine signal four times, and each of these sample times is labeled in FIG. 2. The sample times labeled "+ sine" and "- sine" are used to determine the amplitude of the sine signal. This comprises substantially the same uncompensated processing as was done in the prior art. The multiplexer 21 sample times labeled "- comp" and "+comp" are novel. These sample times are used to measure the phase shift of the output of the resolver 11 so that the timing can be adjusted to compensate for this phase shift. When the cosine signal is larger than the sine signal, the + and - comp signals are taken from the cosine signal instead of the sine signal. The relative timing of the three digital waveforms, identified as MUX, A/D, and DUMP (representative of the control signals for the multiplexer 21, analog to digital converter 23, and the integrate and dump filter 22), is constant, but all of the signals may be shifted together either forward or back in phase (time). When the phase compensation is correct, the output of the integrate and dump filter 22 is zero after "comp" sample. However, a phase shift error produces an error voltage. Error voltages of opposite polarity are produced by the two samples so the "-comp" value is subtracted from the "+ comp" value to compute the final phase error. The sine magnitude is computed similarly by subtracting the "- sine" value from the "+ sine" value. The phase delay is then shifted forward or back by one increment according to the following table: phase error polarity sine magnitude polarity phase shift delay gets incremented by - + -1 + + +1 - - +1 + - -1 Sampling and combining both polarities averages the phase shift over both half cycles and eliminates offset errors. The resulting slow negative feedback servo control eventually brings the phase shift to within one increment of zero. Drift in phase shift is caused by temperature changes and aging and so is very slow. Consequently, the slow servo action of the phase compensation circuit of the present invention is more then fast enough to keep up with the phase drift caused by temperature drift. The servo-computed delay associated with each resolver (including the low-pass filter delay) is stored in a separate computer memory location and recalled for use and updating each time the associated resolver is sampled.

Claims: A phase compensated resolver circuit comprising at least one resolver (10, 11) having sine and cosine windings (13), a sampler (23) and a processor (30), characterized by: an integrator (22) coupled to the sine and cosine windings (13) for integrating output signals (14, 15) received from the windings (13); said sampler (23) coupled to the integrator (22) for sampling the integrated sine and cosine output signals; said processor (30) coupled to the sampler (23) for receiving the sampled integrated sine and cosine output signals; the processor (30) determining magnitude polarity signals from the difference of received positive and negative sampled integrated sine output signals, and compensation polarity signals from the difference of positive and negative sampled sine output signals, whenever the sine output signal is larger than the cosine output signal, or from the difference of positive and negative sampled cosine output signals, when the cosine output signal is larger than the sine output signal; the processor (30) generating a timing control output (39) to the sampler (23) for controlling the sampler timing, and a phase shift delay for shifting the phase of the timing control output as a function of the relation between the determined magnitude polarity signals and compensation polarity signals; and the processor (30) producing a phase angle data output (38) based on the sampled integrated sine and cosine output signals. The phase compensated resolver circuit of claim 1, wherein the output signals (14, 15) are analog sine (14) and cosine (15) output signals, respectively, characterized by: said sampler (23) being an analog to digital converter (23) coupled to the integrator (22) for converting the integrated analog sine and cosine output signals into digital output signals; and said processor (30) having said timing control output (39) for sampling the sine (14) and cosine (15) output signals to provide said magnitude polarity signals and compensation polarity signals, and applying said phase shift delay to the timing control output (39) to shift the relative phase thereof as a function of a phase error derived from the magnitude polarity signals and compensation polarity signals such that (a) when the compensation polarity signal is minus and the magnitude polarity signal is plus, the phase shift delay is incremented by -1, (b) when the compensation polarity signal is plus and the magnitude polarity signal is plus, the phase shift delay is incremented by +1, (c) when the compensation polarity signal is minus and the magnitude polarity signal is minus, the phase shift delay is incremented by +1, and (d) when the compensation polarity signal is plus and the magnitude polarity signal is minus, the phase shift delay is incremented by -1, wherein sampling and combining signals having both polarities averages the phase shift and eliminates offset errors. The resolver circuit of claim 1 or 2, characterized in that the at least one resolver (10, 11) comprises a plurality of resolvers (10) having their respective primary windings (12) coupled in parallel to the processor (30) and their respective outputs coupled to the integrator (22). The resolver circuit of claim 2 or claim 3, characterized in that the at least one resolver (10, 11) comprises a plurality of resolvers (10) and that the integrator (22) comprises a multiplexer (21) coupled to the plurality of resolvers (10, 11) for selectively processing the analog sine (14) and cosine (15) output signals provided by the plurality of resolvers (10, 11). The resolver circuit of any of claims 2 - 4, characterized in that the integrator (22) comprises an integrate and dump filter for integrating the analog sine (14) and cosine (15) output signals. The resolver circuit of claim 5, characterized in that the processor (30) has an integrator timing control output (32) for controlling the integrate and dump filter (22) timing. The resolver circuit of any of claims 1 - 6, characterized in that the processor (30) derives the phase shift delay from the sample signals such that (a) when the compensation polarity signal and the magnitude polarity signal are the same, the phase shift delay is increased, and (b) when the compensation polarity signal and the magnitude polarity signal are opposite, the phase shift delay is decreased. A method for compensating for phase errors in sine (14) and cosine (15) output signals received from resolver windings (13), characterized by the steps of: integrating the sine (14) and cosine (15) output signals received from the resolver windings (13); sampling the integrated sine and cosine output signals to provide magnitude polarity signals from the difference of received positive and negative sampled integrated sine output signals, and compensation polarity signals from the difference of positive and negative sampled sine output signals, whenever the sine output signal is larger than the cosine output signal, or from the difference of positive and negative sampled cosine output signals, when the cosine output signal is larger than the sine output signal; deriving a phase shift delay from a comparison of the magnitude polarity signals and the compensation polarity signals; and applying the phase shift delay to a timing control signal for controlling the timing of the step of integrating, to arrive at phase compensated sine and cosine signals. The method of claim 8, characterized in that the step of deriving comprises deriving a phase error from the magnitude polarity signals and compensation polarity signals and deriving the phase shift delay from the sample signals such that (a) when the compensation polarity signal and the magnitude polarity signal are the same, the phase shift delay is increased, and (b) when the compensation polarity signal and the magnitude polarity signal are opposite, the phase shift delay is decreased. The method of claim 8 or 9, characterized by converting the sine (14) and cosine (15) output signals to digital form prior to sampling and that the step of applying the phase shift delay comprises applying the phase shift delay to a timing control signal (39) for controlling the timing of the step of converting.

Inventors: CARGILLE DONALD R, EYERLY BRUCE N, CARGILLE, DONALD R., EYERLY, BRUCE N.
Applicants: HUGHES AIRCRAFT CO, HUGHES AIRCRAFT COMPANY
Application year: 1992
Main classification: G01D5
IPC codes: G01D5, H03M1