DE19805207C2 - Procedure for determining a direction of movement - Google Patents
Procedure for determining a direction of movementInfo
- Publication number
- DE19805207C2 DE19805207C2 DE1998105207 DE19805207A DE19805207C2 DE 19805207 C2 DE19805207 C2 DE 19805207C2 DE 1998105207 DE1998105207 DE 1998105207 DE 19805207 A DE19805207 A DE 19805207A DE 19805207 C2 DE19805207 C2 DE 19805207C2
- Authority
- DE
- Germany
- Prior art keywords
- scale
- markings
- value
- movement
- marking
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 230000033001 locomotion Effects 0.000 title claims description 50
- 238000000034 method Methods 0.000 title claims description 23
- 230000007704 transition Effects 0.000 claims description 19
- 239000003550 marker Substances 0.000 claims description 11
- 238000011156 evaluation Methods 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 8
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010408 sweeping Methods 0.000 claims 1
- 238000012360 testing method Methods 0.000 description 17
- 239000003086 colorant Substances 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 239000013307 optical fiber Substances 0.000 description 4
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000001028 reflection method Methods 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/22—Analogue/digital converters pattern-reading type
- H03M1/24—Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip
- H03M1/28—Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip with non-weighted coding
- H03M1/30—Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip with non-weighted coding incremental
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING 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/00—Mechanical 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/26—Mechanical 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 characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
- G01D5/32—Mechanical 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 characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
- G01D5/34—Mechanical 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 characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
- G01D5/36—Forming the light into pulses
- G01D5/363—Direction discrimination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P13/00—Indicating or recording presence, absence, or direction, of movement
- G01P13/02—Indicating direction only, e.g. by weather vane
- G01P13/04—Indicating positive or negative direction of a linear movement or clockwise or anti-clockwise direction of a rotational movement
Description
Die Erfindung betrifft ein Verfahren zur Bestimmung einer Bewegungsrichtung, insbesonde re eines inkrementalen Stellungsgebers, gemäß dem Oberbegriff des unabhängigen An spruchs.The invention relates to a method for determining a direction of movement, in particular re an incremental position transmitter, according to the preamble of the independent An saying.
Inkrementale Stellungsgeber werden z. B. zur Weg- oder Drehwinkelmessung verwendet. Die Stellungsgeber können als linearer Maßstab oder als drehbarer Maßstab ausgebildet sein und tragen jeweils eine Spur mit verschiedenen Markierungen mit gleichmäßiger Teilung. Die Markierungen werden bei einer Relativverschiebung zwischen einem Sensor und dem Maßstab elektromechanisch, fotoelektrisch oder magnetisch abgetastet, wobei jede Markie rung, der eine bestimmte Länge zugeordnet ist, in einen elektrischen Impuls umgesetzt wird. Die Impulse werden aufsummiert, wobei der Zählstand ein numerisches Abbild des vom Maßstab zurückgelegten Wegs ist.Incremental position transmitters are e.g. B. used for path or angle measurement. The position transmitter can be designed as a linear scale or as a rotatable scale and each carry a track with different markings with an even division. The markings are in the event of a relative displacement between a sensor and the Scanned electromechanically, photoelectrically or magnetically, each markie tion, which is assigned a certain length, is converted into an electrical pulse. The impulses are summed up, the count being a numerical representation of the from The distance traveled is the yardstick.
Wird über die Positionsbestimmung hinaus auch Information über die Bewegungsrichtung benötigt, ist bekannt, zwei gleichartige Spuren einzusetzen, die um eine halbe Teilung ge geneinander versetzt sind. Ein solcher Stellungsgeber ist z. B. aus der DE-A1 43 26 640 be kannt. Dort ist eine Codierscheibe mit inkrementaler Teilung beschrieben, welche zwei um eine halbe Strichgitterteilung versetzten Spuren aufweist. Sowohl Anordnung als auch Aus wertung sind jedoch aufwendig, da Sensoren und Auswertevorrichtungen für zwei unabhän gige Spuren vorgesehen werden müssen. In der DE-A1 195 45 999 ist ein Stellungsgeber beschrieben, bei dem nur Signale einer einzigen Spur ausgewertet werden und bei welchem die Bewegungsrichtung des Stellungsgebers festgestellt wird, indem die zeitliche Abfolge der Zustandsänderungen zweier Komparatoren bewertet und mit einer Richtungsinformation versehen werden. Falls die Komparatoren jedoch nicht gleichzeitig auf Signale ansprechen, oder bei einem Übergang von einer Markierung zu einer nächsten, bei welchem bei mehr als einem Komparator Zustandsänderungen auftreten, werden Zwischenimpulse beobachtet, die zu fehlerhafter Interpretation der Bewegungsrichtung und/oder der Position des Stellungsge bers führen.In addition to determining the position, it also provides information about the direction of movement needed, it is known to use two similar tracks that ge by half a division are mutually offset. Such a position transmitter is, for. B. from DE-A1 43 26 640 be knows. There is a coding disc with incremental division is described, which two by half a grating has staggered tracks. Both order and off However, evaluation is expensive because sensors and evaluation devices for two are independent traces must be provided. DE-A1 195 45 999 is a position transmitter described, in which only signals of a single track are evaluated and in which the direction of movement of the position transmitter is determined by the time sequence the state changes of two comparators are evaluated and with direction information be provided. However, if the comparators do not respond to signals at the same time, or in the case of a transition from one marking to another, in which more than If a comparator changes state, intermediate pulses are observed incorrect interpretation of the direction of movement and / or the position of the position lead.
Der Erfindung liegt die Aufgabe zugrunde, ein Verfahren zur Bestimmung der Bewegungs richtung eines Stellungsgebers mit mindestens einer Spur anzugeben, dessen Codierung we nigstens zwei Zustände aufweist und bei dem fehlerhafte Zwischenimpulse, die eine Bewe gungsumkehr des Stellungsgebers nur vortäuschen, sicher erkannt und eliminiert werden können.The invention has for its object a method for determining the movement to indicate the direction of a position transmitter with at least one track, the coding of which we has at least two states and the faulty intermediate pulses, which a move reversal of the position transmitter can only be faked, reliably recognized and eliminated can.
Die Aufgabe wird durch die Merkmale des unabhängigen Anspruchs gelöst. Weiterführende und vorteilhafte Ausgestaltungen sind den weiteren Ansprüchen und der Beschreibung zu entnehmen.The object is solved by the features of the independent claim. Further and advantageous embodiments are to the further claims and the description remove.
Die Erfindung geht von einem inkrementalen Stellungsgeber aus, der als Abtastmedium mindestens einen Maßstab mit einem im wesentlichen periodischen, aber unsymmetrischen Muster aufweist. Das Muster besteht aus einer Reihe von gleichartigen, sich wiederholenden Folgen mit jeweils mindestens drei voneinander unterscheidbare Markierungen. Die Markie rungen beeinflussen ein Prüfmedium in eindeutiger Weise jeweils unterschiedlich. Jede Markierung beeinflußt einen dem Stellungsgeber oder der Markierung zugeordneten Sensor und führt zu einem für jede Markierung spezifischen Ausgangssignal des Sensors, insbeson dere bei optischen Markierungen zu unterschiedlichen Signalamplituden. Die Ausgangs signale des Sensors werden in eine dem Maßstab zugeordneten Meß- und Auswerteschal tung weitergeleitet und dort mit Schwellwerten verglichen werden, welche Schwellwerte in Signalübergänge der von benachbarten Markierungen hervorgerufenen Sensorausgangs signale gesetzt sind, wobei ein Übergang von einer Markierung zur nächsten eine Überstrei chung eines Schwellwerts hervorruft, und wobei aus Sensorausgangssignalen und zeitlicher Abfolge von bei einer Abtastung des Maßstabs erzeugten Sensorausgangssignalen die Be wegungsrichtung des Maßstabs bestimmt wird.The invention is based on an incremental position transmitter, which acts as a scanning medium at least one scale with an essentially periodic, but asymmetrical Pattern. The pattern consists of a series of similar, repeating patterns Sequences with at least three distinguishable markings. The markie Each influences a test medium in a clearly different way. Each Marking influences a sensor assigned to the position transmitter or the marking and leads to a specific output signal of the sensor for each marking, in particular with optical markings at different signal amplitudes. The exit Signals from the sensor are in a measuring and evaluation scarf assigned to the scale forwarded and compared there with threshold values, which threshold values in Signal transitions of the sensor output caused by adjacent markings signals are set, with a transition from one marking to the next an overlap causes a threshold value, and being from sensor output signals and temporal Sequence of sensor output signals generated when the scale is scanned direction of movement of the scale is determined.
Die Erfindung besteht darin, daß bei Überstreichen eines Schwellwerts eine Zeitwertnahme ausgelöst wird, daß ein mittlerer zeitlicher Abstand von zeitlich benachbarten Überstrei chungen bestimmt wird, daß zwei unmittelbar aufeinander folgende Überstreichungen, wel che schneller als dem mittleren zeitlichen Abstands entsprechend aufeinander folgen, entwe der eliminiert werden, falls bei deren vorangegangener und nachfolgender Überstreichung Sensorausgangssignale gemessen werden, die ungleichen Markierungen entsprechen, oder einer Bewegungsrichtungsänderung zugeordnet werden, falls die Sensorausgangssignale gleichen Markierungen entsprechen. Geeignete Markierungen sind Graustufen, insbesondere mit den Stufen hell, grau, dunkel. Es können jedoch auch farbige Markierungen und/oder eine größere Zahl von Abstufungen und/oder Farben vorgesehen sein oder auch nichtopti sche Markierungen.The invention consists in that when a threshold value is exceeded, a time value is taken is triggered that an average time interval from adjacent overlap It is determined that two successive sweeps, wel che follow each other faster than the mean time interval, either which are eliminated if they are crossed over before and after Sensor output signals are measured which correspond to unequal markings, or be assigned a change in direction of movement if the sensor output signals correspond to the same markings. Suitable marks are grayscale, in particular with the steps light, gray, dark. However, colored markings and / or a larger number of gradations and / or colors can be provided or not markings.
Vorteilhaft ist, während der Abtastung des Maßstabs zusätzlich zu den Sensorausgangs signalen einer momentan abgetasteten Markierung mindestens ein weiteres Signal zuzuord nen, welches zur eindeutigen Zuordnung eines Sensorausgangssignals zur einer dieses Sen sorausgangssignal verursachenden Markierung vorgesehen ist. Eine sehr günstige Weiterbil dung des Verfahrens besteht darin, daß Sensorausgangssignale individuellen Markierungen nach der Abtastung des Maßstabs zugeordnet werden und daraus eine Bewegungskurve des Maßstabs erstellt wird, insbesondere mit einem Mikrocomputer. Dies ist besonders einfach und preiswert.It is advantageous, in addition to the sensor output, during the scanning of the scale assign signals to a currently scanned marker at least one further signal NEN, which is used to clearly assign a sensor output signal to one of these sensors mark causing the output signal is provided. A very cheap training extension of the method is that sensor output signals individual markings after scanning the scale and assign a motion curve of the Scale is created, especially with a microcomputer. This is particularly easy and inexpensive.
Die Erfindung wird anhand von in den Figuren dargestellten Ausführungsbeispielen erläu tert. Es zeigenThe invention is explained with reference to exemplary embodiments shown in the figures tert. Show it
Fig. 1 eine Codierscheibe als Rastermaßstab gemäß der Erfindung, Fig. 1 shows an encoder as a grid scale according to the invention,
Fig. 2 eine Reihe von Graustufen mit Meßwerten in einer Bewegungsrichtung, Fig. 2 is a series of gray scale with measured values in a moving direction,
Fig. 3 eine Reihe von Graustufen mit Meßwerten mit Bewegungsumkehr, Fig. 3 is a series of gray scale with measured values with reversal of movement,
Fig. 4 eine Reihe von Graustufen mit Meßwerten mit Bewegungsoszillationen, Fig. 4 is a series of gray scale with measured values with Bewegungsoszillationen,
Fig. 5 eine Bewegungskurve gemäß dem erfindungsgemäßen Verfahren. Fig. 5 is a movement trajectory according to the method of the invention.
Die Erfindung ist anhand von Ausführungsbeispielen beschrieben, bei denen drei voneinan der unterscheidbare Markierungen in einer Folge vorhanden sind, welche Folge sich anein andergereiht entlang des Stellungsgebers mehrfach wiederholt. Bevorzugt sind Markierun gen optisch unterscheidbar, wobei diese unterschiedlich lichtreflektierend oder lichtabsorbie rend oder farbige Markierungen sind. The invention is described using exemplary embodiments in which three of each other the distinguishable markings are present in a sequence, which sequence is connected repeated several times along the position transmitter. Markers are preferred gene optically distinguishable, these reflecting or absorbing light differently rend or colored markings.
Der Stellungsgeber kann ein Linearmaßstab sein, bei dem die Markierungsfolgen entlang der Längsausdehnung des Maßstabs angeordnet sind oder eine Codierscheibe, bei der Markie rungsfolgen in Umfangsrichtung der Scheibe angeordnet sind.The position transmitter can be a linear scale, in which the marking sequences along the Longitudinal dimension of the scale are arranged or a coding disc, at the markie approximately sequences are arranged in the circumferential direction of the disc.
Die Markierungen bilden ein unsymmetrisches Muster. Dadurch kann eine Bewegungsrich tung leicht festgestellt werden, da der Wechsel von einer Markierung zur anderen wegen der Asymmetrie des Musters bei Bewegung des Maßstabs richtungsabhängig ist. Die Markie rungen können sowohl in Reflexion oder im Durchlichtverfahren abgetastet werden. In Re flexion ist ein kompakter Meßaufbau möglich, während im Durchlichtverfahren eine gerin gere Justiergenauigkeit von Maßstab und optischen Sendern und Empfängern ausreichend ist als im Reflexionsverfahren, bei dem z. B. eine unerwünschte Vibration des Maßstabs die Reflexionsbedingungen unkontrolliert ändern und die Messung verfälschen kann.The markings form an asymmetrical pattern. This can be a direction of movement tion can be easily determined since the change from one marking to the other due to the Asymmetry of the pattern when moving the scale is directional. The markie stanchions can be scanned either in reflection or in transmitted light. In Re flexion, a compact measurement setup is possible, while in the transmitted light method a small one gere adjustment accuracy of scale and optical transmitters and receivers is sufficient than in the reflection process, in which, for. B. an undesirable vibration of the scale Change the reflection conditions in an uncontrolled manner and falsify the measurement.
In einer besonders einfachen Ausführung bestehen unterscheidbare Markierungen in einer Folge aus drei Graustufen hell, grau, dunkel, wobei auf dem Maßstab sich eine solche Folge mehrfach wiederholt. Graustufen sind im Reflexionsverfahren Markierungen mit unter schiedlichem Reflexionsvermögen, das für hell, grau, dunkel groß, mittel und klein ist. Im Transmissionsverfahren unterscheiden sich die Transmissivitäten der Markierungen und sind für hell, grau und dunkel entsprechend groß, mittel und gering.In a particularly simple embodiment, there are distinguishable markings in one Sequence of three shades of gray light, gray, dark, with such a sequence on the scale repeated several times. Grayscale are markings with under in the reflection process different reflectivities, which is large, medium and small for light, gray, dark. in the Transmission methods differ in the transmissivities of the markings and are for light, gray and dark, large, medium and low.
In einer günstigen Anordnung wird Sendelicht als Prüfstrahl mit einer Lichtleitfaser auf ei nen Stellungsgeber, z. B. eine Codierscheibe, gesendet und das vom darauf befindlichen Maßstab reflektierte oder transmittierte Licht mit einer Detektoranordnung aufgefangen und analysiert. Im Reflexionsverfahren sind Lichtleitfasern zum Aussenden des Prüfstrahls und zum Empfangen des Prüfstrahls vorzugsweise eng benachbart nebeneinander angeordnet. Im Transmissionsverfahren liegen sich Sende- und Empfängerfaser vorzugsweise direkt gegen über. Eine nicht näher dargestellte Detektoranordnung weist zumindest einen Photodetektor und eine zugeordnete übliche Verstärkungs- und Auswerteschaltung auf. In einer solchen Auswerteschaltung wird ein Positionswert und/oder ein Winkelwert durch Abzählen von Detektorpulsen, insbesondere Komparatorpulsen, errechnet, die durch eine Bewegung des Stellungsgebers verursacht werden. Üblicherweise werden dabei die Impulse gezählt und entsprechend dem Muster und/oder der Teilung des Maßstabs in einen Positionswert oder Drehwinkelwert umgerechnet. Einzelheiten einer solchen günstigen Anordnung sind nicht weiter dargestellt.In a favorable arrangement, transmitter light is used as a test beam with an optical fiber on egg NEN position transmitter, e.g. B. a coding disc, sent and the on it Scale reflected or transmitted light captured with a detector array and analyzed. The reflection method uses optical fibers to emit the test beam and for receiving the test beam preferably arranged closely adjacent to one another. in the Transmission methods are preferably directly opposed to the sender and receiver fibers about. A detector arrangement, not shown, has at least one photodetector and an associated conventional amplification and evaluation circuit. In one Evaluation circuit becomes a position value and / or an angle value by counting Detector pulses, in particular comparator pulses, calculated by moving the Position transmitter caused. Usually the impulses are counted and according to the pattern and / or the division of the scale into a position value or Converted angle of rotation value. Details of such a favorable arrangement are not further illustrated.
Fig. 1 zeigt eine schematische Darstellung eines Maßstabs 2 in Form einer Codierscheibe 1 mit Graustufen, bei der Markierungen in Umfangsrichtung am Rand der Scheibe 1 angeord net sind. Um einen Drehwinkel der Scheibe 1 zu bestimmen, wird ein Prüfstrahl auf die Markierungen gesendet und reflektierte und/oder transmittierte Strahlung in einer Detekto ranordnung nachgewiesen. Ein Sender sendet z. B. durch eine Lichtleitfaser einen Prüfstrahl auf das Abtastmedium, und ein Photodetektor empfängt die Signale des Prüfstrahls, welche von den abgetasteten Markierungen M1, M2, M3 beeinflußt sind. Dabei werden für unter schiedliche Graustufen M1, M2, M3 unterschiedliche Lichtintensitäten aufgefangen und in der Detektoranordnung in üblicher Weise vorzugsweise in Spannungssignale als Ausgangs signal I des Photodetektors umgesetzt. Dieses Ausgangssignal wird an Komparatoren K1, K2 weitergegeben. Fig. 1 is a schematic representation showing a scale 2 in the form of an encoder disk 1 having gray levels are net angeord in the marks in the circumferential direction on the edge of the disc 1. In order to determine an angle of rotation of the disk 1 , a test beam is sent onto the markings and reflected and / or transmitted radiation is detected in a detector arrangement. A transmitter sends e.g. B. by an optical fiber, a test beam on the scanning medium, and a photodetector receives the signals of the test beam, which are influenced by the scanned markings M1, M2, M3. Different light intensities are collected for under different gray levels M1, M2, M3 and preferably implemented in the detector arrangement in the usual way in voltage signals as output signal I of the photodetector. This output signal is passed on to comparators K1, K2.
Bei farbigen Markierungen ist vorteilhaft, wenn diese durch sogenannte Grundfarben gebil det werden, wobei als Grundfarbe eine Farbe verstanden wird, die nicht durch eine Mi schung anderer Grundfarben erzeugbar, d. h. nicht durch eine Linearkombination der Fre quenzen der Grundfarben erzeugbar ist. Dabei ist es zweckmäßig, wenn die Grundfarben des Musters einer Folge gleiche Intensität aufweisen. Sind die Intensitäten unterschiedlich, führt eine Mischung von Farbe und Intensität zu mehrdeutigen Ergebnissen und erhöht den Aus werteaufwand. Sind rot und grün als Grundfarben vorgesehen, so kann gelb keine Grundfar be sein, da eine Mischung von rot und grün die Farbe gelb ergibt. Bei n = 3 Grundfarben sind 2n = 8 Farben erzeugbar. Es sind dabei soviele Schwellwerte vorzusehen, wie Grundfarben in einer Folge vorhanden sind. Werden, wie bei Graustufen, Intensitäten als eine für das Ab tastmedium charakteristische Größe verwendet, sind n - 1 Schwellwerte für n Intensitätsstufen notwendig. Bei drei Graustufen sind demnach 2 Komparatoren vorzusehen. Werden andere, insbesondere linear unabhängige Basisgrößen verwendet, wie z. B. Grundfarben rot, grün, blau, ist für jede Basisgröße ein Schwellwert und/oder ein Komparator vorzusehen. In the case of colored markings, it is advantageous if these are formed by so-called primary colors, the primary color being understood to be a color which cannot be produced by a mixture of other primary colors, ie cannot be generated by a linear combination of the frequencies of the primary colors. It is useful if the basic colors of the pattern of a sequence have the same intensity. If the intensities are different, a mixture of color and intensity leads to ambiguous results and increases the evaluation effort. If red and green are provided as primary colors, yellow cannot be a primary color, since a mixture of red and green results in yellow. With n = 3 primary colors, 2 n = 8 colors can be generated. There must be as many threshold values as there are basic colors in a sequence. If, as with gray levels, intensities are used as a characteristic quantity for the scanning medium, n - 1 threshold values for n intensity levels are necessary. In the case of three gray levels, two comparators must therefore be provided. Are other, in particular linearly independent base variables used, such as B. primary colors red, green, blue, a threshold value and / or a comparator must be provided for each basic size.
In Fig. 2 sind die Verhältnisse bei Bewegung des Maßstabs 2 relativ zu einem Prüfstrahl näher erläutert. In der oberen Zeile sind mehrere Folgen von Markierungen M1, M2, M3 in Form von Graustufen hell, grau, dunkel abgebildet, wie sie bei Abtastung des Maßstabs 2 in einer Richtung beobachtet werden können. In der Zeile darunter sind die den Markierungen M1, M2, M3 entsprechenden Ausgangssignale I des Photodetektors dargestellt. Darunter sind die von den jeweiligen Komparatoren K1 und K2 ausgegebenen Ausgangspulse ange geben. In der Zeile darunter sind Zustandsänderungen der Komparatoren K1 und K2 mit zugehörigen Zeitwerten t1-t10 aufgeführt, wobei beim Überstreichen von Schwellwerten S1, S2 erfindungsgemäß eine Zeitwertnahme durchgeführt und die Zeitwerte t1-t10 festgehalten werden. Beim Wechsel von Markierung M1 zu M2 steigt das Signal I ebenso an wie beim Übergang von M2 nach M3. Dabei wird die Ansprechschwelle S1 des ersten Komparators K1, welche auf einen Signalwert zwischen den Signalen der Markierungen M1 und M2 ein gestellt ist, überstrichen. Die Ansprechschwelle S2 des zweiten Komparators K2 ist auf ei nen Signalwert zwischen den Signalwerten der Markierungen M2 und M3 eingestellt. Für n Markierungen innerhalb einer Folge sind n - 1 Komparatoren mit entsprechend eingestellten Ansprechschwellen S1, S2 vorgesehen. Die Komparatoren K1, K2 geben von einem ersten Zustandswechsel eines Komparators bei Überschreiten dessen Schwellwerts S1, S2 bis zu einem zweiten Zustandswechsel des Komparators beim Unterschreiten dessen Schwellwerts S1, S2 einen Puls am Komparatorausgang aus.In FIG. 2, the conditions upon movement of the scale 2 are explained relatively closer to a test beam. The top line shows several sequences of markings M1, M2, M3 in the form of light, gray, and dark gray shades, as can be observed when scanning the scale 2 in one direction. In the line below, the output signals I of the photodetector corresponding to the markings M1, M2, M3 are shown. Among them are the output pulses output by the respective comparators K1 and K2. In the line below, changes in the state of the comparators K1 and K2 with associated time values t1-t10 are listed, wherein when threshold values S1, S2 are passed over, a time value is taken and the time values t1-t10 are recorded. When changing from marker M1 to M2, signal I rises as well as when changing from M2 to M3. The response threshold S1 of the first comparator K1, which is set to a signal value between the signals of the markings M1 and M2, is swept over. The response threshold S2 of the second comparator K2 is set to a signal value between the signal values of the markings M2 and M3. For n markings within a sequence, n - 1 comparators with correspondingly set response thresholds S1, S2 are provided. The comparators K1, K2 emit a pulse at the comparator output from a first change of state of a comparator when its threshold value S1, S2 is exceeded to a second change of state when the comparator falls below its threshold value S1, S2.
Durch relative Bewegung des Maßstabs 2 gegenüber dem Prüfstrahl überstreicht der Prüf strahl in einer Bewegungsrichtung nacheinander Markierungen M1, M2, M3, M1, M2, M3 und so fort. Wenn der Prüfstrahl innerhalb einer Folge von einer Markierung zur anderen wechselt, steigt die Intensität des Detektorsignals dementsprechend an und fällt beim Über gang zur nächsten Folge, die wiederum mit M1 beginnt, über zwei Stufen ab, steigt dann wieder an und so fort. Die Bewegung des Maßstabs 2 relativ zu einem Prüfstrahl soll dabei zweckmäßigerweise zumindest über mehrere Folgen der Markierungen M1, M2, M3 im we sentlichen konstant oder nur langsam veränderlich sein.By relative movement of the scale 2 relative to the test beam, the test beam sweeps markings M1, M2, M3, M1, M2, M3 and so on in one direction of movement. If the test beam changes from one marking to another within a sequence, the intensity of the detector signal rises accordingly and falls over two stages during the transition to the next sequence, which in turn begins with M1, then rises again and so on. The movement of the scale 2 relative to a test beam should expediently be constant or only slowly variable over at least several sequences of the markings M1, M2, M3.
Dabei wird beim Anstieg des Ausgangssignals I beim Übergang von M1 nach M2 ein Schwellwert S1 des Komparators K1 überstrichen und ein Zustandswechsel des ersten Komparators K1 bei einem Zeitpunkt t1 ausgelöst. Bei einer Überstreichung eines Schwell werts wird jeweils eine Zeitwertnahme ausgelöst. Der Anstieg oder Abfall des Signals I er folgt nicht abrupt, sondern weist eine endliche Steigung auf. K1 gibt ein Signal am Ausgang aus, bis S1 wieder unterschritten wird. Ein Überstreichen des Schwellwerts S1 des Kompa rators wird immer als Übergang von M1 nach M2 oder von M2 nach M1 interpretiert. Beim Übergang von M2 nach M3 überstreicht das Signal I den Schwellwert S2 des zweiten Kom parators K2, und es erfolgt ein Zustandswechsel des Komparators K2 zum Zeitpunkt t2. Ein Überstreichen des Schwellwerts S2 wird immer als Übergang von M2 nach M3 oder von M3 nach M2 interpretiert, auch wenn z. B. auf dem Maßstab 2 von der Markierung M3 (dunkel) zur Markierung M1 (hell) übergegangen wird. Bei dem Wechsel von M3 nach M1, wenn der Prüfstrahl von M3 nach M1 wechselt, führt die Intensitätsabnahme des Signals I erst zu einem Zustandswechsel des zweiten Komparators K2 bei t3, dann zu einem Zustandswech sel des ersten Komparators K1 bei t4. Der zeitliche Abstand t4-t3 dieser beiden Überstrei chungen der Schwellwerte S1 und S2 ist deutlich kürzer als der zeitliche Abstand der ersten beiden Zustandswechsel t2-t1 und t3-t2. Die Länge dieses Zeitintervalls hängt von der Flan kensteilheit des Ausgangssignals I ab und ist nicht auf eine Markierung M1, M2, M3 des Maßstabs 2 zurückzuführen. Bei ideal steilen Signalflanken würde ein solches kurzes Inter vall im Idealfall nicht auftreten. In der Messung werden jedoch zwei kurz hintereinander folgende scheinbare Übergänge zwischen zwei Markierungen erkannt. Gemäß dem erfin dungsgemäßen Verfahren wird ein solches kurzes Intervall dann eliminiert, wenn es nicht auf eine Bewegungsumkehr zurückzuführen ist. Damit läßt sich eine der Realität entspre chende Bewegungskurve des Maßstabs bestimmen.When the output signal I rises during the transition from M1 to M2, a threshold value S1 of the comparator K1 is swept and a change in state of the first comparator K1 is triggered at a time t1. If a threshold value is exceeded, a time value is triggered. The rise or fall of the signal I does not follow abruptly, but has a finite slope. K1 outputs a signal at the output until it falls below S1 again. Exceeding the threshold S1 of the comparator is always interpreted as a transition from M1 to M2 or from M2 to M1. During the transition from M2 to M3, the signal I sweeps over the threshold value S2 of the second comparator K2, and the comparator K2 changes state at time t2. Exceeding the threshold value S2 is always interpreted as a transition from M2 to M3 or from M3 to M2, even if e.g. B. on the scale 2 from the marking M3 (dark) to the marking M1 (light). When changing from M3 to M1, when the test beam changes from M3 to M1, the decrease in the intensity of the signal I leads first to a change in state of the second comparator K2 at t3, then to a change in state of the first comparator K1 at t4. The time interval t4-t3 of these two sweeps of the threshold values S1 and S2 is significantly shorter than the time interval between the first two changes of state t2-t1 and t3-t2. The length of this time interval depends on the edge steepness of the output signal I and is not due to a marking M1, M2, M3 of scale 2 . With ideally steep signal edges, such a short interval would ideally not occur. In the measurement, however, two apparent transitions between two markings that follow one after the other are recognized. According to the method according to the invention, such a short interval is eliminated if it is not due to a reversal of movement. This makes it possible to determine a movement curve of the scale that corresponds to reality.
Die Flankensteilheit eines realen Sensorsignals I hängt von mehreren Einflußgrößen ab. An der Grenze zwischen zwei Markierungen erhält der Photodetektor unter anderem wegen der endlichen räumlichen Größe der lichtempfindlichen Fläche, der Konvergenz des Lichtstrahls sowie der Größe des Prüfstrahls eine Lichtintensität, die von den beiden aneinandergrenzen den Markierungen beeinflußt sind. Diese Verschmierung des vom Photodetektor empfange nen optischen Signals ist eine wesentliche Ursache für Fehlerquellen bei der Bestimmung der Bewegungsrichtung des Maßstabs. Die Flankensteilheit wird unter anderem von der Größe des Prüfstrahls, der Detektorfläche bzw. optischen Eintrittspupille für das nachzuwei sende Signal, der Inkrementgröße und der relativen Geschwindigkeit zwischen Maßstab und Prüfstrahl beeinflußt. The slope of a real sensor signal I depends on several influencing variables. On The boundary between two markings is given to the photodetector partly because of the finite spatial size of the photosensitive surface, the convergence of the light beam and the size of the test beam, a light intensity that adjoins the two the markings are affected. This smearing of the received by the photodetector An optical signal is a major cause of sources of error in the determination the direction of movement of the scale. The steepness is partly due to the Size of the test beam, the detector area or optical entrance pupil for the detection send signal, the increment size and the relative speed between scale and Test beam affected.
In Fig. 3 ist dargestellt, daß auch eine Bewegungsumkehr zu einer kurzen zeitlichen Folge von Überstreichungen von Schwellwerten S1, S2 führt, wobei der zeitliche Abstand deutlich kürzer ist als der mittlere zeitliche Abstand von mehreren aufeinanderfolgenden Überstrei chungen von Schwellwerten S1, s2, die von Übergängen von einer Markierung zur benach barten Markierungen hervorgerufen werden. In diesem Fall stellt ein kurzes Intervall genau die gewünschte Information über eine Bewegungsumkehr dar und darf nicht eliminiert wer den. Die Darstellung der Markierungen und Signale entspricht im wesentlichen der in Fig. 2. Im Gegensatz zu einer dort beschriebenen, im wesentlichen gleichförmig in eine Richtung verlaufende Bewegung des Maßstabs 2 bzw. der Abtastung der Markierungen M1, M2, M3, tritt hier jedoch zum Zeitpunkt t8 eine Bewegungsumkehr des Maßstabs 2 auf, was in der Darstellung der Markierungen in der obersten Zeile der Fig. 3 durch eine Änderung der Markierungsreihenfolge M3-M1-M3-M1-M2... statt M3-M1-M2-M3... angedeutet ist.In Fig. 3 it is shown that a reversal of movement also leads to a short time sequence of sweeps of threshold values S1, S2, the time interval being significantly shorter than the average time interval of several successive sweeps of threshold values S1, s2, which Transitions from one marking to neighboring markings are caused. In this case, a short interval represents exactly the desired information about a movement reversal and must not be eliminated. The representation of the markings and signals essentially corresponds to that in FIG. 2. In contrast to a movement of the scale 2 or the scanning of the markings M1, M2, M3, which is essentially uniform in one direction and described there, occurs here at the time t8 shows a reversal of the scale 2 movement, which is shown in the representation of the markings in the top line of FIG. 3 by a change in the marking sequence M3-M1-M3-M1-M2 ... instead of M3-M1-M2-M3 ... is indicated.
Informationen, welche zumindest die Zeitpunkte t, zu denen Überstreichungen der Schwell werte S1 und S2 erfolgen, womit Zustandswechsel der Komparatoren K1 und K2 ausgelöst werden, sowie der jeweils zum Zeitpunkt der Überstreichung angesprochene Komparator K1 oder K2 werden fortlaufend vorzugsweise an eine Datenverarbeitungseinheit, insbesondere einen Computer und/oder Mikroprozessor weitergeleitet. Die einzelnen Markierungen kön nen, bei optischen Markierungen z. B. kleine Abmessungen in der Größenordnung von eini gen hundert Mikrometern aufweisen, so daß bei der Datenaufnahme eine hohe Zahl von Daten in einem Mikroprozessor zu verarbeiten ist. Ein Mikroprozessor ist in dieser Phase voll ausgelastet und kann kurzfristig keine anderen Bearbeitungsschritte ausführen. Die auf genommenen Daten haben noch keine unmittelbar ablesbare Richtungsinformation. Diese wird in anschließenden Auswerteschritten aus den aufgenommenen Daten gewonnen.Information which at least the times t, at which the threshold is swept Values S1 and S2 occur, which triggers the state change of the comparators K1 and K2 are, as well as the comparator K1 addressed at the time of the sweep or K2 are continuously preferably sent to a data processing unit, in particular forwarded to a computer and / or microprocessor. The individual markings can NEN, for optical markings z. B. small dimensions in the order of one have around one hundred micrometers, so that a high number of Data to be processed in a microprocessor. A microprocessor is in this phase fully utilized and cannot carry out any other processing steps in the short term. The on taken data have no immediately readable direction information. This is obtained from the recorded data in subsequent evaluation steps.
Jeder Markierung M1, M2, M3 kann eine Wertigkeit in Form eines Zahlenwertes zugewie sen werden. Damit können vorteilhaft Farben, optische Polarisationszustände, Intensitäten, Graustufen und andere Markierungsarten in analoger Weise beschrieben und verarbeitet werden. Besonders vorteilhaft ist, eine solche Zuordnung mit entsprechenden Datenverar beitungsprogrammen durchzuführen und auszuwerten. Die Stufung der Wertigkeit zwischen benachbarten Markierungen richtet sich zweckmäßigerweise nach der Anzahl der beteiligten Komparatoren beim Übergang von einer Markierung zur anderen. So sind z. B. beim Über gang von M3 nach M1 in Fig. 2 oder Fig. 3 zwei Komparatoren K1 und K2 beteiligt, wäh rend beim Übergang vom M1 nach M2 nur ein Komparator K1 beteiligt ist. Werden drei Graustufen als Markierung verwendet, kann der Markierung hell vorzugsweise eine Wertig keit 2, der Markierung grau eine Wertigkeit von 1 und der Markierung dunkel eine Wertig keit von 0 zugeordnet werden.Each marking M1, M2, M3 can be assigned a value in the form of a numerical value. Colors, optical polarization states, intensities, grayscale and other types of marking can thus advantageously be described and processed in an analogous manner. It is particularly advantageous to carry out and evaluate such an assignment using corresponding data processing programs. The grading of the value between adjacent markings suitably depends on the number of comparators involved in the transition from one marking to another. So z. B. involved in the transition from M3 to M1 in Fig. 2 or Fig. 3, two comparators K1 and K2, while only one comparator K1 is involved in the transition from M1 to M2. If three gray levels are used as the marking, the marking light can preferably be assigned a value 2, the marking gray a value 1 and the marking dark a value 0.
Ist jeweils die Markierung bekannt, welche tatsächlich vor und hinter einem kurzen Intervall liegt, kann ein Bewegungswechsel eindeutig von einem scheinbaren Bewegungswechsel unterschieden werden. Ein Bewegungswechsel liegt immer dann vor, wenn die einem kurzen Intervall benachbarten Markierungen gleichartig sind, d. h. gleiche Signale im Detektor her vorrufen. Sind die benachbarten Markierungen vor und hinter dem kurzen Intervall nicht gleich, so ist das kurze Intervall zu eliminieren.Is the marker known, which is actually before and after a short interval lies, a change of movement can clearly be an apparent change of movement be distinguished. There is always a change of movement if it is a short one Interval adjacent marks are similar, i. H. same signals in the detector call. The neighboring marks before and after the short interval are not the short interval must be eliminated.
Die Markierungen können dabei während der Abtastung parallel miterfaßt werden, so daß während der Messung jederzeit eine aktuell abgetastete Markierung bekannt ist und ein De tektorausgangssignal einer individuellen Markierung eindeutig zuzuordnen ist. Dazu wird vorzugsweise bei der Datenaufnahme ein Zusatzsignal miterfaßt, womit die Markierung identifizierbar ist. Eine vorteilhaft Ausgestaltung ist, eine Zuweisung von Ausgangssignalen I zu abgetasteten Markierungen erst nach der Datenaufnahme rechnerisch durchzuführen. Damit ist eine sehr preisgünstige Lösung möglich, da teure Prozessorkapazität und aufwen dige Sensorik eingespart werden kann.The markings can be recorded in parallel during the scanning, so that a current scanned marking is known at any time during the measurement and a de tector output signal is clearly assigned to an individual marker. This will preferably also detects an additional signal during data recording, with which the marking is identifiable. An advantageous embodiment is an assignment of output signals I to perform scanned markings only after the data has been recorded. This makes a very inexpensive solution possible because of expensive processor capacity and expenditure the sensors can be saved.
In Fig. 4 ist schematisch eine Situation dargestellt, bei der der Maßstab 2 eine Oszillation ausführt, bevor eine Bewegung in eine Richtung stattfindet. In diesem Beispiel springt der Maßstab zwischen den Markierungen M1 und M2 mehrfach hin und her (Zeitpunkte t1-t5). Dabei finden jeweils Überstreichungen des Schwellwerts S1 statt. Der Komparator K1 gibt von t1 bis t2 einen Puls als Ausgangssignal ab, zwischen t3 und t4 und dann zwischen t5 und t6. Der Komparator K2 gibt erst bei t6 ein Ausgangssignal ab, welches bis t8 ansteht. Erst ab dem Zeitpunkt t6 erfolgt eine Bewegung in Richtung M3 und so fort, wie bereits z. B. an hand von Fig. 1 und Fig. 2 mit Bewegungsumkehr beschrieben ist. In FIG. 4 a situation is shown schematically, in which the scale 2 performs oscillation before a movement takes place in one direction. In this example, the scale jumps back and forth several times between the markings M1 and M2 (times t1-t5). In this case, threshold values S1 are scanned. The comparator K1 outputs a pulse from t1 to t2 as an output signal, between t3 and t4 and then between t5 and t6. The comparator K2 only outputs an output signal at t6, which is present until t8. Only from time t6 there is a movement in the direction of M3 and so on, as has already been done e.g. B. is described with reference to Fig. 1 and Fig. 2 with movement reversal.
Die Bearbeitungsschritte gemäß dem erfindungsgemäßen Verfahren sind folgende. Im ersten Schritt wird eine Datenmenge aufgenommen und abgespeichert. Die Daten umfassen zu mindest Überstreichungen der Schwellwerte S1, S2 jedes Komparators K1, K2 mit den je weils zugehörigen Zeitwerten t. Es kann entweder jeweils zugehörige aktuelle Markierung M1, M2, M3 parallel dazu miterfaßt werden, so daß Ausgangssignale des Detektors jederzeit einer individuellen Markierung zuzuordnen sind. Eine günstige und kostensparende Alter native zur gleichzeitigen Messung der Inkrementfarbe besteht darin, die Zuordnung zu Mar kierungen in einem zweiten Schritt nach der Datenaufnahme aufgrund der zeitlichen Abfolge der Zustandswechsel der Komparatoren und der Überstreichungen zu bestimmen.The processing steps according to the method according to the invention are as follows. In the first Step a quantity of data is recorded and saved. The data include at least sweeps of the threshold values S1, S2 of each comparator K1, K2 with the respective because associated time values t. It can either be associated with the current marker M1, M2, M3 can be detected in parallel, so that the detector output signals at all times can be assigned to an individual marker. A cheap and cost-saving age Native to the simultaneous measurement of the increment color is the assignment to Mar in a second step after the data acquisition due to the chronological sequence to determine the state change of the comparators and the sweeps.
Die Zuordnung von Ausgangssignalen zu einer individuellen Markierung läßt sich nach der Datenaufnahme feststellen, indem die Zahl der unmittelbar aufeinanderfolgenden Überstrei chungen der Schwellwerte eines Komparators betrachtet wird. Dabei wird als gegeben ange nommen, daß eine Überstreichung des Schwellwertes eines Komparators einem Wechsel zwischen zwei Markierungen in der einen oder anderen Richtung entspricht, z. B. von grau nach dunkel oder von dunkel nach grau für Komparator K2. Es wird gezählt, wieviele Über streichungen ein Komparator liefert, bis der nächste Komparator anspricht. Erfolgt ein Zu standswechsel des ersten Komparators K1, so ist gemäß der Interpretation der Meßwerte - in einer Bewegungsrichtung - entweder ein Übergang von hell nach grau oder ein Übergang von grau nach hell erfolgt. Handelt es ist um eine gerade Anzahl von Überstreichungen und führt die erste Überstreichung des zeitlich nächsten ansprechenden Komparators zu einer Markierung mit niedrigerer Wertigkeit, so ist die Ausgangsmarkierung die wertniedrigere Farbe der im Fall von drei Graustufen zwei möglichen Markierungen des ersten Zustands wechsels. Führt der nächste ansprechende Komparator zu einer wertmäßig höheren Markie rung, so ist dagegen die Ausgangsmarkierung die werthöhere Markierung der zwei mögli chen Markierungen der ersten Überstreichung. Bei ungerader Anzahl der gezählten Über streichungen liegen die Verhältnisse genau umgekehrt. Aus der Kenntnis der Reihenfolge der Markierungen der abgespeicherten Folgen von Überstreichungen ist damit die Richtung der Bewegung des Maßstabs bekannt. Ausgehend von der ersten Ausgangsmarkierung kann eine jeweils folgende Markierung leicht bestimmt werden. The assignment of output signals to an individual marking can be done according to the Determine data acquisition by number of consecutive overlaps of the threshold values of a comparator is considered. It is given as given take that a crossing of the threshold value of a comparator a change between two marks in one direction or the other, e.g. B. of gray after dark or from dark to gray for comparator K2. How many over is counted deletions one comparator delivers until the next comparator responds. If there is a close change of position of the first comparator K1, according to the interpretation of the measured values - in a direction of movement - either a transition from light to gray or a transition from gray to light. It is an even number of strokes and the first sweep of the closest comparator in time leads to a Marking with lower value, the starting marking is the lower value Color of the two possible markings of the first state in the case of three gray levels alternating The next comparator leads to a higher value In contrast, the starting marking is the higher marking of the two possible marks of the first swipe. If the number of overs counted is odd deletions, the situation is exactly the opposite. Knowing the order The direction of the markings of the stored sequences of sweeps is thus the movement of the scale. Starting from the first exit mark can a subsequent marking can be easily determined.
Die z. B. beim Wechsel von dunkel nach hell auftretenden kurzen Intervalle werden an schließend eliminiert und führen nicht mehr zu einer Verfälschung der Messung. Dies ge schieht im Schritt 3, indem die Zeitdauer von einem oder mehreren zeitlichen Intervallen zwischen Überstreichungen von Schwellwerten S1, S2 mit der Zeitdauer von benachbarten Intervallen verglichen wird. Ist die Zeitdauer eines Intervalls signifikant geringer als die der benachbarten Intervalle, und ist zusätzliche die Markierung der vorausgegangenen und der folgenden Markierung des kurzen Intervalls unterschiedlich, so wird dieses kurze Intervall als keiner Markierung oder Bewegungsumkehr zuzuordnendes Intervall erkannt und wird eliminiert, indem die beiden zugehörigen Überstreichungen der Schwellwerte S1 und S2 auf einen gemeinsamen mittleren Zeitpunkt zusammengelegt werden, so daß ein einziger Über gang entsteht und die Schwellwerte S1 und S2 der Komparatoren K1 und K2 gleichzeitig überstrichen werden, zweckmäßigerweise liegt der gemittelte Zeitpunkt innerhalb des vor maligen zeitlich kurzen Intervalls, bevorzugt in der Mitte des Intervalls.The z. B. when changing from dark to light, short intervals are then eliminated and no longer lead to a falsification of the measurement. This is done in step 3 by comparing the time period of one or more time intervals between sweeps of threshold values S1, S2 with the time period of neighboring intervals. If the duration of an interval is significantly shorter than that of the neighboring intervals, and if the marking of the preceding and the following marking of the short interval is additionally different, then this short interval is recognized as an interval which cannot be assigned to any marking or reversal of movement and is eliminated by the two associated ones Overlaps of the threshold values S1 and S2 are merged to a common mean time, so that a single transition occurs and the threshold values S1 and S2 of the comparators K1 and K2 are simultaneously swept, expediently the mean time is within the previous short time interval, preferably in the middle of the interval.
Sind die Nachbarmarkierungen, welche vor und nach dem kurzen Intervall gemessen wer den, dagegen gleich, so liegt ein Wechsel der Bewegungsrichtung vor, so daß das kurze In tervall auf jeden Fall nicht gelöscht werden darf. Der Unterschied zwischen der Zeitdauer eines kurzen Intervalls und eines Intervalls zwischen zwei von einer Markierung herrühren den Überstreichungen hängt dabei von vergleichbaren Bedingungen ab wie die Flankensteil heit der Detektorsignale und ist den aktuellen Versuchsbedingungen entsprechend anzupas sen bzw. zu bestimmen. Ein kurzes Intervall ist dann signifikant kurz, wenn es sicher von der Dauer der üblichen Intervalle unterscheidbar ist. Bei einem Aufbau mit Lichtleitfasern von 700 µm Durchmesser und Inkrementen von 1 mm Länge und einer Meßgeschwindigkeit von x mm/s beträgt ein kurzes Inkrement höchstens 30% von einem normalen Inkrement. Dieser Unterschied ist zuverlässig erkennbar.Are the neighboring markings, which are measured before and after the short interval the, however, the same, there is a change in the direction of movement, so that the short In tervall must not be deleted in any case. The difference between the length of time a short interval and an interval between two come from a marker the sweeps depend on conditions comparable to those of the flank of the detector signals and must be adapted to the current test conditions sen or to determine. A short interval is significantly short if it is safe from the duration of the usual intervals can be distinguished. For a structure with optical fibers 700 µm in diameter and 1 mm long increments and a measuring speed A short increment of x mm / s is at most 30% of a normal increment. This difference can be reliably recognized.
Im vierten Schritt wird aufgrund der in den vorangegangenen Schritten bereits ermittelten Überstreichungen und Ausgangsmarkierungen die zugehörige Bewegungsrichtung bestimmt. Da die Reihenfolge der abgetasteten Markierungen des Maßstabs nunmehr bekannt ist, ist wegen des unsymmetrischen Musters die Bewegungsrichtung bekannt. The fourth step is based on those already determined in the previous steps Overlaps and exit markings determine the associated direction of movement. Since the order of the scanned markings of the scale is now known because of the asymmetrical pattern the direction of movement is known.
Im fünften Schritt erfolgt eine Zuweisung von Indizes zu den einer Anfangsmarkierung fol genden Markierungen und eine Zusammenfassung mit von im ersten Schritt gespeicherten Zeitwerten. Die Indizes entsprechen der Reihenfolge der Markierungen unter Berücksichti gung von Wechseln der Bewegungsrichtung des Maßstabs 2. Jedes Wertepaar aus Index und Zeitwert bildet einen Punkt einer Bewegungskurve des Maßstabs 2. Jeder Übergang von einer Markierung zu einer anderen löst in der Meß- und Auswerteschaltung einen Zählpuls aus. Demnach kann die Bewegung des Maßstabs 2 einer Weggröße, insbesondere Winkel oder Wegstrecke, zugeordnet werden. Ausgehend von einem Anfangspulswert, dem Index einer Anfangsmarkierung, wird die Zahl der Ausgangspulse zumindest eines Komparators gezählt und bei jeder Überstreichung von Schwellwerten der Komparatoren K1, K2 bei Vorwärtsbewegung des Maßstabs 2 die Pulszahl inkrementiert und bei Rückwärtsbewegung dekrementiert. Jeder Pulszahl wird der Zeitwert der zugehörigen Überstreichung zugeordnet und eine der Pulszahl zuzuordnenden Weggröße mit dem Zeitwert verknüpft. Die Wertepaa re Weggröße und Zeitwert bilden die Bewegungskurve.In the fifth step, indices are assigned to the markings following an initial marking and a summary with time values stored in the first step. The indices correspond to the order of the markings, taking into account changes in the direction of movement of the scale 2 . Each pair of values from index and time value forms a point on a movement curve of scale 2 . Each transition from one marking to another triggers a counting pulse in the measuring and evaluation circuit. Accordingly, the movement of the scale 2 can be assigned to a path variable, in particular an angle or a path. Starting from an initial pulse value, the index of an initial marker, the number of output pulses from at least one comparator is counted and each time threshold values of the comparators K1, K2 are exceeded, the pulse number is incremented when the scale 2 moves forward and decremented when the sensor moves backward. The time value of the associated sweep is assigned to each pulse number and a path variable to be assigned to the pulse number is linked to the time value. The value pair of path size and time value form the movement curve.
Optional kann im sechsten Schritt eine Mittelung von Zeitwerten erfolgen. Damit kann eine Bewegungskurve geglättet werden. Gleichzeitig werden Ungenauigkeiten bei der Zeitwert nahme ausgeglichen. Zweckmäßig ist es, als Zeitwert einen Zeitwert in der Mitte eines In tervalls zwischen zwei Überstreichungen von Schwellwerten zu wählen. Hierzu wird für jeden Index die halbe Differenz zwischen den Zeiten der das Intervall umschließenden Über streichungen gebildet und zum Zeitwert des vorderen Pulses addiert. Es ist sehr vorteilhaft, das Verfahren mit einem Mikrocomputer und die Bearbeitungsschritte mit Hilfe eines darin abgelegten Computerprogrammes durchzuführen.Optionally, averaging of time values can take place in the sixth step. With that a Motion curve can be smoothed. At the same time, inaccuracies in the time value balanced. It is advisable to use a time value in the middle of an In as the time value tervalls to choose between two sweeps of threshold values. This is done for each index half the difference between the times of the over enclosing the interval deletions formed and added to the time value of the front pulse. It is very beneficial the procedure with a microcomputer and the processing steps with the help of one in it stored computer program to perform.
In Fig. 5 ist eine gemäß dem beschriebenen Verfahren gewonnene Bewegungskurve darge stellt. Die Bewegung des Maßstabs 2 zeigt einen ansteigenden Verlauf über der Zeit bis etwa 160 ms, wo eine Bewegungsumkehr festgestellt wird. Der Maßstab bewegt sich dann zwischen 160 ms und 200 ms langsam rückwärts.In Fig. 5, a movement curve obtained according to the method described is Darge provides. The movement of the scale 2 shows an increasing course over time up to approximately 160 ms, where a reversal of movement is found. The scale then moves slowly backwards between 160 ms and 200 ms.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1998105207 DE19805207C2 (en) | 1998-02-10 | 1998-02-10 | Procedure for determining a direction of movement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE1998105207 DE19805207C2 (en) | 1998-02-10 | 1998-02-10 | Procedure for determining a direction of movement |
Publications (2)
Publication Number | Publication Date |
---|---|
DE19805207A1 DE19805207A1 (en) | 1999-09-09 |
DE19805207C2 true DE19805207C2 (en) | 2000-05-18 |
Family
ID=7857157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE1998105207 Expired - Fee Related DE19805207C2 (en) | 1998-02-10 | 1998-02-10 | Procedure for determining a direction of movement |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE19805207C2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10330912A1 (en) * | 2003-07-07 | 2005-02-03 | E.G.O. Elektro-Gerätebau GmbH | Sensor device for detecting a triggering movement |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10029380A1 (en) * | 2000-06-20 | 2002-01-03 | Pwb Ruhlatec Ind Prod Gmbh | Clock ruler or clock disc |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4326640A1 (en) * | 1993-08-09 | 1995-02-16 | Daimler Benz Ag | Measuring device for the travel of a moving part on an electrical switching device, and a method for operating a switching device by means of a measuring device |
DE19545999A1 (en) * | 1995-12-09 | 1997-06-12 | Aeg Energietechnik Gmbh | Incremental position encoder with direction sensing |
-
1998
- 1998-02-10 DE DE1998105207 patent/DE19805207C2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4326640A1 (en) * | 1993-08-09 | 1995-02-16 | Daimler Benz Ag | Measuring device for the travel of a moving part on an electrical switching device, and a method for operating a switching device by means of a measuring device |
DE19545999A1 (en) * | 1995-12-09 | 1997-06-12 | Aeg Energietechnik Gmbh | Incremental position encoder with direction sensing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10330912A1 (en) * | 2003-07-07 | 2005-02-03 | E.G.O. Elektro-Gerätebau GmbH | Sensor device for detecting a triggering movement |
Also Published As
Publication number | Publication date |
---|---|
DE19805207A1 (en) | 1999-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3144334C2 (en) | Position measuring device with reference marks | |
EP0118673B1 (en) | Measurement device | |
EP0172323B1 (en) | Measuring apparatus | |
EP0854368B1 (en) | Light sensor with signal evaluation based on time of flight of light | |
EP0388390B1 (en) | Incremental measuring system | |
DE4123722B4 (en) | absolute encoder | |
EP0268558B1 (en) | Apparatus for measuring lengths or angles | |
EP1407231B1 (en) | Position measuring device | |
DE2501373B2 (en) | Arrangement for angle or length measurement | |
EP0121658B1 (en) | Measurement device | |
DE3340924C2 (en) | ||
EP0427969B1 (en) | Pulse time of flight measurement device | |
DE3542514A1 (en) | MEASURING DEVICE | |
DE2335711A1 (en) | HAND-HELD SCANNER | |
DE19805207C2 (en) | Procedure for determining a direction of movement | |
DE4209546A1 (en) | Device for detecting a web edge | |
EP0943920A2 (en) | Sensor device and method for data transmission using the sensor device | |
DE19518664C1 (en) | Determn. of position of two relatively movable objects by reading code | |
EP0155348A2 (en) | Method for signal transmission in a length or angle measurement device and device for carrying out the method | |
DE10238075A1 (en) | Optical sensor for recording objects uses receptor line arrays to measure distance from two light sources with selection of highest signal for processing | |
DE4015099A1 (en) | MEASURING CONVERTER | |
DE3939147A1 (en) | LIGHT ELECTRICAL POSITION MEASURING DEVICE | |
DE4244178C2 (en) | Length or angle measuring device | |
DE3614850A1 (en) | METHOD FOR DETERMINING THE DISTANCE OF AN OBJECT, AND CIRCUIT ARRANGEMENT FOR IMPLEMENTING THE METHOD | |
DE4037545A1 (en) | Relative position measuring appts. for two objects - has reference marks equally spaced along measuring scale enabling user to select reference marks from them |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OP8 | Request for examination as to paragraph 44 patent law | ||
D2 | Grant after examination | ||
8364 | No opposition during term of opposition | ||
8339 | Ceased/non-payment of the annual fee |