METHOD AND APPARATUS FOR GENERATING A DIGITAL SIGNAL INDICATIVE ON AN ANGULAR DISPLACEMENT

Abstract: An apparatus for generating phase modulator angular positional signals in digital form comprises a phase tracking loop receiving a phase modulated signal from the rotor (16) of a resolver (10) whose stator windings (12, 14) are excited in quadrature. The phase output of the resolver is proportional to the angular displacement (Φ) of the rotor. Signals (32, 44) for exciting the stator windings of the resolver are applied in phase quadrature to a phase detector (24) to develop an analog error signal (58) when combined with the rotor output signal (22). The analog phase error signal (58) provides an output indicative of the angular displacement of the rotor. The error signal is applied to a voltage controlled oscillator (64), converted (in 28) to digital form, and combined with the excitation signals in a closed loop to force the error signal to a null, whereupon the indicated digital output angle (at 26) is to coincide with the angular displacement of the rotor shaft.

Description: The invention relates generally to angular measuring systems, and more particularly to a phase-analog detector for providing a digital readout indicative of the angular displacement of a rotary inductive sensor. Accurate measurement of angular displacement is currently required in many military, aerospace, satellite, radar and fire control systems, where the electrical output signals are required to drive numerical readout displays, provide servo loop feedback signals, and generate computer input data. Among the methods which have found wide application for precise angular measurements are optical encoders, which, for example, may have a pattern impressed upon a disk which is use in conjunction with a light source and a sensor to provide a digital output that is generated when the disk is rotated. Very high resolutions and accuracies are available, but such devices are prohibitively expensive and lack sufficient ruggedness in many applications. A second approach is the use of a resolver, which is a rotating transformer which provides output analog voltages that are uniquely related to the input shaft angle. Such a resolver is comprised of two orthogonol stator windings and a rotor which is coupled to the input shaft. It provides an absolute indication of position from 0 to 360° of a rotation. Two or more resolvers, each yielding data over a unique but limited range, may have their outputs combined in a multi-resolver configuration to yield an absolute indication of greater resolution through 360° of rotation. A resolver is a robust mechanical device that can be exposed to extreme environments without damage or loss of accuracy. As a transformer device, it provides signal isolation and a common-mode rejection to electrical interference. Since it is an analog device, only four wires are necessary for angular data transmission. Transducers are also available which operate on the principles of inductive or capacitive coupling between conductive patterns bonded to a rigid substrate. Since, as in the resolver, there are no contacting elements except for slip rings, they provide high reliability and maintain original accuracy indefinitely. One such device is the INDUCTOSYN ® position transducer manufactured by Farrand Industries Inc., Valhalla, NY. These transducers are available in both linear and rotary form for a wide range of applications. The term "resolver" is defined herein to include conventional resolvers, inductive and capacitive transducers, and similar devices. Two methods have been used with a resolver to obtain output voltages proportional to the shaft angle. In the first method, an alternating current is applied to excite the rotor winding and outputs are taken from the two stator windings. Since the stator windings are orthogonally disposed, the output signal amplitudes are related by the trigonometric sine and cosine of the angular shaft displacement. Both stator output signals will have the same phase as the original excitation signal, while their amplitudes are modulated respectively by the sine and cosine functions as the shaft rotates. The ratio of the output amplitudes may then be compared to provide an output signal which provides a high degree of noise immunity. By applying the resultant signal to an amplitude tracking loop, the output may be made to follow automatically the input up to a specified maximum tracking rate. In this application the device is called a tracking converter or phase-analog detector. In some systems, however, it is desired to produce a phase-modulated signal because it may conveniently be utilized for both rate and position control in a phase-locked loop. Thus the second method applies two signals in phase quadrature to the respective stator windings. The voltage induced in the rotor when the shaft is displaced angularly has a constant amplitude and frequency, but a phase varying with single angle. Thus, when the rotor windings are aligned with the first stator winding, the rotor output signal will be at 0° phase shift, while when the rotor windings align with the second stator winding, the output will be at a maximum of 90° phase shift. At angles between 0° and 90°, the phase of the output signal varies substantially linearly with the angle of displacement. As the rotor rotates through 360°, the phase of the output rotor signal also varies from 0° to 360° and back to 0°. One technique for converting the phase-modulated signals into digital position data is known as the phase counting scheme, and is based on the direct measurement of phase angle by means of gating a counter with the phase-modulated position signal. Thus, a zero-crossing detector provides an output corresponding to an applied sinosoidal excitation signal and also to the zero-crossing of the rotor signal. The time interval between the two zero crossings is used to gate a pulse generator, which is applied to a counter to provide a digital readout. This system has several sources of error, however. While common-mode electrical noise may be cancelled out, incoherent electrical noise generated by the environment of the resolver may make the zero-crossing point uncertain. Further, variations in the excitation signals in either relative amplitudes or phases provided by the excitation power sources will directly influence the phase of the output signal. As a result, overall accuracy in resolution attainable with this approach is limited to about 0.35 angular degrees. Further, since the phase output is sampled, and produces only one position measurement per exitation cycle, a low excitation frequency, such as 400 Hz, as used by many standard resolvers, results in a measurement delay as long as 2.5 ms. Moreover, since this reading also takes time to process, a delay of as much as 3.75 ms may result. This is not acceptable for many high-bandwidth position control servo loops, since these delay variations are a destabilizing influence on the control loop. GB-A 20 40 467 describes a position controller including a first generator for delivering first and second identical signals differing in phase by 90°. It further comprises a position pick-up having two inputs connected to the first and second signals and an output for delivering a measurement signal, whose phase is representative of the actual angular position of a shaft. A second generator receives a digital binary word instruction and delivers an instructional signal of the same frequency as the first and second signals having a phase representative of the desired angular position of the shaft. A deviation signal generator delivers a deviation signal representative of the phase difference of the measurement and instruction signals. A motor controls the angular position of the shaft as a function of the deviation signal. Each signal of the first generator is a digital approximation of a sine wave by being composed of steps so as to keep the harmonics low and thus avoiding having to filter the measurement signal. It is the main object of the present invention to improve the generation of a digital signal indicative of an angular displacement. In particular the invention yields for a better accuracy and reduced delay of such signal generation. This is achieved by the method as characterized in claim 1 and by the apparatus as described in claim 2. Preferred details and embodiments are subject of the dependent claims. The present invention provides improved performance by utilizing the stability obtained in state of the art frequency synthesizers to generate highly accurate and stable frequency independent phase-tracking signals to provide a digital output corresponding to the angle of rotation of a resolver. It provides a method as defined in claim 1 and an apparatus as defined in claim 2 for measuring angular displacement by continuously tracking the input signal and applying the phase modulated output derived from the rotor of a resolver whose stator windings are excited in quadrature to a phase tracking loop, and provides a digitized output. It affords high accuracy with minimal measurement delays. Measurement accuracy is independent of excitation frequency and less sensitive to incoherent noise sources. The present invention provides an apparatus for generating a digital signal proportional to an angular displacement of a shaft. In a preferred embodiment, first and second signal in phase quadrature relationship are applied to excite a transducer coupled to the shaft. A third signal providing a phase difference proportional to an angular displacement of the shaft is generated by the transducer. The first, second, and third signals are combined to provide a difference signal, wherein the difference signal is indicative of an error between the angular displacement and a digital indication thereof. The difference signal is then applied in a closed loop to the first and second signals, whereby the difference signal is urged to a null value. When the difference signal has reached a null value, the digital indication corresponds to the angular displacement of the sensor rotor. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a functional block diagram of the present invention. Figure 2 is a block diagram showing the structure of a phase detector of the present invention. Figure 3 is a graph in the frequency domain showing the attenuation response of a tracking filter. Figure 4 shows sine and cosine waveforms useful in understanding the principles of the present invention. DESCRIPTION OF A PREFERRED EMBODIMENT Referring now to Figure 1, resolver 10 is comprised of stator windings 12 and 14 and a rotor 16. The rotor 16 is shown displaced at an angle ϑ from a reference axis 18. An oscillator 20 generates sine and cosine waveforms which are used to excite the respective stator windings. A first excitation signal E₀Sinω₀t is applied to excite a first stator winding 12. A second excitation signal, E₀cosω₀t is applied to winding 14 in quadrature to the signal applied to winding 12. Figure 4 shows the phase relationship of the waveforms applied to the respective windings. These waveforms are applied at an angular frequency ω₀ consistent with the type of sensor. Typically, resolvers operate in a frequency range up to 400 Hz, while inductive and capacitive sensors may operate from 2.5 KHz to as high as 100 KHz. Since the resolver acts as a transformer, the winding ratio may be represented by the coupling coefficient K. The coupling coefficient K is modulated by the mechanical displacement of the rotor and the resulting output signal 22 is a constant amplitude signal that undergoes a continuous phase shift of 360° for each complete rotation of the rotor. The phase-shifted signal is then converted to digital form by a phase tracking loop in a manner to be described. It will be clear to one skilled in the art that the resolver output may be coupled through slip rings or a rotary transformer to allow 360° rotation of the rotor. Similarly, an amplifier may be applied to the rotor output to improve the signal-to-noise ratio when the output must be transmitted over an appreciable distance. The rotor output 22 is applied to one input of a phase detector 24. Phase detector 24 is also supplied with a second input signal on line 56 proportional to a digital output angle Φ generated by the signal on line 26 in a way to be described later. The value of the input of angle ϑ on line 22 is combined with the signal on line 56 proportional to digital output angle Φ to generate an error signal on line 58 which is applied via voltage controlled oscillator VCO 64 to counter 28. When the difference between the input angle ϑ and the feedback angle Φ is zero, then the digital output angle generated by the up/down counter 28 is equal to the resolver input angle ϑ. To generate the difference signal, E₀cos (ωot + Φ) on line 56, certain trigonometric functions must be performed by the system. Thus, sine multiplier 30 receives a sine signal on line 32 from oscillator 20. Counter 28 provides a digital signal representative of the digital output angle Φ on line 34 to the sine digital-to-analog converter 36. The analog sine output thereof is coupled on line 38 to a second input of sine multiplier 30. The product E₀ sine ω ₀t sinΦ of multiplier 30 appears on line 40 as one input to summing junction 42. In a similar manner, a quadrature signal E₀ cosω₀t on line 44 generated by oscillator 20 is applied to cosine multiplier 46. Counter 28 furnishes a signal representative of the digital output angle Φ on line 48 to cosine digital to analog converter 50. The analog output of converter 50 is then coupled on line 52 to cosine multiplier 46. The output E₀cosω₀t cosΦ thereof is applied on line 54 to a second input of junction 42. The difference of the signals applied to summing junction 42 appears on line 56, where it is seen to be a function of the digital output angle Φ and is applied to phase detector 24. Phase detector 24 effectively multiplies the two inputs on lines 22 and 56 to generate a product that has a first term proportional to the excitation frequency and a second term proportional to the difference between the angular displacement of the rotor and the indicated digital output angle. The difference output on line 58 is passed through a filter 60 which removes the excitation frequency and also acts as an integrator. The output of filter 60 is a function of the sine of the difference angle, and is therefor numerically equal to the difference angle for small angles. Thus, the difference signal on line 62 is an analog representation of the error between the rotor input angle 0 and the digital output angle Φ. This signal is applied to a conventional voltage controlled oscillator (VCO) 64. VCO 64 generates an output frequency proportional to the magnitude of the error signal on line 66 and an up/down command on line 68 in accordance with the polarity of the error signal on line 62. Counter 28 receives the signals on lines 66 to 68 to generate a corresponding binary output representative of the digital output angle Φ. In a conventional manner, the angle stored in counter 28 drives the error signal on line 56 in closed loop fashion until the error signal is urged to zero, whereupon the digital output angle Φ is equal to the analog input angle ϑ of the rotor. The two-phase oscillator 20 may be generated in a variety of conventional manners. For example, the quadrature signals may be generated from the primary signal by means of a 90° phase shift circuit. Alternatively, two square-wave oscillators may be appropriately synchronized and the output filtered to provide a sine wave. Sine multiplier 30 and cosine multiplier 46 are available as conventional integrated circuit elements, such as Analog Devices part number AD534L. Analog Devices part number DAC71, a 16-bit D/A converter, in combination with Analog Devices part number AD639, an analog to sin/cos converter, is suitable for sine DAC 36 and cosine DAC 50. Alternatively, elements 30, 46, 36, and 50 are available in the form of a dual sin/cos multiplying D/A converting, such as Natel part number HDSC2036. Up/down counter 28 may be any suitable integrated circuit, such as Texas Instruments part number SN54AS867. The voltage controlled oscillator 64 may be comprised of a VCO, part number AD650, as manufactured by Analog Devices, to provide the frequency output on line 66, and a zero-crossing detector, which may be a comparator, such as National Semiconductor part number LM319, or a conventional operational amplifier, such as National Semiconductor part number LF155, configured as a voltage comparator, referenced to ground potential, to provide the up/down control signal. Details of one configuration of the phase detector 24 are shown in Figure 2. A first input signal E₀cos(ω₀t + Φ) applied to input 202 is coupled on line 204 to an operational amplifier 206 configured as an inverting amplifier. Resistors R1 and R2 determine the gain of the amplifier. The output of amplifier 206 is coupled to a first input 208 of an analog switch 210; such as Harris part number HI 1-0305-2. Signal 202 is further coupled on line 212 to a second input 214 of analog switch 210. Switch 210 is activated, by a zero-crossing detector 216 when energized by a signal E₀·K (sinω₀t + ϑ) applied at input 218. The output of detector 216 is either a logic high or logic low, in accordance with the voltage level of the applied signal at input 218, which activates switch 210 accordingly between inputs 208 and 214. The output of switch 210 is applied on line 219 to low-pass filter 220. Filter 220 acts to attenuate the high frequency components resulting from the switching action of switch 210. Resistor R3 and capacitor C1 may be chosen in a conventional manner, and adapted to the excitation frequency. The output of filter 220 is a dc voltage proportional to the sine of the phase difference of the signals applied to the two input terminals of the phase detector as shown in Figure 4. A further operational amplifier 224 is used to invert the signal input applied on line 222 and restore the output on line 226 to the original phase relationship. For small angles, the sine of the angle is approximately equal to the value of the angle. Thus, the output on line 226 is an analog value proportional to the phase difference of the input signals as the control loop approaches a null error condition. Resolver-to-digital converters are commercially available in the form of hybrid circuits using integrated circuit chips. Suitable devices include series TACH-12, as manufactured by Control Sciences Incorporated of Chatsworth, CA and part number IRDC 1732, manufactured by Analog Devices. Referring now to Figure 3, filter 60 will be described. Filter 60 performs three primary functions in the phase tracking loop. Firstly, it removes any remaining undesirable high frequency components from the output of the phase detector. Secondly, it integrates the phase difference signal in such a way as to drive the error in tne output angle Φ to zero; and thirdly, it is designed to "tailors" the performance of the phase tracking loop. Thus, it will affect the tracking loop bandwidth (i.e., how fast the loop will respond to changes in its input), the amount of overshoot which will occur for a step change in input, the damping ratio (a measure of how quickly the overshoot and ringing due to input changes decay), and the stability of the loop. Preferably, the block takes the form of an integrator/lead combination, with a transfer function given by: the frequency response of which will have an asymptotic approximation as shown in the figure. This transfer function can be implemented with standard operational amplifiers, capacitors, and resistors. Figure 4 shows waveforms typical of the invention as described above, including the stator excitation signals 32 and 44, the rotor output signal 22, and the output signal 58 of the zero crossing detector. In operation, the two stator signals E₀ sinω₀t and E₀ cosω₀t are each amplitude modulated by the coupling coefficient K of the rotor angle ϑ and summed into the rotor. The rotor output is then E₀ · K · sin (ω₀t + ϑ) (2) As shown in Figure 1, the phase tracking loop operates by summing the two orthogonal excitation signals and the rotor signal and generates a digital number representing the displacement angle ϑ. The oscillator quadrature signals on lines 32 and 44 are multiplied by the sine and cosine, respectively, of the current digital output angle 0. This yields a signal E₀ · sin (ω₀t) · sin Φ (3) and a second signal E₀ · cos (ω₀t) · cos Φ (4) which are subtracted, yielding the carrier frequency phase modulated by the current output angle Φ: E₀ · cos (ω₀t + Φ) (5) This signal, on line 56, is applied to phase detector 24 and compared with the rotor output E₀Ksin (ω₀t + 0) on line 22. The phase detector effectively multiplies these two inputs to generate its output. Thus, the output is E₀² · K · cos (ω₀t + Φ) · sin (ω₀t + ϑ) (6) = 1/2 ·E₀² · K [sin (2ω₀t + Φ + ϑ) + Sin (ϑ - Φ)] (7) The first term is at a frequeny twice that of the excitation frequency, and will be filtered out by filter 60. The signal remaining is 1/2 ·E₀² · K · sin (ϑ - Φ) (8) This signal is frequency compensated (in order to yield optimum loop behaviour), and then derives VCO 64 to provide a pulse count to counter 28 until Φ, the angle held in the counter, derives the phase difference signal (8) to zero. When this occurs, Φ, the digital output angle, will be equal to ϑ, the analog input angle, and the VCO control loop will be satisfied.

