Sensor device for an electric machine, method for the operation of a sensor device
11489470 · 2022-11-01
Assignee
Inventors
Cpc classification
H02P21/50
ELECTRICITY
H02K11/21
ELECTRICITY
H02P21/0003
ELECTRICITY
H02K2213/03
ELECTRICITY
International classification
Abstract
A sensor device for an electric machine includes a rotor shaft mounted rotatably in a housing, with a signal generator that is or can be joined non-rotatably to the rotor shaft and is or can be arranged axially on the end face of the rotor shaft. A signal sensor is fixed to the housing opposite on the end face of the signal generator and at a distance from the signal generator. The signal sensor acquires an axial distance from the signal generator.
Claims
1. A method of operating a sensor device of an electric machine having a rotor shaft mounted rotatably in a housing, the sensor device comprising a signal generator joined non-rotatably to the rotor shaft and arranged axially on an end face of the rotor shaft, and a signal sensor fixed to the housing and arranged opposite to the end face of the signal generator at a distance from the signal generator, the method comprising: capturing a multi-part output signal of the signal sensor that depends on an angle of rotation; determining at least signal parameters, signal amplitude, signal phase and signal offset of a respective partial signal; calculating an intermediate variable; determining the amplitude of a specified harmonic; determining a current axial distance Ax between the signal generator and the signal sensor depending on the determined amplitude; and determining a current torque of the electric machine depending on the determined distance Δx.
2. The method according to claim 1, further comprising, if more than two partial signals are present, carrying out a Clarke transformation before calculating the intermediate variable.
3. The method according to claim 1, wherein the intermediate variable is determined in accordance with the following formula:
r(k)=√{square root over (c.sub.1(k).sup.2+c.sub.2(k).sup.2)}, where r(k) represents the multi-part output signal, c.sub.1(k) and c.sub.2(k) represent sine and cosine components of the input signal (d), and k represents the sampling time-point.
4. The method according to claim 1, wherein the amplitude of the specified harmonic is determined with the aid of the following formula:
5. The method according to claim 1, further comprising: comparing the amplitude of the sensor signals determined from the signal parameters with the amplitude of the specified harmonic to verify the distance Δx.
6. The method according to claim 2, wherein an angle is determined as an output signal of the Clarke transformation, and the angle is corrected with an arctangent function.
7. The method according to claim 1, wherein the calculating of the intermediate variable includes calculating the intermediate variable from partial signals of the output signal.
8. The method according to claim 1, wherein the specified harmonic is the third harmonic.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The disclosure is to be explained in more detail below with reference to the drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10)
(11) The sensor device 2 can be designed as a resolver, as a Hall-element-based or magnetoresistive (AMR, GMR or TMR) rotation speed encoder and/or as a phase encoder, as an inductive angle sensor or also as an eddy current effect sensor. All the sensor variants give rise to the disadvantage that measurement errors and inaccuracies can arise, resulting in particular from the inhomogeneity of the magnetic fields generated around them and the resulting magnetic fluxes through the coils. Angle errors result from this which, depending on the angle, repeat cyclically with each rotation and are therefore found in the frequency domain as harmonics, that is as multiples, and in particular integral multiples, of the rotation frequency. The second harmonic in the sensor signal in particular can make up a significant portion of the total, cyclically repeating, angle error.
(12) Because the inhomogeneity of the magnetic flux changes depending on the relative position, in particular the axial distance, between the signal generator 8 and the signal sensor 7, the strength of the harmonic interference is also a function of the relative position, in particular of the axial distance Δx. This distance Δx depends on mechanical tolerances and temperature influences as well as on the torque delivered by the electric machine 1, as explained above. In the case of sensors with three coils, an angle error that corresponds to a third harmonic results from the second harmonic in the sensor signal. This can be shown in the following calculation with three sensor signals s.sub.1, s.sub.2 and s.sub.3:
s.sub.1=cos(φ)+a.Math.cos(n.Math.φ)
s.sub.2=cos(φ−⅔π)+a.Math.cos(n.Math.(φ−⅔π))
s.sub.3=cos(φ−⅔π)+a.Math.cos(n.Math.(φ−⅔π))
(13) It can be seen that this relates to a three-phase system with an electrical phase shift of 120° between each of the signals. By means of the Clarke transformation, a two-phase signal c.sub.1, c.sub.2 is determined from the three-phase signal:
(14)
(15) After this, an arctangent function can be used to estimate the angle φ.sub.est to be measured.
φ.sub.est=arctan 2(c.sub.1,c.sub.2)
(16) The error ε(φ) of this estimated angle is then given by
(17)
(18) By inserting different harmonics n, different harmonics result in the angle error which, to a first approximation, can be assumed to have the values in the following table, which were determined through a first-order Taylor expansion.
(19) TABLE-US-00001 Harmonic in the Approximated error in the signal domain (n) angle domain [degrees] 0 0 1 0 2
(20) It can be seen that, for example, the second harmonic in the sensor signal causes an unwanted third harmonic in the angle signal, whose amplitude is proportional to the amplitude of the second harmonics in the sensor signal. This cyclic error impairs the accuracy of the sensor device and can, for example, lead to a cyclically changing torque in the application with the electric machine 1.
(21) By means of the present sensor device 2 and the method described below for operation of same, an improved angle estimate with smaller amplitude angle errors is made available. In addition, the relative position, or its change, in particular of the axial distance Δx is estimated, so that with a known relationship between the axial distance and a further measured value, a conclusion can be drawn as to the further measured value, in particular of the torque of the electric machine. The advantage of a higher angular precision and a more robust angle signal of the sensor device 2 emerges from this. The method described below is simple to implement, since it can be implemented easily on the control device 12. The torque delivered is easy to determine through the method, and can therefore be captured without a separate sensor. Hardly any additional costs, if any, arise.
(22) The present method is based on the one hand on the observation of the amplitude of the harmonics, in particular of the second harmonics in the sensor signal during operation, and on the other hand on the observation of the signal amplitude/of the signal excursion when operating. Correction parameters for the angle error can be derived from these two values, and the distance between the signal generator 8 and the signal sensor 7 can be estimated. The estimation of the torque is then carried out depending on the estimated distance Δx. The process for the estimation of the second harmonics in the sensor signal when operating, the estimation of the distance between the signal generator 8 and signal sensor 7, as well as the estimation of the torque, which is carried out by the control device 12, is presented below.
(23)
(24) The parameters of the partial signals are estimated from the output signal in a step S2, wherein the parameters are in particular respectively the signal amplitude (which corresponds to half of the signal excursion), the signal phase relative to the instantaneous angle of rotation φ and the signal offset (displacement from the zero position). These parameters represent the output signal B. For the estimation of the parameters it is necessary that the output signal a is processed at different angles of rotation φ.
(25) In an optional step S3, the partial signals of the output signal a are normalized with the aid of the previously determined parameter b, so that, for example, they have a low offset, have a predetermined amplitude and each have defined phases with respect to the instantaneous angle of rotation φ. A normalized output signal c results from this.
(26) In the case of a three-phase design of the sensor device 2, the three-phase signal is subsequently converted in a step S4 into a two-phase signal d. The Clarke transformation is used for this purpose. This step is omitted in the case of two-phase sensors.
(27) In a following step S5, a single intermediate variable e, which can be referred to as a vector length, is calculated from the two-phase output signal d. The following formula can be used as a basis for this:
r(k)=√{square root over (c.sub.1(k).sup.2+c.sub.2(k).sup.2)}
Here r(k) is the output signal e, while c.sub.1(k) and c.sub.2(k) are the two components (sine/cosine) of the input signal d. The variable k refers to the index of the sampling time-point.
(28) The determination of the amplitude of the harmonics to be examined, in particular of the third harmonics in the angle domain corresponds to the second harmonics in the signal domain cas is shown in the table for the case of n=2), takes place in processing step S6 using a plurality of values e. The following formula can be used for the third harmonic in the angle domain:
(29)
(30) Here, a is the amplitude of the harmonics corresponding to the output signal f, k is the sampling time-point, and r(k) is the input signal e. It is also possible to take into account more than six sampling time-points in each rotation, wherein six sampling time-points at the respective minima and maxima are particularly expedient. These six sampling time-points are distributed evenly over a rotation, with a spacing of 60°, wherein the absolute position of the first sampling time-point r.sub.1 does not have to be at 0, but depends on the phase position of the harmonics of the error.
(31)
(32) The amplitudes of the sensor signals, which can thus be extracted from the signal parameters b, are determined in step S7. These amplitudes represent the output signal g.
(33) In processing step S8, relationships known from reference measurements between the signal excursion g and the distance Δx between the amplitudes of harmonics in the angle error, in particular of the third harmonics in the angle domain, are used to deduce the distance Δx from the known amplitudes of the harmonics of the error f and the signal excursion g. This distance represents the output signal h. The relationship between the signal excursion g and the axial distance Δx can be given, within a defined range of, for example, 0.2 mm to 4 mm, in the form of a monotonic function that results from the weaker electromagnetic field at greater distances, as is shown by way of example in
(34) In this connection,
(35)
(36) In step S9 the torque is estimated from the previously estimated distance Δx with the aid of the relationship, determined previously in reference measurements, between the distance Δx and the torque of the electric machine. This relationship between the distance Δx and the torque M.sub.d can typically be represented as a function with three distances, as shown in
(37)
(38) The process for an improved correction, which is carried out on the control device 12, is presented below with reference to
(39) In the case of the correction A, the output signal d is calculated for the three-phase signal (C) with the help of a previously determined, uncorrected angle φ.sub.unkorrigient and the previous determined amplitude a and phase Δ of the harmonics n that is to be corrected, in that for each signal phase, and for every harmonic to be corrected, the value of the respective cosine function is determined and subtracted from the signal (c):
a.Math.cos(n.Math.φ.sub.unkorr+θ)
(40) In the case of correction B, the same procedure is applied to the two-phase signal (e) in order to generate the output signal (f).
(41) In the case of correction C, the correction is applied in the angle domain to the previously determined angle (g), whereby the conversion of the amplitude and the harmonic number n in the signal domain into the error amplitude and the harmonic number in the angle domain takes place in accordance with the table discussed previously.
(42) It is particularly advantageous with correction C that it is only to be applied to a single signal, and therefore requires the least computing effort. It is advantageous for correction A that the achievable correction precision is particularly high, since the correction can be applied to all three sensor signals s.sub.1, s.sub.2, s.sub.3 separately.