WO2009047508A2 - A rotary encoder - Google Patents

A rotary encoder Download PDF

Info

Publication number
WO2009047508A2
WO2009047508A2 PCT/GB2008/003421 GB2008003421W WO2009047508A2 WO 2009047508 A2 WO2009047508 A2 WO 2009047508A2 GB 2008003421 W GB2008003421 W GB 2008003421W WO 2009047508 A2 WO2009047508 A2 WO 2009047508A2
Authority
WO
WIPO (PCT)
Prior art keywords
signal
encoder
signals
magnet
rotary
Prior art date
Application number
PCT/GB2008/003421
Other languages
French (fr)
Other versions
WO2009047508A3 (en
Inventor
Jørgen Schmidt
Morten Christiansen
Hans Hilmar Dall
Original Assignee
Dall Production Aps
Prock, Thomas
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dall Production Aps, Prock, Thomas filed Critical Dall Production Aps
Priority to CA2702199A priority Critical patent/CA2702199C/en
Priority to EP08806558.6A priority patent/EP2198247B1/en
Priority to US12/682,347 priority patent/US8319492B2/en
Priority to DK08806558T priority patent/DK2198247T3/en
Priority to CN200880110856.7A priority patent/CN101932913B/en
Publication of WO2009047508A2 publication Critical patent/WO2009047508A2/en
Publication of WO2009047508A3 publication Critical patent/WO2009047508A3/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/24428Error prevention
    • G01D5/24447Error prevention by energy backup
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/24409Interpolation using memories

Definitions

  • the present invention relates to a rotary encoder. More specifically the present invention relates to a power saving mechanism for a rotary encoder. The present invention also relates to a way of correcting measurement inaccuracies in rotary encoders.
  • Rotary encoders are in wide spread use and often form one of a large number of components required for the reliable operation and monitoring of mechanical systems.
  • the failure of only one of the components of a large system may lead to the failure of the entire system. This is not only undesirable in terms of system down time but can also lead to damage to components of the system other than the encoder, of surrounding equipment or even to personal damage. It is thus a requirement that the components of large systems operate to the required accuracy over long periods of time with a minimum of cost in terms of maintenance. It may also be a requirement that such components operate if interruptions, such as a power failure, occur.
  • Rotary encoders are components that often need to be located close to a rotary axis that is to be monitored and it is thus desirable for such rotary encoders to comprise a back up power supply, such as a battery based back up power supply.
  • a rotary encoder that can switch its microprocessor to a power saving state when the rotary axis to be monitored is not rotated is known from EP 1 617 180.
  • the rotary encoder disclosed in this document comprises AMR or GMR sensors that register a change in the magnetic flux through the sensor created by the rotation of a magnet attached to a rotary axis and located in proximity of the sensors.
  • This rotary encoder also comprises a wake up mechanism utilising two Reed switches located within the magnetic field created by the magnet in a manner that causes the Reed switch to switch when the magnet it rotated. A signal flank created by this switching action is used to re-activate the microprocessor.
  • the use of mechanical components, such as Reed switches can, however, degrade the mean time to failure of the encoder and is thus undesirable.
  • a rotary encoder for use in encoding the rotary position of a rotary member that is permitted to undergo a maximum acceleration.
  • the rotary encoder comprises one or more sensors and encoder electronics.
  • the one or more sensors are arranged to generate signals that unambiguously encode a rotary position of the member within a predetermined range of rotary positions of the member and to further unambiguously encode a direction of rotation of the member.
  • the encoder electronics comprises means for converting the signals into a further signal indicative of the rotary position of the member. At least a part of the electronics is arranged to be switched to a power saving state in which the means does operate on the signals for a predetermined period of time. The duration of the predetermined period is selected so that the change in the rotational position of the member that can occur in the period is less than half of the predetermined range of rotary positions.
  • a rotary encoder comprising a magnet, AMR or GMR sensors arranged to generate two signals that unambiguously encode the rotary position of the magnet relative to the sensors within a predetermined range of rotary positions and a direction of rotation of the magnet and an evaluation means arranged to derive single-turn and multi-turn information solely from the signals.
  • the encoder is arranged to switch itself to a power saving state for a predetermined period of time, to at least partially reactivate itself after the predetermined period of time has passed and to compare a current value derived from the signals with a stored previous value derived from the signals.
  • the encoder is arranged to reactivate itself after a predetermined period of time it is not necessary to monitor the field of the magnet while the encoder is in a power saving state. Instead, a rotation of the magnet while the encoder is in the power saving state is noticed when the encoder is reactivated.
  • the present invention thus permits switching a large fraction of the encoder to a power saving state, including all of the encoder's sensors. This is beneficial in terms of reducing power consumption.
  • the encoder is configured for use with a rotary member that is permitted to undergo a maximum acceleration.
  • the duration of the predetermined period is selected so that the change in the rotational position of the member that can occur in the period is less than half, more preferably less than a quarter of the predetermined range of rotary positions.
  • At least some AMR or GMR sensors provide a sinusoidal output signal with two periods for each rotation of a magnet located adjacent to it.
  • the predetermined range of rotary positions of the magnet is half a revolution of the magnet if such sensors are used.
  • the part of the encoder required for making the comparison is re-activated from the power saving state.
  • This may include the sensors, means for digitising the signal received from the sensors and a part of the microprocessor required for making the comparison.
  • two digitisation means are provided, one with a resolution that is lower than the resolution of the other one.
  • the lower resolution digitisation means may be used to provide the current and previous values for comparison. This may mean that rotations of the magnet that are smaller than the resolution of the lower resolution digitisation means can go undetected.
  • lower resolution digitisation means such as a comparator arranged to compare a signal with a threshold value can have a lower power consumption than higher resolution digitisation means, such as analogue digital converters, which are the preferred higher resolution digitisation means.
  • the above mentioned comparator is the preferred lower resolution digitalisation means.
  • the amount of power required for comparing a current signal value to a previous, stored signal value is minimised. This prolongs the life time of a back up power supply provided in the encoder.
  • the exact amount of rotation performed by the magnet can be determined after reactivation of the encoder using the higher resolution digitisation means.
  • a rotary encoder comprising a sensor and means for evaluating signals created by the sensor.
  • a lower resolution digitisation means and a higher resolution digitisation means are provided. If the encoder is switched to a power saving mode, for example if the signals have not changed for a period of time, the lower resolution digitisation means is re-activated or used after a predetermined period of time and a current output of the lower resolution means is compared with a stored previous output of the lower resolution means. If the comparison indicates that the current and previous outputs differ, the higher resolution means is reactivated from a power saving state to evaluate the signal in more detail.
  • the power saving mode can be such that the lower resolution digitisation means as well as the sensors are switched off. Alternatively the lower resolution digitisation means as well as the sensors may remain active in a power saving mode, while other parts of the encoder are de-activated.
  • the lower resolution means may also find use during an operation of the encoder in which the higher resolution means is used for evaluating the signal or signals in detail. During such use the output signal of the lower resolution digitisation means can be converted into a pulsed signal. This pulsed signal may form the basis for counting the number of revolutions performed by the magnet and may be transmitted to a remote location.
  • Figure 1 shows a block diagram of the electronic circuit of a rotary encoder according to a preferred embodiment
  • Figure 2 shows signals generated by the sensors of the preferred embodiment shown in Figure 1 ;
  • Figure 3 shows output signals of a comparator stage operating on the signals shown in Figure 2.
  • FIG. 1 shows a block diagram of the electronic circuit of a preferred embodiment of the rotary encoder 10.
  • the encoder 10 detects the rotational position of an axis (not shown).
  • the encoder 10 employs an AMR or GMR sensor integrated circuit (IC) 20, such as a KMZ 43T sensor IC available from Phillips Semiconductors.
  • IC 20 comprises two Wheatstone measurement bridges 30 and 40 that are physically offset against each other by 45 degrees.
  • the measurement bridges 30 and 40 are supplied with power and provide a sinusoidal output signal that oscillates about a voltage that corresponds to half the voltage supplied to the measurement bridges 30 and 40.
  • the output signals provided by the measurement bridges 30 and 40 are functions of the direction of the magnetic field surrounding the AMR/GMR elements that form the measurement bridges 30 and 40.
  • a magnet 50 is arranged proximate to the sensor IC.
  • the magnet 50 is attached to the axis for which the rotational position is to be determined so that the magnet 50 rotates with the axis and so that the magnet's magnetic field at the measurement bridges 30 and 40 cyclically changes with the rotation of the axis.
  • Figure 2 shows exemplary signals at the output of the measurement bridges 30 and 40 as a function of the rotational position of the axis/magnet 50 relative to the sensor IC 20.
  • the abscissa of Figure 2 shows the angular position of the magnet 50 at which the illustrated output signal is generated.
  • the ordinate of Figure 2 shows the amplitude of the generated signal.
  • Curve 60 illustrates the signal generated by the measurement bridge 30
  • curve 70 illustrates the signal generated by the measurement bridge 40.
  • each measurement bridge provides a sinusoidal signal that is repeated twice for every rotation of the magnet 50.
  • the 45 degree offset between the measurement bridges 30 and 40 manifests itself as a 90 degree phase offset between the signals 60 and 70.
  • the output signals generated by the sensor IC 20 are input to an amplifier circuit 80. From the amplifier circuit 80 the signals 60 and 70 are input to a microprocessor 90 and a comparator circuit 100.
  • the comparator circuit 100 compares each of the signals 60 and 70 with predetermined voltages.
  • the comparator generates a constant positive output voltage when the corresponding input signal is greater than the signal value it is compared to and a zero volt output if the input signal is smaller than the signal value it is compared to.
  • the output signals of the comparators 100 are also supplied to the microprocessor 90.
  • FIG. 3 depicts comparator signals 110 and 120 generated by the comparators 100 from the signals 60 and 70 respectively.
  • Signal 110 changes between its high and low values every time signal 60 crosses the abscissa in Figure 2.
  • Signal 120 changes between its high and low value every time signal 70 crosses the abscissa in Figure 2.
  • the abscissa in Figure 2 is provided at zero volt.
  • the high and low states of signals 110 and 120 are interpreted as logical high and low states by the microprocessor. As can be seen from Figure 3, if the magnet 50 is rotated by less than 45 degrees, at most one of the signals 110 and 120 changes its state.
  • signal 110 changes from high to low
  • signal 120 remain unchanged unit the angular position of the magnet 50/axis has changed by approximately further 45 degrees.
  • the fact that only one of the comparator signals changes its state for a small rotation of the magnet can be used for determining the direction of the magnet's rotation.
  • the possible transitions signals 110 and 120 can undertake for a rotation of up to 45 degrees are listed in the following table.
  • a connection 130 through which an external power supply can be connected to a power regulator 140 is provided.
  • a battery based backup power supply 150 is also provided.
  • a test circuit 160 monitors the state of the battery and provides a failure indication to the microprocessor 90 if it is determined that the battery does not comprise sufficient charge to reliably supply backup power to the encoder 10.
  • a power selector 170 switches from the external power supply 130/140 to the backup power supply 150 if power through the external power supply becomes unavailable and from the backup power supply 150 to the external power supply when power becomes available again through the external power supply 130/140 after an interruption.
  • the microprocessor 90 comprises analogue digital converters arranged to convert the analogue signals provided by the amplifiers 80 into digital signals for processing in the microprocessor 90.
  • the signals provided by the comparators 100 do not need to be digitised as the microprocessor 90 recognises the two possible states that can be created by the comparators 90 as logical high and low values.
  • the microprocessor 90 generates an output signal that is indicative of the rotational position of the magnet 50 based on the output signals of the amplifiers 80 and the comparators 90. The manner in which this signal is generated will be described in more detail below.
  • the output signal generated by the microprocessor 90 is provided to an output circuit 180.
  • This output circuit converts the output signal generated by the microprocessor 90 into an output signal that can be transmitted to a remote location, for example to remote monitoring devices.
  • the signal provided by the microprocessor is converted into a standard RS485 communications signal by the output circuit 180. It should be noted that the output circuit 180 is not connected to the power selector 170 but only to the power regulator 140 that is responsible for providing power available through the external power supply.
  • the microprocessor 90 is not only arranged to use the output circuit 180 as a means for communicating a signal indicative of the rotational position of the magnet 50/axis to a remote location. Instead the microprocessor 90 is further arranged to use the output circuit 180 to more generally communicate with a remote entity. Such communication may be useful in the context of servicing and maintenance of the encoder 10 where it may be necessary for the encoder to answer status enquiries directed to the encoder 10 from a remote entity through the circuit 180. Additionally the output circuit 180 may be used by the microprocessor 90 for sending error messages to a remote entity, for example a message that indicates a substantial depletion of the energy available from the backup power supply 150. .
  • a further output circuit is provided in the form of a pulsed output circuit 190.
  • This pulsed output circuit 190 operates solely on the signal power received from the comparators 100 and provides a rectangular output signal with four pulses per revolution of the magnet 50/axis. While the output signal provided by the output circuit 190 is not suitable for an exact determination of the angular position of the magnet 50/axis, it is nevertheless indicative of the rotational speed of the axis.
  • the encoder 10 can thus provide an indication of the rotational speed of the magnet 50/axis to a remote unit even if the external power supply has failed or is otherwise unavailable.
  • the angular position ⁇ of the magnet 50 relative to the sensor IC 20 can be determined using the equation:
  • the preferred encoder uses four look up tables (LUTs) for determining the angles from the signals provided by the amplifiers 80.
  • the LUTs comprise an array of possible output values calculated for possible combinations of input values. Digitised versions of signals 60 and 70 are used to address the output values in the LUTs that have been calculated using equivalents of the signals 60 and 70.
  • Each of these four tables provides output values for an eighth/45 degrees of the rotation of the magnet 50/axis.
  • the correct LUT is selected using the signals 110 and 120 and the known previous rotational position of the magnet 50/axis. As each combination of states of the signals 110 and 120 occurs twice for each rotation of the magnet 50/axis, each combination of states of the signals 110 and 120 can indicate two different ranges of rotational positions, each range spanning 45 degrees. Knowledge of the previous rotational position of the magnet 50/axis and observing a change in the signals 110 and 120 allows to conclude if the correct angular range is positioned to the left or to the right of the ordinate in Figure 2. This allows selecting the correct LUT for determining the output value.
  • the rotational position of the magnet 50/axis is known. From this known position all subsequent positions can be calculated. It will be appreciated that the signals 110 and 120 are used by the preferred embodiment as a quick and readily available means for selecting the correct LUT.
  • the microprocessor 90 comprises a memory section that is suitable for buffering the current values of signal 110 and 120 for use in determining to which angular range the axis has been turned.
  • digitised versions of the signals 60 and 70 are used to find the entry in the LUT associated with the signal values.
  • the microprocessor 90 comprise analogue to digital converters for converting signals 60 and 70 to their digital equivalents.
  • a LUT entry corresponding to a particular combination of values of input signals 60 and 70 is found by repeatedly comparing the input values with values at the centre of the ranges of possible input values (or, after a first comparison has been completed, of remaining possible input values) and by deciding whether the input value is larger or smaller than the value is has been compared to.
  • the range of LUT values an input value can possibly be associated with is halved for each comparison step.
  • the output LUT value identifies the rotational position of the magnet 50 relative to the IC 20 and may, in one arrangement, take the form 32 bit output value encoding the rotational position of the magnet 50.
  • the preferred embodiment decides whether or not a signal 60/70 is in the upper or lower half of all possible input signals. This limits the range of LUT entries that can possibly be associated with the input value to half of the original values. The preferred embodiment then determines whether the input value is in the upper or lower half of the remaining input signals. This again limits the range of LUT entries that can possibly be associated with the input value by a further half to one quarter of all of the original LUT entries. Further determinations are made until an input value is unambiguously associated with a LUT entry. It will be appreciated that the number of determinations that are required depends on the number of LUT entries and that these determinations will have to be made for both signals 60 and 70. This method allows making a rapid decision as to which of the LUT entries is the correct one to output.
  • the above manner of tracking the angular position of the magnet 50/axis assumes that each change in either of the signals 110 and 120 is detected by the microprocessor 90.
  • the encoder 10 is suitable for use with axes rotating at a frequency that is less than a maximum rotation frequency.
  • the microprocessor 90 is arranged to sample the signals 110 and 120 at least once in every period of time in which the magnet 50/axis can rotate by 45 degrees if it rotates at a maximum permissible frequency.
  • the flanks of the signals 110 and 120 it is very important for the flanks of the signals 110 and 120 to not suffer from any delays, so that they occur at the correct angular position.
  • the microprocessor 90 comprises a software routine that analyses the signals 60 and 70 and determines whether or not the comparator signals 110 and 120 should be 'high' or 'low' based on the criteria also applied to the comparators 100.
  • This software routine thus acts as a software comparator and does not suffer from the delays the hardware comparators 100 may be suffering. If the software comparator routine determines that one of the signals 110 and 120 provided by the hardware comparators 100 is delayed, then the choice of the correct LUT is based on the determination made by the software routine.
  • flanks of the signals 110 and 120 are also used to increment and decrement a counter provided in the microprocessor 90 to keep track of the number of revolutions the magnet 50/axis has undergone since the encoder 10 has been activated. If it is determined that the signals 110 and 120 are incorrect, for example due to hysteresis behaviour of the comparators 100, then the counter can be incremented or decremented based on the determination made by the software comparator.
  • the output of a software comparator resident in the processor 90 is used to select the correct LUT for determining an output value representative of the rotational position of the magnet 50.
  • the software comparator does not exhibit hysteresis behaviour and there is thus no danger of selection of an incorrect LUT. Counting of the revolutions undergone by the magnet may still be performed based on the hardware comparators 100. If it is desired that the output of the hardware comparators 100 is compared with that of the software comparators resident in the processor 90, then the relevant check only needs to be performed once per revolution, rather than every 45 degrees.
  • the encoder 10 comprises a battery based backup power supply 150. It is desirable that the lifetime of the battery is as long as possible, preferably in excess of ten years. It can also be imagined that the axis/magnet 50 may remain static for prolonged periods of time.
  • a rotary encoder 10 used as an encoder for tracking the position of a moveable gate may, for example, only be required to track changing angular positions a few times per day, as is the case for encoders used in monitoring the opening and closing of gates and doors. This is a preferred use for the encoder of the present invention.
  • the microprocessor can monitor changes in the rotational position of the magnet 50/axis by comparing the current value of signals 60/70 or 110/120 with previous values. If signals 60/70 are used for this comparison, or indeed if the outputs of the software comparator are to form the basis for this comparison, then the analogue digital converter provided in the microprocessor 90 needs to remain active. For this reason the hardware comparators 100 are provided. As discussed above, they provide signals 110 and 120 to the microprocessor 90 that the microprocessor 90 recognises as digital signals. The comparators 100 thus provide a digitisation function, albeit at a low resolution of 45 degrees. The states of the signals 110 and 120 can be compared to previous states by the microprocessor 90.
  • the preferred embodiment achieves further power saving by further disabling the microprocessor 90 so that the only functions performed in a low power mode is the buffering of previous values of the signals 60, 70, 110 and 120 and to provide a routine that will reactivate part of the microprocessor 90 after a predetermined period of time so that the above discussed comparison between the previous values of signals 110 and 120 and potential altered values of these signals can be performed. After the predetermined period of time the preferred embodiment thus supplies power to the sensor IC 20, the amplifiers 80 and the comparators 90 and reactivates itself as far as necessary to perform the desired comparison.
  • the encoder can again be de-activated to only provide the buffering function and the routine that will reactivate the encoder 10 after the predetermined period of time has passed again.
  • the rotary encoder of the preferred embodiment is only suitable for operations in association with axes that are accelerated by less than a maximum acceleration.
  • the microprocessor is re-activated to be able to perform the required comparison between previous and current values of the signal 110 and 120 at least once in the period of time it would take the magnet 50/axis to undergo a 45 degree rotation if the magnet 50/axis starts to rotate from a stationary state at the maximum allowed acceleration.
  • a rotary encoder 10 suitable for use with an axis of this type will thus have to reactivate the microprocessor 90 at least every 88.6 ms, assuming that the encoder 10 is only switched to a power saving state if the magnet 50/axis is static.
  • microprocessor 90 is activated more frequently to provide a margin for error.
  • a preferred rotary encoder for use with an axis that can accelerate at up to 100 rad/s 2 activates the microprocessor approximately every 15ms. In this period of time the rotational position of the magnet 50/axis can change by a maximum of 1.3 degrees.
  • the duration for which the microprocessor 90 needs to be activated to make the above discussed comparison need not be long and in the preferred encoder takes no longer than approximately 60 ⁇ s. This short period of time is sufficient for determining whether or not the rotational position of the axis/magnet 50 has changed.
  • the preferred encoder only switches to the power save mode if the external power supply is interrupted.

Abstract

A rotary encoder comprising a magnet, AMR or GMR sensors and an evaluation means. The AMR or GMR sensors are arranged to generate two signals that unambiguously encode the rotary position of the magnet within a predetermined range of rotary positions and a direction of rotation of the magnet. The evaluation means is arranged to derive single-turn and multi-turn information solely from the signals. The encoder is arranged to be switched to a power saving state for a predetermined period of time, to be at least partially reactivated thereafter and to compare a current value derived from the signals with a stored previous value derived from the signals.

Description

A Rotary Encoder
Field of the invention
The present invention relates to a rotary encoder. More specifically the present invention relates to a power saving mechanism for a rotary encoder. The present invention also relates to a way of correcting measurement inaccuracies in rotary encoders.
Discussion of the prior art
Rotary encoders are in wide spread use and often form one of a large number of components required for the reliable operation and monitoring of mechanical systems. The failure of only one of the components of a large system may lead to the failure of the entire system. This is not only undesirable in terms of system down time but can also lead to damage to components of the system other than the encoder, of surrounding equipment or even to personal damage. It is thus a requirement that the components of large systems operate to the required accuracy over long periods of time with a minimum of cost in terms of maintenance. It may also be a requirement that such components operate if interruptions, such as a power failure, occur.
For this reason it may be desirable for components located remote from a central control unit to comprise a backup power supply that does not rely on transmission of energy from outside of the component. Rotary encoders are components that often need to be located close to a rotary axis that is to be monitored and it is thus desirable for such rotary encoders to comprise a back up power supply, such as a battery based back up power supply.
To extend the useful life of a battery based back up power supply without having to go to the expense of using re-chargeable batteries and the associated required battery charging module, it is desirable to operate rotary encoders in a power saving manner. A rotary encoder that can switch its microprocessor to a power saving state when the rotary axis to be monitored is not rotated is known from EP 1 617 180. The rotary encoder disclosed in this document comprises AMR or GMR sensors that register a change in the magnetic flux through the sensor created by the rotation of a magnet attached to a rotary axis and located in proximity of the sensors. This rotary encoder also comprises a wake up mechanism utilising two Reed switches located within the magnetic field created by the magnet in a manner that causes the Reed switch to switch when the magnet it rotated. A signal flank created by this switching action is used to re-activate the microprocessor. The use of mechanical components, such as Reed switches can, however, degrade the mean time to failure of the encoder and is thus undesirable.
Summary of the invention
According to an embodiment of the present invention, there is provided a rotary encoder for use in encoding the rotary position of a rotary member that is permitted to undergo a maximum acceleration. The rotary encoder comprises one or more sensors and encoder electronics. The one or more sensors are arranged to generate signals that unambiguously encode a rotary position of the member within a predetermined range of rotary positions of the member and to further unambiguously encode a direction of rotation of the member. The encoder electronics comprises means for converting the signals into a further signal indicative of the rotary position of the member. At least a part of the electronics is arranged to be switched to a power saving state in which the means does operate on the signals for a predetermined period of time. The duration of the predetermined period is selected so that the change in the rotational position of the member that can occur in the period is less than half of the predetermined range of rotary positions.
According to another embodiment of the present invention, there is provided a rotary encoder comprising a magnet, AMR or GMR sensors arranged to generate two signals that unambiguously encode the rotary position of the magnet relative to the sensors within a predetermined range of rotary positions and a direction of rotation of the magnet and an evaluation means arranged to derive single-turn and multi-turn information solely from the signals. The encoder is arranged to switch itself to a power saving state for a predetermined period of time, to at least partially reactivate itself after the predetermined period of time has passed and to compare a current value derived from the signals with a stored previous value derived from the signals.
As the encoder is arranged to reactivate itself after a predetermined period of time it is not necessary to monitor the field of the magnet while the encoder is in a power saving state. Instead, a rotation of the magnet while the encoder is in the power saving state is noticed when the encoder is reactivated. The present invention thus permits switching a large fraction of the encoder to a power saving state, including all of the encoder's sensors. This is beneficial in terms of reducing power consumption.
It is preferred that the encoder is configured for use with a rotary member that is permitted to undergo a maximum acceleration. The duration of the predetermined period is selected so that the change in the rotational position of the member that can occur in the period is less than half, more preferably less than a quarter of the predetermined range of rotary positions. At least some AMR or GMR sensors provide a sinusoidal output signal with two periods for each rotation of a magnet located adjacent to it. The predetermined range of rotary positions of the magnet is half a revolution of the magnet if such sensors are used.
It is further preferred that only the part of the encoder required for making the comparison is re-activated from the power saving state. This may include the sensors, means for digitising the signal received from the sensors and a part of the microprocessor required for making the comparison.
In a preferred embodiment two digitisation means are provided, one with a resolution that is lower than the resolution of the other one. The lower resolution digitisation means may be used to provide the current and previous values for comparison. This may mean that rotations of the magnet that are smaller than the resolution of the lower resolution digitisation means can go undetected. However, lower resolution digitisation means, such as a comparator arranged to compare a signal with a threshold value can have a lower power consumption than higher resolution digitisation means, such as analogue digital converters, which are the preferred higher resolution digitisation means. The above mentioned comparator is the preferred lower resolution digitalisation means. By relying on the lower resolution digitisation means for detecting a rotation that requires the encoder to be re-activated the amount of power required for comparing a current signal value to a previous, stored signal value is minimised. This prolongs the life time of a back up power supply provided in the encoder. The exact amount of rotation performed by the magnet can be determined after reactivation of the encoder using the higher resolution digitisation means.
This has been recognised as being advantageous in its own right and in another embodiment there is provided a rotary encoder comprising a sensor and means for evaluating signals created by the sensor. A lower resolution digitisation means and a higher resolution digitisation means are provided. If the encoder is switched to a power saving mode, for example if the signals have not changed for a period of time, the lower resolution digitisation means is re-activated or used after a predetermined period of time and a current output of the lower resolution means is compared with a stored previous output of the lower resolution means. If the comparison indicates that the current and previous outputs differ, the higher resolution means is reactivated from a power saving state to evaluate the signal in more detail. The power saving mode can be such that the lower resolution digitisation means as well as the sensors are switched off. Alternatively the lower resolution digitisation means as well as the sensors may remain active in a power saving mode, while other parts of the encoder are de-activated.
The lower resolution means may also find use during an operation of the encoder in which the higher resolution means is used for evaluating the signal or signals in detail. During such use the output signal of the lower resolution digitisation means can be converted into a pulsed signal. This pulsed signal may form the basis for counting the number of revolutions performed by the magnet and may be transmitted to a remote location. Brief description of the drawings
The present invention will now be described by way of example only and with reference to the accompanying drawings, in which:
Figure 1 shows a block diagram of the electronic circuit of a rotary encoder according to a preferred embodiment;
Figure 2 shows signals generated by the sensors of the preferred embodiment shown in Figure 1 ; and
Figure 3 shows output signals of a comparator stage operating on the signals shown in Figure 2.
Detailed Description of Preferred Examples
The structure of a preferred encoder
Figure 1 shows a block diagram of the electronic circuit of a preferred embodiment of the rotary encoder 10. The encoder 10 detects the rotational position of an axis (not shown). For this purpose the encoder 10 employs an AMR or GMR sensor integrated circuit (IC) 20, such as a KMZ 43T sensor IC available from Phillips Semiconductors. This sensor IC 20 comprises two Wheatstone measurement bridges 30 and 40 that are physically offset against each other by 45 degrees. The measurement bridges 30 and 40 are supplied with power and provide a sinusoidal output signal that oscillates about a voltage that corresponds to half the voltage supplied to the measurement bridges 30 and 40. The output signals provided by the measurement bridges 30 and 40 are functions of the direction of the magnetic field surrounding the AMR/GMR elements that form the measurement bridges 30 and 40.
A magnet 50 is arranged proximate to the sensor IC. The magnet 50 is attached to the axis for which the rotational position is to be determined so that the magnet 50 rotates with the axis and so that the magnet's magnetic field at the measurement bridges 30 and 40 cyclically changes with the rotation of the axis.
Figure 2 shows exemplary signals at the output of the measurement bridges 30 and 40 as a function of the rotational position of the axis/magnet 50 relative to the sensor IC 20. The abscissa of Figure 2 shows the angular position of the magnet 50 at which the illustrated output signal is generated. The ordinate of Figure 2 shows the amplitude of the generated signal. Curve 60 illustrates the signal generated by the measurement bridge 30 and curve 70 illustrates the signal generated by the measurement bridge 40. As can be seen from Figure 2, each measurement bridge provides a sinusoidal signal that is repeated twice for every rotation of the magnet 50. The 45 degree offset between the measurement bridges 30 and 40 manifests itself as a 90 degree phase offset between the signals 60 and 70.
Returning to Figure 1 , the output signals generated by the sensor IC 20 are input to an amplifier circuit 80. From the amplifier circuit 80 the signals 60 and 70 are input to a microprocessor 90 and a comparator circuit 100.
The comparator circuit 100 compares each of the signals 60 and 70 with predetermined voltages. The comparator generates a constant positive output voltage when the corresponding input signal is greater than the signal value it is compared to and a zero volt output if the input signal is smaller than the signal value it is compared to. The output signals of the comparators 100 are also supplied to the microprocessor 90.
An example of the output signals generated by the comparators 100 is provided in Figure 3. Figures 3 depicts comparator signals 110 and 120 generated by the comparators 100 from the signals 60 and 70 respectively. Signal 110 changes between its high and low values every time signal 60 crosses the abscissa in Figure 2. Signal 120 changes between its high and low value every time signal 70 crosses the abscissa in Figure 2. The abscissa in Figure 2 is provided at zero volt. The high and low states of signals 110 and 120 are interpreted as logical high and low states by the microprocessor. As can be seen from Figure 3, if the magnet 50 is rotated by less than 45 degrees, at most one of the signals 110 and 120 changes its state. For example, if signal 110 changes from high to low, signal 120 remain unchanged unit the angular position of the magnet 50/axis has changed by approximately further 45 degrees. The fact that only one of the comparator signals changes its state for a small rotation of the magnet can be used for determining the direction of the magnet's rotation. The possible transitions signals 110 and 120 can undertake for a rotation of up to 45 degrees are listed in the following table.
Figure imgf000008_0001
From this table it can be seen that from a given starting state, if only one of the two signals 110 and 120 changes its state, the signals 110 and 120 can assume only two possible combinations of signal states. For example, if the signal 110 is at 'low'/O, and signal 120 is at 'high'/i, then only states 1/1 and 0/0 can be reached by changing one of the two states. It will be clear from the comparison of Figures 2 and 3 that a change from 0/1 to 0/0 indicates an increase in the angular position of the magnet 50/axis and a change from 0/1 to 1/1 a decrease in the angular position of the magnet 50/axis. In the preferred embodiment these increases and decreases correspond to clockwise and counter-clockwise rotations respectively. The sequence in which the comparator signals change can thus be used as an indicator for the direction of rotation of the magnet 50/axis.
Turning now to the way power is supplied to the elements of the encoder 10, a connection 130 through which an external power supply can be connected to a power regulator 140 is provided. A battery based backup power supply 150 is also provided. A test circuit 160 monitors the state of the battery and provides a failure indication to the microprocessor 90 if it is determined that the battery does not comprise sufficient charge to reliably supply backup power to the encoder 10. A power selector 170 switches from the external power supply 130/140 to the backup power supply 150 if power through the external power supply becomes unavailable and from the backup power supply 150 to the external power supply when power becomes available again through the external power supply 130/140 after an interruption.
The microprocessor 90 comprises analogue digital converters arranged to convert the analogue signals provided by the amplifiers 80 into digital signals for processing in the microprocessor 90. The signals provided by the comparators 100 do not need to be digitised as the microprocessor 90 recognises the two possible states that can be created by the comparators 90 as logical high and low values.
The microprocessor 90 generates an output signal that is indicative of the rotational position of the magnet 50 based on the output signals of the amplifiers 80 and the comparators 90. The manner in which this signal is generated will be described in more detail below. The output signal generated by the microprocessor 90 is provided to an output circuit 180. This output circuit converts the output signal generated by the microprocessor 90 into an output signal that can be transmitted to a remote location, for example to remote monitoring devices. In the preferred embodiment the signal provided by the microprocessor is converted into a standard RS485 communications signal by the output circuit 180. It should be noted that the output circuit 180 is not connected to the power selector 170 but only to the power regulator 140 that is responsible for providing power available through the external power supply.
In the preferred embodiment the microprocessor 90 is not only arranged to use the output circuit 180 as a means for communicating a signal indicative of the rotational position of the magnet 50/axis to a remote location. Instead the microprocessor 90 is further arranged to use the output circuit 180 to more generally communicate with a remote entity. Such communication may be useful in the context of servicing and maintenance of the encoder 10 where it may be necessary for the encoder to answer status enquiries directed to the encoder 10 from a remote entity through the circuit 180. Additionally the output circuit 180 may be used by the microprocessor 90 for sending error messages to a remote entity, for example a message that indicates a substantial depletion of the energy available from the backup power supply 150. .
A further output circuit is provided in the form of a pulsed output circuit 190. This pulsed output circuit 190 operates solely on the signal power received from the comparators 100 and provides a rectangular output signal with four pulses per revolution of the magnet 50/axis. While the output signal provided by the output circuit 190 is not suitable for an exact determination of the angular position of the magnet 50/axis, it is nevertheless indicative of the rotational speed of the axis. The encoder 10 can thus provide an indication of the rotational speed of the magnet 50/axis to a remote unit even if the external power supply has failed or is otherwise unavailable.
The operation of the preferred encoder
A discussion of the manner in which the microprocessor determines the angle of the magnet relative to the sensors IC 20 is provided in the following.
The angular position φ of the magnet 50 relative to the sensor IC 20 can be determined using the equation:
φ = 1/2 atan (A/B),
wherein A corresponds to signal 60 after offset correction and B corresponds to signal 70 after offset correction. Determining the angular position using the above equation is computationally intensive and requires a considerable amount of processing time in a simple microprocessor. Fast calculation of the angular position is, however, desirable for achieving a good response time with the encoder. To avoid the expense associated with the use of higher performance microprocessors, the preferred encoder uses four look up tables (LUTs) for determining the angles from the signals provided by the amplifiers 80. The LUTs comprise an array of possible output values calculated for possible combinations of input values. Digitised versions of signals 60 and 70 are used to address the output values in the LUTs that have been calculated using equivalents of the signals 60 and 70. Each of these four tables provides output values for an eighth/45 degrees of the rotation of the magnet 50/axis.
The correct LUT is selected using the signals 110 and 120 and the known previous rotational position of the magnet 50/axis. As each combination of states of the signals 110 and 120 occurs twice for each rotation of the magnet 50/axis, each combination of states of the signals 110 and 120 can indicate two different ranges of rotational positions, each range spanning 45 degrees. Knowledge of the previous rotational position of the magnet 50/axis and observing a change in the signals 110 and 120 allows to conclude if the correct angular range is positioned to the left or to the right of the ordinate in Figure 2. This allows selecting the correct LUT for determining the output value.
When the encoder 10 of the preferred embodiment is initialised, the rotational position of the magnet 50/axis is known. From this known position all subsequent positions can be calculated. It will be appreciated that the signals 110 and 120 are used by the preferred embodiment as a quick and readily available means for selecting the correct LUT. The microprocessor 90 comprises a memory section that is suitable for buffering the current values of signal 110 and 120 for use in determining to which angular range the axis has been turned.
Once the correct LUT has been chosen, digitised versions of the signals 60 and 70 are used to find the entry in the LUT associated with the signal values. The microprocessor 90 comprise analogue to digital converters for converting signals 60 and 70 to their digital equivalents. In the preferred embodiment a LUT entry corresponding to a particular combination of values of input signals 60 and 70 is found by repeatedly comparing the input values with values at the centre of the ranges of possible input values (or, after a first comparison has been completed, of remaining possible input values) and by deciding whether the input value is larger or smaller than the value is has been compared to. Using this method the range of LUT values an input value can possibly be associated with is halved for each comparison step. Using several comparison steps the LUT value associated with a given input value or with given input values can thus be determined and output. The output LUT value identifies the rotational position of the magnet 50 relative to the IC 20 and may, in one arrangement, take the form 32 bit output value encoding the rotational position of the magnet 50.
In a first comparison step, for example, the preferred embodiment decides whether or not a signal 60/70 is in the upper or lower half of all possible input signals. This limits the range of LUT entries that can possibly be associated with the input value to half of the original values. The preferred embodiment then determines whether the input value is in the upper or lower half of the remaining input signals. This again limits the range of LUT entries that can possibly be associated with the input value by a further half to one quarter of all of the original LUT entries. Further determinations are made until an input value is unambiguously associated with a LUT entry. It will be appreciated that the number of determinations that are required depends on the number of LUT entries and that these determinations will have to be made for both signals 60 and 70. This method allows making a rapid decision as to which of the LUT entries is the correct one to output.
The above manner of tracking the angular position of the magnet 50/axis assumes that each change in either of the signals 110 and 120 is detected by the microprocessor 90. As is the case with any encoder, the encoder 10 is suitable for use with axes rotating at a frequency that is less than a maximum rotation frequency. To ensure that this requirement is fulfilled, the microprocessor 90 is arranged to sample the signals 110 and 120 at least once in every period of time in which the magnet 50/axis can rotate by 45 degrees if it rotates at a maximum permissible frequency. For the correct LUT to be selected it is very important for the flanks of the signals 110 and 120 to not suffer from any delays, so that they occur at the correct angular position. If this is not the case, then cases are likely in which an incorrect LUT is chosen for determining the angular position of the magnet 50/axis. This would inevitably lead to an incorrect determination of the angle of the magnet 50/axis. Commercially available comparators can display hysteresis behaviour that can cause the flanks in the output signal to occur at an angular position that deviates from the intended or ideal position. If this happens it is possible that an incorrect LUT is chosen for determination of the angular position of the magnet 50/axis.
To prevent this problem, the microprocessor 90 comprises a software routine that analyses the signals 60 and 70 and determines whether or not the comparator signals 110 and 120 should be 'high' or 'low' based on the criteria also applied to the comparators 100. This software routine thus acts as a software comparator and does not suffer from the delays the hardware comparators 100 may be suffering. If the software comparator routine determines that one of the signals 110 and 120 provided by the hardware comparators 100 is delayed, then the choice of the correct LUT is based on the determination made by the software routine.
For multi-turn applications the flanks of the signals 110 and 120 are also used to increment and decrement a counter provided in the microprocessor 90 to keep track of the number of revolutions the magnet 50/axis has undergone since the encoder 10 has been activated. If it is determined that the signals 110 and 120 are incorrect, for example due to hysteresis behaviour of the comparators 100, then the counter can be incremented or decremented based on the determination made by the software comparator.
In an alternative arrangement the output of a software comparator resident in the processor 90 is used to select the correct LUT for determining an output value representative of the rotational position of the magnet 50. The software comparator does not exhibit hysteresis behaviour and there is thus no danger of selection of an incorrect LUT. Counting of the revolutions undergone by the magnet may still be performed based on the hardware comparators 100. If it is desired that the output of the hardware comparators 100 is compared with that of the software comparators resident in the processor 90, then the relevant check only needs to be performed once per revolution, rather than every 45 degrees.
It will be appreciated that, without initialisation of the encoder it is not possible if the signal received by the sensor is in the positive or the negative angle range in Figure 2. This is, however, inconsequential, given that, once initiated, the battery backed encoder can retain the relevant information throughout its lifetime. Moreover, initialisation can be conducted by a skilled technician upon installation or even following manufacture, so that no further changes in the configuration are required after set up of the encoder.
The wake up function of the preferred embodiment
As discussed above, the encoder 10 comprises a battery based backup power supply 150. It is desirable that the lifetime of the battery is as long as possible, preferably in excess of ten years. It can also be imagined that the axis/magnet 50 may remain static for prolonged periods of time. A rotary encoder 10 used as an encoder for tracking the position of a moveable gate may, for example, only be required to track changing angular positions a few times per day, as is the case for encoders used in monitoring the opening and closing of gates and doors. This is a preferred use for the encoder of the present invention.
In periods of time in which the magnet 50/axis does not rotate most of the functions of the microprocessor are not needed. There is, for example, no need to determine the angular position of the magnet 50/axis if it is known that the magnet 50/axis has not moved substantially. Functions associated with the determination of the angular position of the magnet 50/axis may thus be disabled or switched to a power saving mode if the angular position of the magnet 50/axis is known not to change. It is then only required to monitor whether or not the angular position of the magnet 50/axis starts to change again after it has remained static for a period of time. In this case the entire encoder 10 can be re-activated to determine the new rotary position of the magnet 50/axis.
The microprocessor can monitor changes in the rotational position of the magnet 50/axis by comparing the current value of signals 60/70 or 110/120 with previous values. If signals 60/70 are used for this comparison, or indeed if the outputs of the software comparator are to form the basis for this comparison, then the analogue digital converter provided in the microprocessor 90 needs to remain active. For this reason the hardware comparators 100 are provided. As discussed above, they provide signals 110 and 120 to the microprocessor 90 that the microprocessor 90 recognises as digital signals. The comparators 100 thus provide a digitisation function, albeit at a low resolution of 45 degrees. The states of the signals 110 and 120 can be compared to previous states by the microprocessor 90. Only a very small fraction of the microprocessor's 90 functions need to remain activated for this purpose. This can considerably reduce the amount of power consumed by the encoder 10. Should a change in a state of a signal 110 or 120 be detected, then the entire microprocessor 90 can be re-activated, the output of the comparators 100 can be compared to the output of the re-activated software encoder and, if it is determined that the magnet 50/axis has moved, the new angular position of the magnet 50/axis can be determined.
The preferred embodiment achieves further power saving by further disabling the microprocessor 90 so that the only functions performed in a low power mode is the buffering of previous values of the signals 60, 70, 110 and 120 and to provide a routine that will reactivate part of the microprocessor 90 after a predetermined period of time so that the above discussed comparison between the previous values of signals 110 and 120 and potential altered values of these signals can be performed. After the predetermined period of time the preferred embodiment thus supplies power to the sensor IC 20, the amplifiers 80 and the comparators 90 and reactivates itself as far as necessary to perform the desired comparison. Once the comparison has been performed, should it have been determined that the magnet 50/axis has not rotated sufficiently to cause a change in the signals 110 and 120, the encoder can again be de-activated to only provide the buffering function and the routine that will reactivate the encoder 10 after the predetermined period of time has passed again.
As is the case for many rotary encoders, the rotary encoder of the preferred embodiment is only suitable for operations in association with axes that are accelerated by less than a maximum acceleration. For the above power saving routine to reliably operate the microprocessor is re-activated to be able to perform the required comparison between previous and current values of the signal 110 and 120 at least once in the period of time it would take the magnet 50/axis to undergo a 45 degree rotation if the magnet 50/axis starts to rotate from a stationary state at the maximum allowed acceleration.
Axes that can accelerate by up to 100 radians per s2, for example, can undergo a rotation of 45 degrees in 88.6 ms. If the microprocessor 90 of an encoder does not compare the previous and current values of the signals 110 and 120 in this period of time, then it will no longer be possible to unambiguously determine the relative angular position of the magnet 50/axis with respect to the magnet's 50/axis' previous position. A rotary encoder 10 suitable for use with an axis of this type will thus have to reactivate the microprocessor 90 at least every 88.6 ms, assuming that the encoder 10 is only switched to a power saving state if the magnet 50/axis is static. It is of course more preferred that the microprocessor 90 is activated more frequently to provide a margin for error. A preferred rotary encoder for use with an axis that can accelerate at up to 100 rad/s2 activates the microprocessor approximately every 15ms. In this period of time the rotational position of the magnet 50/axis can change by a maximum of 1.3 degrees. The duration for which the microprocessor 90 needs to be activated to make the above discussed comparison need not be long and in the preferred encoder takes no longer than approximately 60μs. This short period of time is sufficient for determining whether or not the rotational position of the axis/magnet 50 has changed.
While the above described power save mode is useful irrespective of whether or not external power supplied is available, the preferred encoder only switches to the power save mode if the external power supply is interrupted.
It will be appreciated that the above specific description was made by way of example only. This description is, however, not intended to be limiting and the scope of the present invention is determined solely by the accompanying claims.

Claims

Claims:
1. A rotary encoder comprising a sensor and means for evaluating a signal created by the sensor, the encoder arranged to be switched to a power saving state for a predetermined period of time, to be at least partially re- activated after the predetermined period of time and to compare a current value derived from the signal with a stored previous value derived from the signal.
2. A rotary encoder according to claim 1 , further comprising: a magnet; AMR or GMR sensors arranged to generate two signals that unambiguously encode the rotary position of the magnet within a predetermined range of rotary positions and a direction of rotation of the magnet; and an evaluation means arranged to derive single-turn and multi-turn information from the signals.
3. A rotary encoder according to claim 1 or 2, arranged to only reactivate a part of the encoder that is in the power saving state that is required for making the comparison.
4. An encoder according to any preceding claim, wherein the encoder is arranged to, when partially activated, create a current digital representation of the signal, to compare the current digital representation of the signal with a stored previous digital representation of the signal and to reactivate further if the comparison indicates that the current and previous digital representations differ.
5. An encoder according to claim 4, further arranged to create, when further activated, a digital representation of the signal having a higher resolution than the digital representation of the signal created when partially activated.
6. An encoder according to claim 4 or 5, further comprising two means for digitising the signals generated by the sensors, one of the two means arranged to provide a lower resolution digital representation of the signals than the other means.
7. An encoder according to claim 6, further comprising a means for transforming an output signal of the lower resolution digitisation means into a pulsed signal.
8. An encoder according to claim 6 or 7 wherein the lower resolution distribution means is a comparator.
9. A rotary encoder for use with a moveable member, the encoder comprising: a sensor arranged to generate a signal indicative of a position of the moveable member; more than one look up table that stores output values, wherein values derived from the signal generated by the sensor are used to address entries in the look up tables, wherein a said value derived from the signal generated by the sensor can address more than one look up tables; wherein the look up table to be addressed by a value is determined based on a current value derived from the signal and on a previous value derived from the signal.
10. An encoder as claimed in claim 9, comprising a hardware and/or software comparator arranged to compare the signal to a predetermined signal level and to generate an output indicative of whether the signal is higher or lower than the predetermined signal level, wherein the encoder is arranged to base a part of the determination on the output.
11. An encoder as claimed in claim 10, further comprising a controller arranged to conduct a further comparison between the signal and the predetermined signal level, and to compare the output of the hardware comparator with the result of the comparison performed by the controller, wherein the output of the hardware comparator is not relied upon if it differs from the comparison result generated by the controller.
PCT/GB2008/003421 2007-10-11 2008-10-10 A rotary encoder WO2009047508A2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CA2702199A CA2702199C (en) 2007-10-11 2008-10-10 A rotary encoder
EP08806558.6A EP2198247B1 (en) 2007-10-11 2008-10-10 A rotary encoder
US12/682,347 US8319492B2 (en) 2007-10-11 2008-10-10 Rotary encoder
DK08806558T DK2198247T3 (en) 2007-10-11 2008-10-10 Rotating codes
CN200880110856.7A CN101932913B (en) 2007-10-11 2008-10-10 Rotary encoder

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB0719950.8A GB2453580B (en) 2007-10-11 2007-10-11 A Rotary encoder
GB0719950.8 2007-10-11

Publications (2)

Publication Number Publication Date
WO2009047508A2 true WO2009047508A2 (en) 2009-04-16
WO2009047508A3 WO2009047508A3 (en) 2009-09-24

Family

ID=38788057

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2008/003421 WO2009047508A2 (en) 2007-10-11 2008-10-10 A rotary encoder

Country Status (8)

Country Link
US (1) US8319492B2 (en)
EP (1) EP2198247B1 (en)
CN (1) CN101932913B (en)
CA (1) CA2702199C (en)
DK (1) DK2198247T3 (en)
GB (1) GB2453580B (en)
HK (1) HK1130890A1 (en)
WO (1) WO2009047508A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2309230A1 (en) * 2009-10-12 2011-04-13 Baumer Innotec AG Position encoder with energy saving mode
EP2309232A1 (en) * 2009-10-09 2011-04-13 Baumer Innotec AG Locator with multi-turn positioning
EP2312274A1 (en) * 2009-10-09 2011-04-20 Baumer Innotec AG Locator with multi-turn positioning

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8892395B2 (en) * 2008-04-02 2014-11-18 Continental Automotive Systems, Inc. Detecting angular position of a rotating device
DE102009017820B3 (en) * 2009-04-20 2011-02-24 Fritz Kübler GmbH Zähl- und Sensortechnik Gearless encoder and method
EP2675059A1 (en) * 2012-06-15 2013-12-18 SICK STEGMANN GmbH Drive system
DE102013104586B4 (en) * 2013-05-06 2016-09-15 Robert Bosch Automotive Steering Gmbh Method for continuously determining a steering angle or a variable characterizing the steering angle
DE102013224375A1 (en) * 2013-11-28 2015-05-28 Dr. Johannes Heidenhain Gmbh Multi-turn encoders
TWI588450B (en) * 2015-04-21 2017-06-21 Murata Manufacturing Co Encoder
JP6512438B2 (en) * 2015-05-20 2019-05-15 株式会社デンソー Rotation angle detection device
JP2018054488A (en) * 2016-09-29 2018-04-05 株式会社ニコン Encoder device, driving device, stage device, and robot device
CN108072391A (en) * 2016-11-08 2018-05-25 苏州博拉腾信息科技有限公司 The energy saving encoder of nickel alloy magnetism
CN110165311B (en) * 2018-02-14 2020-11-27 车王电子股份有限公司 Battery pack
JP7243712B2 (en) * 2018-03-28 2023-03-22 株式会社ニコン Encoder device, drive device, stage device, and robot device
KR102144784B1 (en) * 2019-01-22 2020-08-18 주식회사 우보테크 Flush Handle For Vehicle Door
US11428544B2 (en) 2019-06-03 2022-08-30 Honeywell International Inc. Position sensor with wake up function
US11892288B2 (en) 2019-08-14 2024-02-06 Agility Robotics, Inc. Transmission, and related systems and methods
CN114072636A (en) * 2019-08-27 2022-02-18 松下知识产权经营株式会社 Position sensing circuit, position sensing system, magnet member, position sensing method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6314355B1 (en) 1999-07-12 2001-11-06 Alps Electric Co., Ltd. Steering angle detecting mechanism
US6380536B1 (en) 1998-03-17 2002-04-30 Matsushita Electric Industrial Co., Ltd. Rotation angle detector for detecting a rotational position of a steering wheel of a vehicle
US20030183824A1 (en) 2001-02-21 2003-10-02 Masato Doi Semiconductor light-emitting device, method for fabricating semiconductor light-emitting device, and electrode layer connection structure
EP1617180A1 (en) 2004-07-12 2006-01-18 Feig Electronic GmbH Position sensor and method to determine the position of a rotating shaft
DE102005009489A1 (en) 2005-02-24 2006-08-31 Volkswagen Ag Set of electronic components for a position-detection device has a wake-up device for processing a wakening current pulse in a Wiegand coil
DE102006014700A1 (en) 2006-03-17 2007-09-27 Continental Teves Ag & Co. Ohg Steering angle sensor system and method for measuring a steering angle

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2131163B (en) * 1982-11-29 1986-02-26 Gardner R F Monitoring rotational movement
US4628298A (en) * 1984-06-22 1986-12-09 Bei Motion Systems Company, Inc. Chain code encoder
US5254992A (en) * 1991-10-31 1993-10-19 Fairbanks Inc. Low power electronic measuring system
JP2004504986A (en) * 2000-07-28 2004-02-19 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト System for reliably transmitting the position of an operating element, position transmitter and receiver and use of the system
JP3799270B2 (en) * 2001-12-21 2006-07-19 株式会社日立製作所 Control device for switching the driving state of an automobile
US6900793B2 (en) * 2002-09-30 2005-05-31 Microsoft Corporation High resolution input detection
CN1580711A (en) * 2003-08-07 2005-02-16 尚新民 Micro power consumption intelligent sensing method and device for metering appliance with rotary parts
US7102317B2 (en) * 2004-01-20 2006-09-05 Samsung Electronics Co., Ltd. Method and apparatus to process an analog encoder signal
US7466125B2 (en) 2004-07-12 2008-12-16 Feig Electronic Gmbh Position transmitter and method for determining a position of a rotating shaft
TWI282954B (en) * 2004-10-22 2007-06-21 Benq Corp Apparatus and method for improving resolution of optical encoder
CN2862137Y (en) * 2006-01-06 2007-01-24 莱芜钢铁集团有限公司 Full-digital intelligent position controller
DE202007014319U1 (en) * 2007-10-12 2009-02-26 Woelke Magnetbandtechnik Gmbh & Co. Kg Magnetic field sensitive sensor
JP5175684B2 (en) * 2008-10-24 2013-04-03 株式会社リベックス Three-phase rotation angle detector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6380536B1 (en) 1998-03-17 2002-04-30 Matsushita Electric Industrial Co., Ltd. Rotation angle detector for detecting a rotational position of a steering wheel of a vehicle
US6314355B1 (en) 1999-07-12 2001-11-06 Alps Electric Co., Ltd. Steering angle detecting mechanism
US20030183824A1 (en) 2001-02-21 2003-10-02 Masato Doi Semiconductor light-emitting device, method for fabricating semiconductor light-emitting device, and electrode layer connection structure
EP1617180A1 (en) 2004-07-12 2006-01-18 Feig Electronic GmbH Position sensor and method to determine the position of a rotating shaft
DE102005009489A1 (en) 2005-02-24 2006-08-31 Volkswagen Ag Set of electronic components for a position-detection device has a wake-up device for processing a wakening current pulse in a Wiegand coil
DE102006014700A1 (en) 2006-03-17 2007-09-27 Continental Teves Ag & Co. Ohg Steering angle sensor system and method for measuring a steering angle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2309232A1 (en) * 2009-10-09 2011-04-13 Baumer Innotec AG Locator with multi-turn positioning
EP2312274A1 (en) * 2009-10-09 2011-04-20 Baumer Innotec AG Locator with multi-turn positioning
CN102147266A (en) * 2009-10-09 2011-08-10 博美创新科技股份公司 Locator with multi-turn positioning
US8525101B2 (en) 2009-10-09 2013-09-03 Baumer Ivo Gmbh & Co. Kg Position transmitter having a normal mode and a power saving mode operation for the acquisition of the position of a rotatable shaft
EP2309230A1 (en) * 2009-10-12 2011-04-13 Baumer Innotec AG Position encoder with energy saving mode

Also Published As

Publication number Publication date
EP2198247B1 (en) 2015-01-21
GB2453580A (en) 2009-04-15
HK1130890A1 (en) 2010-01-08
US20100301844A1 (en) 2010-12-02
GB2453580B (en) 2012-06-06
CA2702199A1 (en) 2009-04-16
CN101932913B (en) 2013-04-03
CA2702199C (en) 2016-02-16
US8319492B2 (en) 2012-11-27
DK2198247T3 (en) 2015-04-27
WO2009047508A3 (en) 2009-09-24
EP2198247A2 (en) 2010-06-23
CN101932913A (en) 2010-12-29
GB0719950D0 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
CA2702199C (en) A rotary encoder
US7466125B2 (en) Position transmitter and method for determining a position of a rotating shaft
JP5036520B2 (en) Magnetic absolute encoder
AU2007287677B2 (en) Adjusting device for a displaceable body part of a motor vehicle and method for adjusting of the displaceable body part
US5323309A (en) Algorithm for optimizing data sampling in a discrete periodic system with a bounded rate of change for the discrete system periods
US7141964B2 (en) Adaptive integrated circuit for magnetoresistive sensors
WO2005114111A1 (en) Multi-rotation type absolute-value encoder
US6456065B2 (en) Device for detecting the rotational angle of a rotary member
US20220107207A1 (en) Magnetic field sensor with an adjustable threshold
JP2023538315A (en) System and method for detecting magnetic turn counter errors using redundancy
US20050093503A1 (en) Indicating instrument
JPH1038615A (en) Multi-rotary absolute encoder
JP3222017B2 (en) Electronic water meter
US5663557A (en) Multiple rotating absolute encoder capable of accurately latching absolute address data with data on number of rotations
US11493362B2 (en) Systems and methods for detecting magnetic turn counter errors
US5204603A (en) Open circuit detection for a pulsed resolver position sensing system
JP4899952B2 (en) Magnetic absolute encoder
WO2022004092A1 (en) Angle sensor
WO2018086154A1 (en) Energy-saving nickel alloy magnetic encoder
KR101573908B1 (en) Decoding circuit for rotary encoder
KR100383994B1 (en) A error detecting method of incremental encoder
JP2004354340A (en) Signal abnormality detector
JP3009620B2 (en) Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver
KR20170045996A (en) Apparatus and method for controlling motor
JP3862690B2 (en) PHASE DETECTION DEVICE, DIAL TYPE DETECTION DEVICE, AND PHASE DETECTION METHOD

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880110856.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08806558

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 2008806558

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2702199

Country of ref document: CA

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 12682347

Country of ref document: US