AN5161. Signal conditioning for resolver. Application note. Introduction

Similar documents
AN5058 Application note

AN4995 Application note

TS3022. Rail-to-rail 1.8 V high-speed dual comparator. Applications. Description. Features

TSB611. Low-power, rail-to-rail output, 36 V operational amplifier. Applications

TSC1021. High-side current sense amplifier. Related products. Applications. Features. Description

TSM1013. Constant voltage and constant current controller for battery chargers and adapters. Description. Features. Applications

RT2904WH. RobuST low-power dual operational amplifier. Applications. Features. Description

LDL A high PSRR low-dropout linear voltage regulator. Applications. Description. Features

LM2904AH. Low-power, dual operational amplifier. Related products. Description. Features. See LM2904WH for enhanced ESD performances

LM2904WH. Low-power dual operational amplifier. Description. Features

Low consumption voltage and current controller for battery chargers and adapters. Description. Table 1. Order codes. Package D (1) V ref (%) Marking

RT2902. RobuST low-power quad operational amplifier. Applications. Description. Features

AN5258. Extending output performance of ST ultrasound pulsers. Application note. Introduction

Low-power, 2.5 MHz, RR IO, 36 V BiCMOS operational amplifier. Description

RobuST high-temperature low-power quad voltage comparators. Description

TS3021H. Automotive rail-to-rail 1.8 V high-speed comparator. Related products. Applications. Description. Features SOT23-5

TS3011. Rail-to-rail high-speed comparator. Applications. Description. Features

Description. Table 1: Device summary

Obsolete Product(s) - Obsolete Product(s)

TSV611, TSV611A, TSV612, TSV612A

TSX3702. Micropower dual CMOS voltage comparators. Related products. Applications. Description. Features

AN3222 Application note

TSX339. Micropower quad CMOS voltage comparators. Related products. Applications. Description. Features

Trench gate field-stop IGBT, HB series 650 V, 40 A high speed. Features. Description

LD A very low dropout fast transient ultra-low noise linear regulator. Datasheet. Features. Applications. Description

Trench gate field-stop IGBT, HB series 650 V, 40 A high speed. Features. Description

Features. Description. NG4K3E2C1_no_d. Table 1: Device summary Order code Marking Package Packaging STGW80H65FB-4 G80H65FB TO247-4 Tube

Trench gate field-stop IGBT, HB series 650 V, 40 A high speed. Features. Description G1C2TE3

LM2903W. Low-power, dual-voltage comparator. Features. Description

LF253, LF353. Wide bandwidth dual JFET operational amplifiers. Features. Description

LD A, low quiescent current, low-noise voltage regulator. Applications. Description. Features

TSX393. Micropower dual CMOS voltage comparators

DN0039 Design note. 35 W wide input range flyback converter using HVLED001A quasi resonant Flyback controller and STF10LN80K5.

LD ma very low quiescent current linear regulator IC. applications. Description. Features

MC Low noise quad operational amplifier. Features. Description

AN3134 Application note

AN2001 Application note

STLQ ma ultra-low quiescent current LDO. Description. Features. Applications

TS4061. Precision micropower shunt voltage reference. Description. Features. Applications

LM2903. Low-power dual voltage comparator. Description. Features. Related products

ULN2801A, ULN2802A, ULN2803A, ULN2804A

TS522. Precision low noise dual operational amplifier. Features. Description

TSH103. Low cost triple video buffer/filter for standard video. Features. Applications. Description

L4931. Very low drop voltage regulators with inhibit. Description. Features

MC33172 MC Low power dual bipolar operational amplifiers. Features. Description

N-channel 30 V, 2.15 mω typ., 120 A Power MOSFET in a TO-220 package. Features. Order code. Description. AM01475v1_Tab

Obsolete Product(s) - Obsolete Product(s)

STGB20NC60V, STGP20NC60V, STGW20NC60V

LDF. 1 A very low drop voltage regulator. Applications. Description. Features

BAT30F4. Small signal Schottky diodes. Description. Features

Trench gate field-stop IGBT, HB series 650 V, 40 A high speed in a TO247-4 package

Trench gate field-stop IGBT, M series 650 V, 120 A low loss in a Max247 long leads package. Features. Description. Table 1: Device summary

LDLN ma ultra low noise LDO. Applications. Description. Features. Smartphones/tablets Image sensors Instrumentation VCO and RF modules