Claims: A method for generating a digital signal (26) indicative of an angular displacement of a shaft, comprising the steps of: a) providing a source of AC excitation (20) at a predetermined excitation frequency for generating a first pair of sinusoidal analog signals (32, 44); b) applying said first pair of sinusoidal analog signals in phase quadrature to a transducer (10), said transducer having corresponding elements (12, 14) in space quadrature relationship; c) providing a sensor (16) coupled to said transducer elements and having a rotor coupled to said shaft, for generating an analog rotor output signal (22) having a phase shift with respect to said source of AC excitation proportional to said angular displacement; characterized by: d) providing a second pair of analog signals (38, 52) representative respectively to the sine and cosine of said digital signal and corresponding to said indicated angular displacement; e) algebraically combining said first and second pairs of analog signals to provide products of sines (40) and products of cosines (54) thereof; f) applying said algebraically combined signals and said rotor output signal to derive an error signal (58) representative of an angular difference thereof; g) applying said error signal to a bidirectional counter (28) in a phase-lock loop to generate said digital signal (26) and derive a second pair of analog signals corresponding to differences between the angular displacement of the rotor and said digital signal indicative of said angular displacement, so that the value of said digital signal (26) is urged to substantial identity with said angular rotor output signal (22). Apparatus for indicating angular position of the rotor of a transducer (10), comprising a) means (20) for providing first (32) and second (44) sinusoidal signals in phase quadrature at a predetermined excitation frequency to respective first (12) and second (14) fixed windings of the transducer, the rotor providing an output signal (22) whose phase is indicative of rotor angular position; b) means (24) responsive to said output signal and to a function of said sinusoidal signals for providing an analog error signal (58) having a phase shift with respect to said excitation frequency representative of the angular position of said rotor with respect to an indicated angular position; and c) means (28) responsive to said error signal for providing a digital signal (26) corresponding to said indicated angular position to vary said error signal until said indicated angular position corresponds to said rotor angle, characterized by: d) said means (28) for providing said digital signal (26) comprising a bidirectional counter; e) converter means (36, 50) responsive to said digital signal for providing first and second analog signals (38, 52) representative respectively of the sine and cosine of the indicated rotor angle; f) said means (24) are responsive to multiplication means (30, 46) for providing a third analog signal (40) representative of the product of said sine of the indicated angle (38) and the first sinusoidal signal (32) applied to the transducer and for providing a fourth analog signal (54) representative of the product of the cosine of the indicated angle (52) and the second sinusoidal signal (44) applied to the transducer; g) adder means (42) for providing an algebraic difference (56) of said third and fourth analog signals (40, 54) representative of the cosine of the indicated rotor angle; h) said means (24) comprising phase detector means for providing said error signal (58) comprised of the product of said rotor output signal (22) and said algebraic difference (56), and representative of a difference of the angular position of the rotor and the indicated rotor angle; and i) phase-lock loop means (60, 64) for applying a portion of said error signal (58) in closed loop fashion to said bidirectional counter (28) so that said digital signal (26) is urged to correspondence with a digital representation of said rotor angular position. The apparatus according to claim 2, characterized in that said error signal (58) further comprises first and second component signals, said first component signal proportional to an excitation frequency (ω₀) of said first (32) and second (44) sinusoidal signals and said second component signal (62) representative of a difference (ϑ - ) between said rotor position (ϑ) and said indicated angle (). The apparatus according to claim 3, characterized by filter means (60) responsive to said error signal (58) for providing said second component signal to said phase-lock loop means (64). The apparatus according to claim 2, 3 or 4, characterized in that said first component signal is operative at a predetermined frequency greater than said second component signal. The apparatus according to claim 4 or 5, characterized in that said filter means (60) comprises a low-pass filter for rejecting said first component signal and for transmitting said second component signal. The apparatus according to any one of the preceding claims, characterized in that said phase-lock loop means includes a voltage controlled oscillator (64), responsive to said second component signal, for providing an output frequency (66) proportional to said second component signal (62). The apparatus according to claim 7, characterized in that said bidirectional counter (28) is responsive to said output frequency (66), for providing said digital signal (26) representative thereof, said digital signal corresponding to said indicated angle (). The apparatus according to any one of the preceding claims, characterized in that said multiplication means comprises a first trigonometric multiplier (30), responsive to the sine (38) of said digital signal (26) and to said first sinusoidal signal (32) applied to said transducer (10) for deriving a product (40) thereof and further comprises a second trigonometric multiplier (46), responsive to the cosine (52) of said digital signal (26) and to said second sinusoidal signal (44) applied to said transducer (10) for deriving a further product (54) thereof. The apparatus according to claim 9, characterized in that said first (30) and second (46) trigonometric multipliers are in phase quadrature. The apparatus according to any one of the preceding claims, characterized in that said phase detector means (24) comprises first (22) and second (56) inputs for providing said error signal (58) representative of phase differences between signals applied to said inputs. The apparatus according to any one of the preceding claims, characterized in that said rotor output signal (22) is generated by said transducer (10), said transducer comprising a rotary coupler having first (12) and second (14) orthogonal elements in space quadrature coupled respectively to receive said sinusoidal excitation signals (32, 44) in phase quadrature, and a third element (16), axially rotatable with respect to said first and second elements, for providing said rotor output signal (22) when said third element is angularly displaced with respect to said first or second elements.

Inventors: CUNNINGHAM, DAVID C., NEGLIA, JOSEPH D.
Applicants: HONEYWELL INC.
Application year: 1988
Main classification: G01B7
IPC codes: G01D5, G01B7