Position sensor system, particularly for detecting rotary movement and method for detecting errors in a position sensor system
11725964 · 2023-08-15
Assignee
Inventors
Cpc classification
G01D5/145
PHYSICS
G06F11/14
PHYSICS
International classification
G01D5/244
PHYSICS
G06F11/14
PHYSICS
Abstract
A rotary movement position sensor is presented that includes a first sensor output, a second sensor output, a first signal processing unit, a second signal processing unit, a first system output providing the output of the first signal processing unit or of the second signal processing unit, and a second system output providing the output of the second signal processing unit or of the first signal processing unit. A swapping unit that swaps the first signal processing unit between the first sensor output and first system output to the second sensor output and second system output and simultaneously swaps the second signal processing unit from the second sensor output and second system output to the first sensor output and first system output and vice versa. A method for detecting errors in a position sensor system is also presented.
Claims
1. A rotational position sensor system, comprising: a position sensor, configured to detect rotational movement and provide a first sensor signal on a first sensor output and a second sensor signal on a second sensor output, each of the first sensor signal and the second sensor signal related to the rotational movement, the first sensor signal and the second sensor signal having a phase difference; a first signal processing unit having a filter and an amplifier, the first signal processing unit receiving one of the first sensor output signal or the second sensor signal and providing a first processing signal; a second signal processing unit having a filter and an amplifier, the second signal processing unit receiving, particularly amplifying and filtering, the signal of the second sensor output signal or the first sensor output opposite that of the first signal processing unit, the second signal processing unit providing a second processing signal; a first system output coupled to provide the output first processing signal of the first signal processing unit or the second processing signal of the second signal processing unit; and a second system output coupled to provide the output second processing signal of the second signal processing unit or the first processing signal of the first signal processing unit, opposite that of the first system output; and the position sensor system further comprises a control unit for processing the first system output and the second system output, which determines the second derivate of the first system output and of the second system output and detects peaks in the calculated second derivates representing errors in the first signal processing unit respectively in the second signal processing unit; a swapping unit coupled between the position sensor and the first signal processing unit and the second signal processing unit and coupled between the first signal processing unit and the second signal processing unit and the first system output and the second system output, wherein the position sensor system further to swap between a first operating condition and a second operating condition via the swapping unit, wherein in the first operating condition the swapping unit provides the first sensor signal to the first signal processing unit, the second sensor signal to the second processing unit, the first processing signal to the first system output, and the second processing signal to the second system output, and wherein in the second operating condition the sapping unit provides the first sensor signal to the second signal processing unit, the second sensor signal to the first processing unit, the first processing signal to the second system output, and the second processing signal to the first system output.
2. The position sensor system according to claim 1, further comprising a control unit for processing the first system output and the second system output.
3. The position sensor system according to claim 2, wherein the control unit comprises a first analog-to-digital converter for the first system output, a second analog-to-digital converter for the second system output, and a digital signal processing unit for processing the signals of the first analog-to-digital converter and the second analog-to-digital converter.
4. The position sensor system according to claim 2, wherein the control unit comprises a multiplexer for multiplexing between the first system output and the second system output and a common analog-to-digital converter connected to the output of the multiplexer, and a digital signal processing unit for processing the signal of the common analog-to-digital converter.
5. The position sensor system according to claim 2, wherein the control unit detects ripples in the first system output and/or second system output caused by swapping the first signal processing unit and the second signal processing unit.
6. The position sensor system according to claim 2, wherein the control unit further determines magnitude for the ripples in the first system output and second system output.
7. The position sensor system according to claim 2, wherein the control unit determines the second derivate of the first system output and of the second system output and detects peaks in the calculated second derivates representing errors in the first signal processing unit respectively in the second signal processing unit.
8. The position sensor system according to claim 7, wherein the control unit calculates the average of the first system output respectively of the second system output.
9. A method for detecting errors in a rotation position sensor system, particularly for detecting rotary movement, comprising: configuring to detect rotational movement and provide a first sensor signal on a first sensor output and a second sensor signal on a second sensor output, each of the first sensor signal and the second sensor signal related to the rotational movement, the first sensor signal and the second sensor signal having a phase difference; filtering and an amplifier, the first signal processing unit receiving one of the first sensor output signal or the second sensor signal and providing a first processing signal; amplifying and filtering, the signal of the second sensor output signal or the first sensor output opposite that of the first signal processing unit, the second signal processing unit providing a second processing signal; providing the output first processing signal of the first signal processing unit or the second processing signal of the second signal processing unit; and providing the output second processing signal of the second signal processing unit or the first processing signal of the first signal processing unit, opposite that of the first system output; and processing by controller the first system output and the second system output, which determines the second derivate of the first system output and of the second system output and detects peaks in the calculated second derivates representing errors in the first signal processing unit respectively in the second signal processing unit; swapping the first signal processing unit from the first sensor output and first system output to the second sensor output and second system output and for simultaneously swapping the second signal processing unit from the second sensor output and second system output to the first sensor output and first system output; and alternately switching between a first operating condition and a second operating condition, wherein the first operating condition includes processing, a first sensor output processed in a first signal processing unit and providing the result to a first system output and processing a second sensor output signal in a second signal processing unit and providing the result to a second system output, the first sensor output signal and the second sensor output signal differing by a phase difference; and wherein the second operating condition, includes processing the first sensor output in the second signal processing unit and providing the result to the first system output and in which processing the second sensor output in the first signal processing unit and provided providing the result to the second system output.
10. The method according to claim 9, further including processing the first system output and the second system output in a control unit.
11. The method according to claim 10, wherein processing by the control unit includes converting the first system output in a first analog-to-digital converter and converting the second system output in a second analog-to-digital converter of the control unit or multiplexing between the first system output and the second system output and converting the multiplexed signal in a common analog-to-digital converter.
12. The method according to claim 9, comprising the step of detecting ripples in the first system output and/or second system output caused by alternating between the first operating condition and the second operating condition, preferably over time for a static position sensor and/or over the position of the sensor.
13. The method according to claim 12, comprising the step of determining the magnitude for the ripples in the first system output and second system output.
14. The method according to claim 9, comprising the step of calculating the second derivate of the first system output and of the second system output and detecting peaks in the calculated second derivates representing errors in the first signal processing unit respectively in the second signal processing unit.
15. The method according to claim 9, comprising the step of determining the average of the first system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In the following, the invention will be further explained with respect to the embodiments shown in the figures. It shows:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
DETAILED DESCRIPTION
(27)
(28) The signal of the first sensor output 3 and the second sensor output 4 are either processed by the first signal processing unit 5 or the second signal processing unit 6 at a time. Thus, if the first sensor output 3 is processed by the first signal processing unit 5 the second sensor output 4 is processed by the second signal processing unit 6 and if the first sensor output is processed by the second signal processing unit 6 the second sensor output 4 is processed by the first signal processing unit 5.
(29) The position sensor system 1 further comprises a first system output 7 providing the output of the first signal processing unit 5 or of the second signal processing unit 6 and a second system output 8 providing the output of the second signal processing unit 6 or of the first signal processing unit 5. Again, at a given time the output of the first signal processing unit 5 is provided by either the first system output 7 or the second system output 8 and the output of the second signal processing unit 6 is provided at that time by the other of the second system output 8 or the first system output 7. Thus, if the output of the first signal processing unit 5 is provided by the first system output 7 the output of the second signal processing unit 6 is provided by the second system output 8 and if the output of the first signal processing unit 5 is provided by the second system output 8 the output of the second signal processing unit 6 is provided by the first system output 7.
(30) According to the invention the position sensor system 1 further comprises a swapping unit 9 for swapping the first signal processing unit 5 from the first sensor output 3 and the first system output 7 to the second sensor output 4 and second system output 8 and for simultaneously swapping the second signal processing unit 6 from the second sensor output 4 and second system output 8 to the first sensor output 3 and first system output 7 and vice versa. In
(31) In the first operating condition of
(32) The first signal processing unit 5 and the second signal processing unit 6 each comprise an amplifier 11 and a filter 12. The amplifier 12 is for example an operation amplifier (op-amp) and the filter 12 is for example a resistor-capacitor circuit (RC circuit). The first signal processing unit 5 and/or the second signal processing unit 6 can add some offset error, gain error and/or phase error, as indicated in
(33) The position sensor system 1 of
(34) The control unit 10 in
(35) The control unit 10, especially the digital signal processing unit 15, is designed to detect ripples 18 in the first system output 7 and/or second system output 8, caused by swapping the first signal processing unit 5 and the second signal processing unit 6.
(36) Furthermore, the control unit 10, especially the digital signal processing unit 15, is designed to determine the magnitude for the ripples 18 in the first system output 7 and second system output 8.
(37) To further increase the accuracy of the position sensor system 1 the control unit 10, especially the digital signal processing unit 15, can determine the 2.sup.nd derivate of the first system output 7 and of the second system output 8 and detect peaks in the 2.sup.nd derivates. The peaks represent errors in the first signal processing unit 5 respectively in the second signal processing unit 6, especially offset, gain and/or phase errors.
(38) To reduce or compensate errors in the first signal processing unit 5 and/or second signal processing unit 6 the control unit 10, especially the digital signal processing unit 15, can calculate the average of the first system output 7 respectively the second system output 8.
(39)
(40) Since the sensor output 3, 4 are processed by different signal processing units 5, 6 in the two operating conditions and because the different signal processing units 5, 6 may have different offset, gain and/or phase errors, the system outputs 7, 8 may contain ripples 18, which are detected by the control unit 10.
(41) In
(42) In the first operating condition shown in
(43) In the second operating condition shown in
(44) The swapping unit 8 causes an alternation between the first operating condition and the second operating condition.
(45) The first signal processing unit 5 and the second processing unit 6 amplify and filter the first sensor output 3 and the second output 4 and thereby eventually adding offset errors, gain errors and/or phase errors.
(46) The first system output 7 and the second system output 8 are processed by the control unit 10. The first system output 7 is converted by the first analog-to-digital converter 13 of the control unit 10 and the second system output 8 is converted by the second analog-to-digital converter 14 of the control unit 10. The signals of the first analog-to-digital converter 10 and of the second analog-to-digital converter 14 are processed by the digital signal processing unit 15 of the control unit 10.
(47) The control unit 10 detects ripples 18 in the first system output 7 and/or the second system output 8, which are caused by alternating between the first operating condition and the second operating condition, i.e. by processing the sensor output signals 3, 4 by different signal processing nits 5, 6 in the two operating conditions.
(48) By determining the magnitude for the ripples 18 in the first system output 7 and the second system output 8 the control unit 8 can determine the kind of error, i.e. offset error, gain error and/or phase error.
(49) The accuracy of the error detection can be enhanced by calculating the 2.sup.nd derivate of the first system output 7 and of the second system output 8 and detecting peaks in the calculated 2.sup.nd derivates. The peaks represent errors in the first signal processing unit 5 respectively in the second signal processing unit 6.
(50) By determining the average of the first system output 7 and of the second system output 8 the errors can be reduced or even compensated.
(51) Advantageously, the swapping unit 9 swaps the first signal processing unit 5 and second signal processing unit 6 regularly, preferably in equal intervals.
(52)
(53)
(54) Since all other features correspond to the first embodiment of
(55)
(56) The first sensor output 3 provides a sinusoidal signal, which starts with a signal level of 0 at 0°. The sinusoidal signal of the first sensor output 3 is referred to as Sine-signal 20. The second sensor output 4 also provides a sinusoidal signal, which is phase shifted by a quarter of a phase respectively 90°. Thus, the signal level of the second sensor output 4 is 1.0 at 0°. The sinusoidal signal of the second sensor output is referred to as Cosine-signal 21.
(57) The first sensor output is defined by:
(58)
or
A*sin(x) [x in radians],
(59) and the second sensor output is defined by:
(60)
(61) The peak amplitude respectively the signal level A is 1.0 in
(62)
(63)
(64)
(65)
over a full phase (0° to 360°). An indication of an offset error is that at any position the error of the Sine-signal 22 and Cosine-signal 23 is constant and equal.
(66)
(67)
(68)
(69) From
(70)
(71)
over a full phase (0° to 360°). The largest error of the Sine-signal 24 respectively the Cosine-signal 25 occurs at the positive and negative peaks (90°, 270° for Sine-signal 24, 0°, 180° for Cosine-signal 25) and the minimum errors occurs at the zero crossings (0°, 180° for Sine-signal 24, 90°, 270° for Cosine-signal 25). An indication of a gain error is that the errors of the Sine-signal 24 and Cosine-signal 25 are not constant over a full phase, but the magnitude of both signals is constant.
(72)
(73)
(74)
(75) From
(76)
(77)
over a full phase (0° to 360°). The largest error of the Sine-signal 26 respectively the cosine-signal 27 occurs at zero crossings (0°, 180° for Sine-signal 26, 90°, 270° for Cosine-signal 27) and the minimum errors occurs at the positive and negative peaks (90°, 270° for Sine-signal 26, 0°, 180° for Cosine-signal 27). An indication of a phase shift error is that the errors of the Sine-signal 26 and Cosine-signal 27 are not constant over a full phase, but the magnitude of both signals is constant.
(78)
(79)
(80)
(81) The vertical axis on both graphs is a relative number representing the 2.sup.nd derivate of the signals. It depends on the time interval between measurements of the signal ripple 18 on the Sine-Signal 22 and Cosine-signal 24, representing the sample rate of the analog-to-digital converter 13, 14, 17 analysing the Sine-signal 22 and Cosine-signal 23. The larger the error, the larger will be these signal levels. The horizontal axis of
(82) An offset error in the first signal processing unit 5 and/or second signal processing unit 6 is indicated by a constant 2.sup.nd derivate pulse over position. The 2.sup.nd derivate magnitude is also constant over position.
(83)
(84)
(85) The diagrams of
(86) A gain error in the first signal processing unit 5 and/or second signal processing unit 6 is indicated by a non-constant 2.sup.nd derivate peak pulse pattern over position. The 2.sup.nd derivate magnitude is constant over position and time.
(87)
(88)
(89) The diagrams of
(90) A phase shift error in the first signal processing unit 5 and/or second signal processing unit 6 is indicated by a non-constant 2.sup.nd derivate peak pulse pattern over position. The 2.sup.nd derivate magnitude is constant over position and time.
(91)
(92) The signal processing unit 32 comprises a multiplexer 34 to multiplex between the first sensor output 3 and the second sensor output 4. The signal processing unit 32 further comprises an amplifier 11 and a filter 12.
(93) The position sensor system 1 comprises a system output 33 providing the output of the signal processing unit 32.
(94) The position sensor system 1 of
(95) The control unit 10 in
(96) The control unit 10, especially the digital signal processing unit 15 must have knowledge which sensor output 3, 4 is currently processed by the signal processing unit 32. Therefore, the control unit 10, especially the digital signal processing unit 15 controls the multiplexer 34 of the signal processing unit 32 via a control line 35. This requires additional wiring between the position sensor system 1 and the external control unit 10. A further disadvantage of this variant is that in a rotating position sensor system 1, due to the sequential processing of both signals, both position sensor signals are not measured at the same position as the item to be measured will have moved by a certain amount between the measurements of the two position sensor signals, which is particularly disadvantageous for high speed systems, as this error increases with rotating speed.