LF253 LF353. Wide bandwidth dual JFET operational amplifiers. Features. Description

N-channel 30 V, 2.5 mω typ., 120 A STripFET H6 Power MOSFET in a TO-220 package. Features. Description

EVAL6235N. Demonstration board for L6235 DMOS driver for 3-phase brushless DC motor. Description. Features

Low-power, precision, rail-to-rail, 9.0 MHz, 16 V operational amplifiers. Description

ULQ2801, ULQ2802, ULQ2803, ULQ2804

TSC1021. High-side current sense amplifier. Features. Description. Applications

TS27L4. Very low power precision CMOS quad operational amplifiers. Features. Description

Chop away input offsets with TSZ121/TSZ122/TSZ124. Main components Single very high accuracy (5 μv) zero drift micropower 5 V operational amplifier

Features. Description. Table 1: Device summary. Order code Marking Package Packing STGW10M65DF2 G10M65DF2 TO-247 Tube

Features. Description. Table 1: Device summary Order code Marking Package Packing BU931P BU931P TO-247 Tube

STGW25H120DF2, STGWA25H120DF2

Description. Table 1. Device summary. Order code Package Packing. TDA7851F Flexiwatt25 (vertical) Tube TDA7851FH-QIX Flexiwatt25 (horizontal) Tube

ST1S A, 1.5 MHz adjustable, step-down switching regulator. Description. Features

Automotive-grade trench gate field-stop IGBT, HB series 600 V, 30 A high speed. Features. Ignition. Description

STTH1R02-Y. Automotive ultrafast rectifier

LM2901. Low power quad voltage comparator. Features. Description

Description. consumption lower than 1 µa. The device also Input voltage from 2.4 to 5.5 V

LMV321-LMV358-LMV324. Low cost low power input/output rail-to-rail operational amplifiers. Features. Applications. Description LMV321ILT (SOT23-5)

Features. Description. Table 1: Device summary Order code Marking Package Packaging SCT50N120 SCT50N120 HiP247 Tube

TS982. Wide bandwidth dual bipolar operational amplifier. Features. Applications. Description

PM8841D. 1 A low-side gate driver. Description. Features. Applications

1.2 A low quiescent current LDO with reverse current protection. Description

Trench gate field-stop IGBT M series, 650 V, 15 A low-loss in a TO-220FP package. Features. Description

LM248, LM348. Four UA741 quad bipolar operational amplifiers. Description. Features

Features. Description. Table 1: Device summary Order code Marking Package Packing BU931T BU931T TO-220 Tube

STPS160H100TV. High voltage power Schottky rectifier. Description. Features

Description. Table 1. Device summary. Order codes Output voltage

TSM1051. Constant voltage and constant current controller for battery chargers and adaptors. Features. Description. Applications

Emergency lighting LED Voltage regulation SOT-89. Description. Order code Marking Package Packaging. 2STF SOT-89 Tape and reel

LM139, LM239, LM339. Low-power quad voltage comparators. Features. Description

LD3985. Ultra low drop and low noise BiCMOS voltage regulators. Features. Description

STP4CMP. Low voltage 4-channel constant current LED driver with charge pump. Description. Features. Applications

Trench gate field-stop IGBT, HB series 650 V, 20 A high speed. Features. Description

LM2903H. Low-power dual voltage comparator. Features. Description

STGFW40V60DF, STGW40V60DF, STGWT40V60DF

LD ma very low quiescent current linear regulator IC. applications. Description. Features SOT23-5L. DFN4 1x1

N-channel 600 V, 0.68 Ω typ., 10 A, SuperMESH Power MOSFET in a TO-220FP ultra narrow leads package. Features. Description

STPS3H V power Schottky rectifier. Datasheet. Features. Applications. Description

STBR3012. High voltage rectifier for bridge applications

Description. Table 1: Device summary LE30CD-TR 3 LE33CD-TR LE33CZ-AP LE33CZ-TR 3.3 LE45CD-TR 4.5 LE50ABD-TR LE33ABZ-AP 5 LE50CD-TR 5 LE80CD-TR 8

300 ma very low quiescent current linear regulator IC with automatic green mode

TSL channel buffers for TFT-LCD panels. Features. Application. Description

Description. Table 1. Device summary KF25BD-TR KF25BDT-TR 2.5 V KF33BD-TR KF33BDT-TR 3.3 V KF50BD-TR KF50BDT-TR 5 V KF80BDT-TR

