Method and device for determining a difference value between two movements
A method for determining a difference value includes multiplying one measurement signal, representing a current mechanical movement acquired at a first periodicity, with a second periodicity of another measurement signal, which represents another current mechanical movement, based on an integer algorithm, and using a potentially occurring arithmetical integer overflow, to provide a resulting multiplication result, and multiplying the other measurement signal by the first periodicity based on an integer algorithm, and using a potentially occurring arithmetical integer overflow to provide a resulting other multiplication result, wherein the measurement ranges for the measurement signal and the other measurement signal are each scaled such that they each apply a full range of a provided integer data type. The method includes determining a difference value between the multiplication result and the other multiplication result using an integer algorithm, and using a potentially occurring arithmetical integer overflow.
1 . A method for determining a difference value between two movements, comprising:
providing an inductive sensor arrangement having (i) at least two coupling devices, and (ii) at least one measured value acquisition device including at least one circuit board having at least one exciter structure and at least two receiver structures, wherein the at least one exciter structure is coupled to at least one oscillator circuit which, during operation, couples a periodic change signal into the at least one exciter structure, wherein the at least two coupling devices are designed to influence inductive coupling between the at least one exciter structure and the at least two receiver structures;
outputting, with the inductive sensor arrangement, at least two different measurement signals including a first measurement signal which represents a first current mechanical movement acquired at a first periodicity, and a second measurement signal which represents a second current mechanical movement acquired at a second periodicity, wherein a first measurement range for the first measurement signal and a second measurement range for the second measurement signal are each scaled such that they each apply a full range of a provided integer data type having a predetermined number of bits;
multiplying, with a computing device, the first measurement signal by the second periodicity based on at least one integer algorithm in a manner allowing for arithmetical integer overflow to provide a resulting first multiplication result;
multiplying, with the computing device, the second measurement signal by the first periodicity based on the at least one integer algorithm in a manner allowing for arithmetical integer overflow to provide a resulting second multiplication result;
determining, with the computing device, a difference value between the first multiplication result and the second multiplication result using the at least one integer algorithm, and using a third potentially occurring arithmetical integer overflow; and
providing, with the computing device, the determined difference value to a control unit.
2 . The method according to claim 1 , wherein the difference value is scaled using a range of uniqueness.
3 . The method according to claim 2 , wherein the range of uniqueness is calculated based on the first periodicity and the second periodicity.
4 . The method according to claim 1 , wherein:
the first current mechanical movement corresponds to a first rotation about an axis of rotation;
the second current mechanical movement corresponds to a second rotation about the axis of rotation;
the first measurement signal represents a first electrical angle signal representing a first mechanical angle;
the second measurement signal represents a second electrical angle signal representing a second mechanical angle; and
the difference value represents an angular difference between the second mechanical angle and the first mechanical angle.
5 . The method according to claim 1 , wherein;
the first current mechanical movement corresponds to a first linear movement along a spatial axis;
the second current mechanical movement corresponds to a second linear movement along the spatial axis;
the first measurement signal represents a first electrical angle signal representing a first linear path along the spatial axis;
the second measurement signal represents a second electrical angle signal representing a second linear path along the spatial axis; and
the difference value represents a path difference between the second linear path and the first linear path.
6 . The method according to claim 1 , wherein:
the first current mechanical movement corresponds to a first linear movement along a spatial axis;
the second current mechanical movement corresponds to a first rotation about an axis of rotation;
the first measurement signal represents a first electrical angle signal representing a linear path;
the second measurement signal (MS 2 ) represents a second electrical angle signal representing a mechanical angle; and
the linear path is converted into a mechanical angle and the difference value represents an angular difference, or the mechanical angle is converted into a linear path and the difference value represents a path difference.
7 . The method according to claim 5 , wherein the difference value is additionally scaled using a conversion factor.
8 . The method according to claim 1 , wherein the two periodicities are selected such that a ratio between the first periodicity and the second periodicity is not an integer.
9 . The method according to claim 8 , wherein the two periodicities are selected such that the first periodicity and the second periodicity have a common divisor greater than 1.
10 . An inductive sensor arrangement, comprising:
at least two coupling devices; and
at least one measured value acquisition device including:
at least one circuit board having at least one exciter structure and at least two receiver structures, wherein the at least one exciter structure is coupled to at least one oscillator circuit which, during operation, couples a periodic change signal into the at least one exciter structure, wherein the at least two coupling devices are designed to influence inductive coupling between the at least one exciter structure and the at least two receiver structures,
a computing device, and
at least one evaluation and control unit designed to evaluate signals induced in the at least two receiver structures and to provide a first measurement signal which represents a first current mechanical movement acquired at a first periodicity, and a second measurement signal which represents a second current mechanical movement acquired at a second periodicity, to the computing device,
wherein the measured value acquisition device includes a predetermined range of integer data and is configured to:
multiply the first measurement signal by the second periodicity based on at least one integer algorithm, and in a manner allowing for arithmetical integer overflow to provide a resulting first multiplication result;
multiply the second measurement signal by the first periodicity based on the at least one integer algorithm, and in a manner allowing for arithmetical integer overflow to provide a resulting second multiplication result;
determine a difference value between the first multiplication result and the second multiplication result using the at least one integer algorithm, and using a third potentially occurring arithmetical integer overflow; and
provide the determined difference value to a control unit.
11 . A non-transitory computer-readable medium storing a computer program configured to be executed by a computing device to:
obtain, from an inductive sensor arrangement, at least two different measurement signals including a first measurement signal which represents a first current mechanical movement acquired at a first periodicity, and a second measurement signal which represents a second current mechanical movement acquired at a second periodicity, wherein a first measurement range for the first measurement signal and a second measurement range for the second measurement signal are each scaled such that they each apply a full range of a provided integer data type having a predetermined number of bits;
multiply the first measurement signal by the second periodicity based on at least one integer algorithm, and in a manner allowing for arithmetical integer overflow to provide a resulting first multiplication result;
multiply the second measurement signal by the first periodicity based on the at least one integer algorithm, and in a manner allowing for arithmetical integer overflow to provide a resulting second multiplication result;
determine a difference value between the first multiplication result and the second multiplication result using the at least one integer algorithm, and using a third potentially occurring arithmetical integer overflow; and
provide the determined difference value to a control unit,
wherein the inductive sensor arrangement has (i) at least two coupling devices, and (ii) at least one measured value acquisition device including at least one circuit board having at least one exciter structure and at least two receiver structures, wherein the at least one exciter structure is coupled to at least one oscillator circuit which, during operation, couples a periodic change signal into the at least one exciter structure, wherein the at least two coupling devices are designed to influence inductive coupling between the at least one exciter structure and the at least two receiver structures.