L6399. High voltage high and low-side driver. Applications. Features. Description

STGW40H120DF2, STGWA40H120DF2

Features. Description. AM15810v1. Table 1: Device summary Order code Marking Package Packing STL8N6F7 8N6F7 PowerFLAT 3.3x3.

TS27M2, TS27M2A, TS27M2B

Transcription:

Application note Signal conditioning for resolver Introduction This application note deals with the analog signal conditioning circuit used to drive a resolver and receive information from it. Some hints are given to use simple schematics to apply the right signal to the resolver and get back the analogic results before a digital treatment. The simplicity of the resolver makes it reliable in many standard and extreme applications such as: servo motors, factory automation, steel and paper mills, oil and gas production, jet engine fuel systems and aircraft flight. The main concern is how to drive it, as much part of the time it needs a typical input voltage in the range from to 26 VAC and the frequency can vary in the range from 40 Hz to 0 khz. The maximum current flowing in the reference winding is generally less than 00 ma. The TSX564 at 6 V op-amp family is a perfect choice to drive a resolver. AN56 - Rev - May 208 - By Nicolas Aupetit For further information contact your local STMicroelectronics sales office. www.st.com

How does it work? How does it work? Basically the resolver is a rotary transformer with one rotating winding (supplied by V r ) and two stator windings. The reference winding is fixed on the rotor, and therefore, it rotates jointly with the shaft passing the output windings as described in Figure. Resolver principle. Resolver hardware can be viewed as two inductive position sensors, which, upon a supplied sinusoidal shaped signal on the input, generate two sinusoidal signals on the output. The amplitude of one signal is proportional to the sine. The amplitude of the other is proportional to the cosine of the shaft angle position. Both windings further refer to as output windings. The ratio of these two signals is then analyzed and determines the absolute position. Figure. Resolver principle θ Input signal of resolver Rotor Stator Output signal of resolver Ref signal Vr Sine winding Vs Rotary transformer K Stator Cosine winding Vc The frequency of the generated voltages V s and V c, equals the frequency of the reference voltage V r, and their amplitudes vary according to the sine and cosine of the shaft angle θ. The input reference signal can be described by the following formula: V r = A0.sinωt () with A0 is the amplitude of the input signal and ω is the resolver driving frequency With K is the transformation ratio and θ the rotor angle. With K is the transformation ratio and θ the rotor angle. V C = K * V r * cos θ (2) V s = K * V r * sin θ (3) As Eq. (2) and Eq. (3) are expressed the sine and cosine for the rotor angle, it is quite easy to get the shaft angle thanks to the Atan function. And by ignoring imperfections, the shaft angle would be expressed by the equation below. θ = Atan Vs Vc (4) AN56 - Rev page 2/5

Signal conditioning to drive the reference winding 2 Signal conditioning to drive the reference winding Most part of the time, a high voltage (generally >= 0 V) is necessary to drive a resolver. A simple gain voltage amplifier schematic can be used with a 6 V amplifier as the TSX family. However, should a larger amplitude be needed, this kind of schematics does not work anymore. So, to drive correctly a resolver with higher amplitude for a given power supply, the schematic described in Figure 2. Schematic to drive a resolver can be used. This is a two stage configuration; the first stage is used to amplify the input signal with a gain of R2/R and drive the first input of the resolver Vo. Vo signal is also connected to the second stage with a gain of -(by considering R3=R4) in order to get a Vo2 signal, which is the opposite of Vo signal. Vo2 signal is thus connected to the second input of the resolver. At the end the differential signal Vo2-Vo, seen by the resolver, has amplitude two times higher than the input signal V in. It can be demonstrated by the Eq. (7), describing the AC transfer function of the schematic below: Figure 2. Schematic to drive a resolver C2 R2 Vin C R 6 Vcc+ TSX564 UA 5 Vo R3 Vcc+ R6 5 4 TSX564 U2A 6 R4 C3 Vo2 C4 R7 2. Transfer function The schematic showed in Figure 2. Schematic to drive a resolver is a single-to-differential output. Output Vo, can be described in AC as the following equation: Vo = Vin. jr2. C. ω + jr. C. ω + jr2. C2. ω Output 2 Vo2, can be described in AC as the equation below: Eq. (6) shows that for frequency lower than phase shift of 90. Vo2 = Vo + jr3. C3. ω, the signal on Vo2 has the same amplitude of Vo, but with a 2πR3C3 The resolver is driven in differential, so the transfer function of the whole system can be described by the equation as follows Vo2 Vo = jr3. C3. ω 2. Vin. jr2. C. ω + 2 + jr. C. ω + jr2. C2. ω + jr3. C3. ω (5) (6) (7) AN56 - Rev page 3/5

Phase shifting Eq. (7) demonstrates that the differential voltage applied on the input of the resolver is twice higher than the input signal. Let us detail the Eq. (7) and explain the role of the capacitance C, C2 and C3. The C capacitance is a coupling capacitor. C is for sure calculated depending of the frequency of the input signal and resistance R. As demonstrated by the Eq. (7), C capacitor with the R act as a high pass filter, with a cut-off frequency (3dB) at fph = 2πRC. The capacitance C2 and C3 combined with R2 and R3 respectively, act as low pass filter which can be a secondorder depending of the value of C2, C3 and R2, R3. fpl = fpl2 = 2πR2C2 2πR3C3 This low pass filter can be necessary in order to filter unwanted parasitic high frequency signal, but for sure it adds some phase shifting on the signal. Thanks to Eq. (7), a zero appears at the frequency Fz = πr3c3. Eq. (7) can be also shown as a bode diagram described in the figure below. Figure 3. Bode diagram of the transfer function equation 7 Gain (8) (9) 20log R2 + 6dB R ƒph= 2πRC ƒpl= 2πR2C2 Frequency ƒz= πr3c3 ƒpl2= 2πR3C3 Note: C4 capacitance is important to avoid any ripple on the reference voltage. 2.2 Phase shift The phase shift is an important point to take into consideration, as it is a source of inaccuracy introduced by the application schematic. Actually the signal applied on the reference winding cannot really be considered as described by the Eq. () but rather as: V r = A0.sin ωt + φ (0) Where φ is the phase shift introduced by the op-amps and external components. The phase shift φ represents in degree the difference between the time phase of the input sinusoid signal and the time phase of the signal apply on the reference winding. Note that resolvers have also their own phase shift φ2 (which is the time phase difference between primary voltage and secondary voltage when the resolver works with maximum magnetic coupling), that must also be taken into consideration in the whole signal chain. The equation below expresses in degree the phase shifting φ introduced by Figure 2. Schematic to drive a resolver R3. C3. ω φ = 90 + Atan Atan R. C. ω Atan R2. C2. ω Atan R3. C3. ω () 2 The Figure 3. Bode diagram of the transfer function equation 7, shows 3 poles and zero. Each pole adds a -20 db/decade slope to the plot (pole) and 45 phase shift accumulates at each poles at the cutoff frequency and closes to 90 far from the cutoff frequency. AN56 - Rev page 4/5

Maximum amplitude error on the reference winding So this point must be taken into consideration when an application to drive a resolver is designed. Due to process and temperature variation, resistances and capacitor values might change. And so the pole described by Figure 3. Bode diagram of the transfer function equation 7 might vary and the theoretical phase shift as well. By selecting FpH and FpL poles with more than decade around the input frequency necessary to drive the resolver, this phase shifting error can be limited. FpL2 has to be better chosen far above FpL not to introduce extra phase shift to the one already added by FpL. This kind of architecture forms a band pass filter for the undesired frequency. The best filtering is to have the sharpest filter around the working frequency. This means having for example two poles FpH and FpL as closer as possible, which is not good for φ. A good compromise, between the phase shifting error and the right filter, must be found. 2.3 Maximum amplitude error on the reference winding From an AC point of view, the gain of the schematic Figure 2. Schematic to drive a resolver can be written as described by the equation below: Gain = R2 R + R4 R3. R2 R The equation above gives a result of gain by considering that the used resistances match perfectly. Unfortunately it is not the case, as the resistances have their own precision. The error on the gain, due to the mismatch of the resistances is given by the following formula: Where ε is the precision of any of resistances. Gain = 2R2 R (2) + 3ε (3) If resistances are chosen with a precision of %, the maximum gain error due to the mismatch is 3%. For a better accuracy 0.% resistances should be chosen, in this case the gain error is 0.3%. 2.4 Power dissipation and junction temperature The impedance of the resolver is quite low and this kind of device is generally driven with a high voltage. So the op-amps, used to drive the reference winding, should be able to source high current. Therefore, the power dissipation must be taken into consideration in order to be sure that the maximum junction temperature of the opamp is not overpassed. The junction temperature can be calculated by the equation: Where Pwd is the power dissipation of the amplifier expressed in W. Tj = Pwd*Rthja + Ta (4) Rthja is considered as the junction-to-ambient thermal resistance ( C/W). It represents the difference between the junction and ambient temperature when the power dissipated by the op-amp= W, and Ta, the ambient temperature, is expressed in C. Let s calculate the power dissipation of the amplifiers in order to have an idea of the junction temperature. The power dissipation in the amplifiers is the difference between the total power dissipation at the power supply level and the power dissipated in the resolver itself. Pwd = Ptot Pres (5) The resolver impedance is generally expressed in rectangular form as R+jLω where R is the resistance and Lω is the inductive reactance. The magnitude of the impedance is given below: Z = R² + L²ω² (6) Let s first calculate the total power dissipation Ptot. During half time the current is sourced through one op-amp and during the second half it is sourced through the second channel. The signal applied on the resolver is a sine signal so: Ptot t = Vcc* I t (7) I t = 2Vp. sinωt Z (8) AN56 - Rev page 5/5

Application example Where Vp is Vpeak signal of the output of each op-amp, Vcc the power supply voltage of the op-amp. We can then deduce the average total power dissipation by a simple integration. As each amplifier supplies a half wave rectified current to the resolver load, the integration can be done on a half period (T/2). Ptot = T/2. T/2 2. Vcc. Vp 0 sinωt dt (9) Z Ptot = Now let s calculate the power dissipation into the load: With 4. Vcc. Vp π. Z (20) Pres t = R*Iin² t (2) Iin = 2. Vp Z Pres = 2. R. Vp² Z ² With reference to the Eq. (5), the power dissipated in the op-amps can be written as follows: Pwd = 4. Vcc. Vp π. Z 2. R. Vp² Z ² Note that power consumption (Icc) of the op-amp has not been considered. (22) (23) (24) 2.5 Application example In this application example, a resolver is driven with the following features: input voltage of 7.5 Vrms with frequency of 4 khz. The input current max. is 6 marms. The TSX564 op-amp is chosen because of its wide voltage range supply 6 V and its capability to source high current (90 ma typical). The FpH is fixed to 70 Hz in order to filter 50 Hz. R is fixed to 0 kω. So C= 220 nf. The Flp is fixed to 60 khz. R2 is also set to 0 kω. So C2 = 00 pf. In order to have Flp2 far enough from Flp, decade is set above, so Flp2=.6 MHz. R3=22 k so C3=4.7 pf. Figure 4. Application schematic to drive a resolver 00p C2 R2 Vin C 220n R 6 6V TSX564 UA 5 Vo 22k R3 C4 0µ 6V R6 R7 5 4 TSX564 U2A 6 R4 22k C3 4.7p Vo2 The following picture shows a scope of the input signal amplitude, which has been multiplied by two thanks to the architecture presented in Figure 2. Schematic to drive a resolver. An error of.6% can be observed on Vo2-Vo signal compared to the theoretical value, mainly due to the matching of the resistance (resistance tolerance%) see Eq. (3). AN56 - Rev page 6/5

Application example Figure 5. Probe scope of input and reference voltage signal Vo2-Vo Input signal Figure 6. Gain and phase shift vs frequency shows the gain and the phase shift vs frequency corresponding to the application schematic detailed in Figure 4. Application schematic to drive a resolver. The bandwidth of the band pass filter is from 70 Hz to 60 khz allowing having a minimum phase shifting at the working frequency of 4 khz. Actually the phase shifting at 4 khz is 0.4. As it is shown by the graph below, the phase shifting is quite flat in the region of 4 khz, allowing small variation of the external component value, without a big change of the phase shift. Figure 6. Gain and phase shift vs frequency In order to save space on the PCB, the TSX564 can be chosen in QFN6 package. The Rthja of this package is 80 C/W. Following to Eq. (4) and Eq. (24), we can deduce firstly the power dissipation of the op-amps. and then the temperature junction: 4*6*5.3 Pwd = π. 220² + 206² 2*220*5.32 220 2 = 222 mw (25) + 206 2 Tj = 0.222*80 + 25 = 43 o C (26) It means there is an elevation of temperature of 8 C compare to the ambient temperature. By using the TSX564 in QFN package, this kind of application can also reach the 25 C. The TSX564 is a quad op-amp; the two added op-amps is used as active filtering for the resolver SIN/COS receiver circuit. AN56 - Rev page 7/5

Signal conditioning for SIN/COS windings 3 Signal conditioning for SIN/COS windings The resolver SIN/COS receiver circuit can be fulfilled with a simple differential-to-single op-amp as described by Figure 7. Schematic resolver sine receiver circuit and Figure 8. Schematic resolver cosine receiver circuit. The voltage gain is defined thanks to the ratio of the resistances R9/ R8 for sine receiver circuit, and R3/ R2 for cosine receiver circuit. So the signal can be adjusted to fit the acceptable range of the ADC. Moreover a DC bias must be added and it can be adjusted thanks to a reference voltage, in order to shift the signal to the middle of the ADC range. Figure 7. Schematic resolver sine receiver circuit describes the analog chain to address the sine part of the resolver. The same kind of architecture has to be used for the cos part as shown by Figure 8. Schematic resolver cosine receiver circuit. The capacitors C5 C6, add low pass filter in order to suppress unwanted high frequency. The cut-off frequency of this filter must be chosen largely higher than the working frequency in order not to affect a resolver signal and not to introduce a significant phase shifting. In order to balance the gain and the low pass filter we can consider the resistances R9 = R and R0= R8 and the capacitances C5=C6. The transfer function can be simplified and described in the equation as follows: Vout = R9 R8 Vb Va. + jωr9. C5 The capacitance C5 combined with R9 acts as low pass filter with a cut-off frequency fplp as described in the equation below: fplp = 2π. R9. C5 (27) (28) Figure 7. Schematic resolver sine receiver circuit Figure 8. Schematic resolver cosine receiver circuit C5 C7 Va R8 R9 Vcc+ TSX564 8 U3A 7 9 Vout_Sin Vc R2 R3 Vcc+ TSX564 3 U4A 4 2 Vout_Cos Sine Winding Cosine Winding Vb R0 R Vref Vd R4 R5 Vref C6 C8 In a perfect world the amplitude K.Vr (see Eq. (2) and Eq. (3) ) from the sine and cosine path should be equal. This does not count on the following different error terms. 3. DC error The amplitude between the cosine and sine path can be affected by the mismatch of the gain resistance ε is the tolerance of the resistance. Gain error_sin = R9 ± 2ε (29) R8 Besides, it is important to take into account the fact that Vio of each TSX564 can be different. The maximum possible Vio for the TSX564 is 2.2 mv overtemperature. The DC error is described by the following equation: DC error = ± Vio + R9 R8 Please, note that even if in the equation above the null voltage of the resolver and the precision of the Vref are not expressed, in DC error they should be taken into account. The sine equation can be written as follows, by taking into account the DC error only: Vout Sin = K. A0. sinωt. R9 R9. ± 2ε. sinθ ± Vio + R8 R8 The cosine equation can be written as follows, by taking into account the DC error only: (30) (3) AN56 - Rev page 8/5

Phase shift error Vout Cos = K. A0. sinωt. R3 R3. ± 2ε. cosθ ± Vio2 + R2 R2 (32) 3.2 Phase shift error Another source of error is the phase shift. In the Section 2 Signal conditioning to drive the reference winding we can notice that a phase shift φ is introduced by the signal conditioning circuitry. We also understand that the resolver itself can introduce a phase shift φ2 between the reference excitation signal and the sine and cosine signal. The signal conditioning circuitry for sine winding introduce a phase shift φ3 as well. The same behavior affects the cosine path by including a phase shift φ4. The sine equation can be written as follows, by taking into account the phase shift error only. with Vout Sin = K. A0. R9. sin ωt + φ + φ2 + φ3. sinθ (33) R8 φ3 = Atan R9. C5. ω (34) Due to the mismatch of external component (capacitor and resistance) the cosine equation can be written as follows, by taking into account the phase shift error only. with Vout cos = K. A0. R3. sin ωt + φ + φ2 + φ4. cosθ (35) R2 φ4 = Atan R3. C7. ω (36) The used resolver has a transformation ratio K of 0.54. As the reference winding is driven with 7.5 Vrms (0.6 Vp), it means that the signal on the sin and cos winding is equal to 4.05 Vrms (5.73 Vp). The goal of the receiver circuit in our application is to adapt this signal from the sin/cos winding for digital analysis done by an ADC. The signal on the Vout must be in the range of 5 V. Due to the Eq. (27) we can first divide the signal, thanks to R9, R8 (R0, R as well). In order to take margin and avoid any saturation when we work close to the rail, take a full range of 4.5 Vpp. So, apply a division factor of 2.55. By considering R8=R0=0 kω, the R9=R=3.9 kω The working frequency is still fixed at 4 khz; in order not to add too much phase shifting, apply the same cut-off frequency than the driver circuit 60 khz Thanks to the Eq. (28) C6=C5=255 pf. The Vref voltage can be set to 2.6 V in order to have a Vout in the range of [350 mv: 4.85 V]. Figure 9. Application schematic for sine receiver circuit 255p C5 3.9k R9 Va R8 8 9 6V TSX564 U3A 7 Vout_Sin Sine Winding Vb R0 3.9k R 270p Vref =2.6V C6 AN56 - Rev page 9/5

Phase shift error Figure 0. Gain and phase shift vs frequency of receiver circuit 50 270 40 225 80 30 35 20 90 0 45 Gain (db) 0 0 Phase ( ) Gain Phase -0-45 -90-20 -35-30 -80-40 -225-50 -270.E-0.E+00.E+0.E+02.E+03.E+04.E+05.E+06.E+07.E+08 Frequency (Hz) With a cut-off frequency of 60 khz, it introduces a phase shifting of 2 at 4 khz (theoretical value -Atan (R9.C5.ω) is.5 ). AN56 - Rev page 0/5

Conclusion 4 Conclusion The overall application of a system using a resolver can be described in the figure below, where the TSX564 opamp is used to drive sin/cos signal conditioning. Figure. Application schematic of driver and receiver circuit 00p C2 255p 220n Vin C R R2 C5 6V TSX564 3.9k UA 6 5 R9 6V TSX564 8 U3A 7 22k R8 9 Vout_Sin R3 Reference Winding Sine Winding 3.9k 6V R6 5 4 TSX564 R4 U2A 6 22k C3 4.7p R0 Cosine Winding R 270p 255p C6 Vref =2.6V C4 0µ R7 C7 3.9k R2 R3 6V TSX564 U4A 3 4 2 Vout_Cos R4 3.9k R5 270p Vref =2.6V C8 The overall equation of such a system can be written by taking into account both the error DC and phase shift. From Eq. (3) and Eq. (33), the Vout_sin can be written as follows: Vout Sin = K. A0. R9 R9. ± 2ε. sin ωt + φ + φ2 + φ3. sinθ ± Vio + R8 R8 From Eq. (32) and Eq. (35), the Vout_cos can be written in the following manner: Vout cos = K. A0. R3 R3. ± 2ε. sin ωt + φ + φ2 + φ4. cosθ ± Vio2 + R2 R2 In the previous equation the null offset of the resolver is not mentioned and the error due to DC offset can be minimized by choosing a resolver with a small residual offset. The phase shifting φ and φ2 introduced by the analog driving circuit and resolver respectively can be corrected by software by advancing the phase of the reference signal. Thanks to its current capability and high Vcc supply the TSX564 is a good candidate to drive resolver and condition the signal from the sine and cosine winding. In its quad version it is able to sustain high power dissipation (37) (38) AN56 - Rev page /5

Revision history Table. Document revision history Date Version Changes 0-May-208 Initial release. AN56 - Rev page 2/5

Contents Contents How does it work?...2 2 Signal conditioning to drive the reference winding...3 2. Transfer function...3 2.2 Phase shift...4 2.3 Maximum amplitude error on the reference winding...5 2.4 Power dissipation and junction temperature...5 2.5 Application example...6 3 Signal conditioning for SIN/COS windings...8 3. DC error...8 3.2 Phase shift error...9 4 Conclusion... Revision history...2 AN56 - Rev page 3/5

List of figures List of figures Figure. Resolver principle...2 Figure 2. Schematic to drive a resolver...3 Figure 3. Bode diagram of the transfer function equation 7....4 Figure 4. Application schematic to drive a resolver...6 Figure 5. Probe scope of input and reference voltage signal....7 Figure 6. Gain and phase shift vs frequency...7 Figure 7. Schematic resolver sine receiver circuit...8 Figure 8. Schematic resolver cosine receiver circuit...8 Figure 9. Application schematic for sine receiver circuit...9 Figure 0. Gain and phase shift vs frequency of receiver circuit... 0 Figure. Application schematic of driver and receiver circuit... AN56 - Rev page 4/5

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 208 STMicroelectronics All rights reserved AN56 - Rev page 5/5