DE19933412C2 - Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer - Google Patents

Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer

Info

Publication number
DE19933412C2
DE19933412C2 DE1999133412 DE19933412A DE19933412C2 DE 19933412 C2 DE19933412 C2 DE 19933412C2 DE 1999133412 DE1999133412 DE 1999133412 DE 19933412 A DE19933412 A DE 19933412A DE 19933412 C2 DE19933412 C2 DE 19933412C2
Authority
DE
Germany
Prior art keywords
personal computer
signals
memory
unit
incremental
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
Application number
DE1999133412
Other languages
German (de)
Other versions
DE19933412A1 (en
Inventor
Eugen Fleischer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to DE1999133412 priority Critical patent/DE19933412C2/en
Publication of DE19933412A1 publication Critical patent/DE19933412A1/en
Application granted granted Critical
Publication of DE19933412C2 publication Critical patent/DE19933412C2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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/245Mechanical 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 using a variable number of pulses in a train
    • G01D5/2454Encoders incorporating incremental and absolute signals
    • G01D5/2455Encoders incorporating incremental and absolute signals with incremental and absolute tracks on the same encoder
    • G01D5/2457Incremental encoders having reference marks

Abstract

Bei einem Verfahren zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines digitalen Inkrementalgebers in einen Personalcomputer wird ein automatisches Eingeben von Weg- und Winkelmeßgrößen eines Inkrementalgebers in einen Personalcomputer dadurch ermöglicht, daß ein Richtungsdiskriminator aus zwei um 90 DEG versetzten digitalen Eingangssignalen Vorwärtssignale oder Rückwärtssignale erzeugt und diese Signale einem Vor-Rückwärtszähler eingegeben werden, und ein Quadratur-Dekoder vorgesehen ist, über den eine 1-, 2- oder 4fache Flankenauswertung wählbar ist, wobei die Anzahl der erzeugten Impulse anschließend durch Zählen bzw. Flankenauswertung ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird, und aus dem Datenspeicher über in einen Adresspeicher der Inkrementalzählereinheit gespeicherte Adressbefehle über ein paralleles Mikro-Controller-Interface über eine Druckerschnittstelle in einen Speicher in einem Personalcomputer eingelesen wird.In a method for automatically entering displacement and angle measurements of a digital incremental encoder into a personal computer, an automatic input of displacement and angle measurements of an incremental encoder into a personal computer is made possible in that a directional discriminator generates forward signals or reverse signals from two digital input signals offset by 90 ° these signals are entered into an up-down counter, and a quadrature decoder is provided, via which a 1, 2 or 4-fold edge evaluation can be selected, the number of pulses generated subsequently being determined by counting or edge evaluation and the number determined in Form of a digital number code is stored in a data memory of the incremental counter unit, and from the data memory via address commands stored in an address memory of the incremental counter unit via a parallel microcontroller interface via a printer interface is read into a memory in a personal computer.

Description

Die Erfindung betrifft ein Verfahren und eine Vorrichtung zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines analogen oder eines digitalen Inkrementalgebers in einen Personalcomputer.The invention relates to a method and a device for automatic input of displacement and angle measurements an analog or a digital incremental encoder in a personal computer.

Ein automatisches Eingeben von Weg- und Winkelmeßgrößen eines Inkrementalgebers in einen Personalcomputer ist im Stand der Technik bekannt. Die dabei auftretenden technischen Schwierigkeiten sind beträchtlich, da die in einem Inkremetalgeber geschaffenen Signaldaten nicht zur direkten Weiterverarbeitung in einem Personalcomputer geeignet sind.An automatic input of displacement and angle measurements an incremental encoder in a personal computer is in State of the art known. The occurring Technical difficulties are considerable since the in signal data created by an incremental encoder direct processing in a personal computer are suitable.

Ein Verfahren und eine Vorrichtung der eingangsgenannten Art ist aus DE 40 00 003 C1 bekannt. Dabei werden mittels eines Richtungsdiskriminators aus zwei um 90° versetzten digitalen Eingangssignalen Vorwärtssignale oder Rückwärtssignale erzeugt und diese Signale einem Vor- Rückwärtszähler eingegeben werden, und ein Quadratur- Dekoder eingesetzt, wobei die Anzahl der damit erzeugten Impulse anschließend durch Zählen bzw. Flankenauswertung ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird, um eine geschwindigkeitstunabhängige Messung von Wegstrecken zu schaffen.A method and an apparatus of the aforementioned Art is known from DE 40 00 003 C1. Thereby are a directional discriminator from two offset by 90 °  digital input signals forward signals or Reverse signals generated and these signals a forward Down counter can be entered, and a quadrature Decoder used, the number of generated with it Then pulse by counting or edge evaluation is determined and the number determined in the form of a digital numerical codes in a data memory Incremental counter unit is saved to one speed-independent measurement of distances create.

Aus DE 39 07 002 A1 ist eine Vorrichtung zur Abfrage und digitalen Übertragung eines aktuell angezeigten Messwertes eines Messgerätes bekannt, wobei eine kompakte preisgünstige Ausgestaltung dadurch erreicht wird, dass Kontakte eines abzufragenden Anzeigenelementes galvanisch mit einem Eingang eines Schieberegisters mit einer Paralleleingabe verbunden ist, wobei das Schieberegister mit einer von einem Rechner kommenden Taktleitung verbunden ist und ein serieller Ausgang des Schieberegisters über eine Datenleitung mit dem Rechner verbunden ist.DE 39 07 002 A1 describes a device for querying and digital transmission of a currently displayed measured value a measuring device known, being a compact inexpensive design is achieved in that Contacts of a display element to be queried galvanically with an input of a shift register with a Parallel input is connected, the shift register connected to a clock line coming from a computer is and a serial output of the shift register over a data line is connected to the computer.

Des weiteren ist aus US 5,748,494 ein Verfahren bekannt, bei dem eine Auflösungsverstärkung einer Koordinaten- Eingabe-Vorrichtung im wesentlichen dadurch erreicht wird, dass eine vorherbestimmte Anzahl von einer Lichtquelle ausgesandter Lichtstrahlen eine rotierende Gitterscheibe passieren und auf von einem Detektor empfangen werden und die Intensität dieser Lichtstrahlen von dem Detektor sensiert werden, der die Lichtintensitäten in eine elektrische Spannung wandelt, die anschließend in ein digitales Signal gewandelt wird, wobei eine Mehrzahl vorherbestimmter kritischer Werte zum Verstärken der Auflösung der Koordinaten-Eingabe-Vorrichtung vorgesehen sind, um aus dem digitalen Signal wenigstens drei unterschiedliche Betriebszustände unterscheiden zu können.Furthermore, a method is known from US Pat. No. 5,748,494 in which a resolution enhancement of a coordinate Input device is achieved essentially by that a predetermined number from a light source emitted rays of light a rotating grid disc happen and on received by a detector and the intensity of these light rays from the detector be sensed, the light intensities in one electrical voltage that subsequently converts into a digital signal is converted, with a plurality predetermined critical values to reinforce the  Resolution of the coordinate input device provided are at least three from the digital signal to be able to differentiate between different operating states.

Aufgabe der Erfindung ist es, ein Verfahren und eine Vorrichtung zu schaffen, mittels derer ein automatisches Eingeben von Weg- und Winkelmeßgrößen eines Inkrementalgebers in einen Personalcomputer ermöglicht ist.The object of the invention is a method and To create device by means of which an automatic Enter path and angle measurements of a Incremental encoder is enabled in a personal computer.

Für das Verfahren der eingangs genannten Art wird diese Aufgabe bei einem digitalen Inkrementalgeber dadurch gelöst, dass ein Richtungsdiskriminator aus zwei um 90° versetzten digitalen Eingangssignalen Vorwärtssignale oder Rückwärtssignale erzeugt und diese Signale einem Vor- Rückwärtszähler eingegeben werden, und ein Quadratur- Decoder vorgesehen ist, über den eine 4-fache Flankenauswertung ermöglicht ist, wobei die Anzahl der erzeugten Impulse anschließend durch Zählen bzw. Flankenauswertung ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird, und aus dem Datenspeicher über in einen Adressspeicher der Inkrementalzählereinheit gespeicherte Adressbefehle über ein paralleles Mikro-Controller-Interface über eine Druckerschnittstelle (103) in einen Speicher in einem Personalcomputer (104) eingelesen wird, das Einlesen der jeweiligen Zahl in den Speicher des Personalcomputer über mindestens ein Bussystem erfolgt und das Bussystem über mindestens eine Logikschaltung enthaltende Interfaceeinheit an das Bussystem des Personalcomputer (104) angepasst ist, wobei die Anpassung der Bussysteme das Mikro-Controller- Interface der Inkrementalzählereinheit und des Personalcomputer in der Interfaceeinheit durch die Verwendung von mindestens einem Speicher erfolgt, in dem die Signale der mit unterschiedlichen Zugriffszeiten versehenen Bussysteme der unterschiedlichen Systemtaktfrequenzen der Inkremental-Zählereinheit und des Personalcomputer (104) zwischengespeichert werden.For the method of the type mentioned at the outset, this problem is solved in a digital incremental encoder in that a directional discriminator generates forward signals or reverse signals from two digital input signals offset by 90 ° and these signals are input to an up / down counter and a quadrature decoder is provided, A fourfold edge evaluation is made possible, the number of pulses generated is then determined by counting or edge evaluation and the number determined is stored in the form of a digital number code in a data memory of the incremental counter unit, and from the data memory to an address memory is read Inkrementalzählereinheit stored address commands via a parallel micro controller interface via a printer interface (103) in a memory in a personal computer (104), the reading of the respective numbers in the memory of the personal computer via at least one bus system and the bus system is adjusted via at least one logic circuit interface unit containing to the bus system of the personal computer (104), wherein the adjustment of the bus systems to a micro-controller interface of the Inkrementalzählereinheit and the personal computer in the interface unit by the use of at least Memory takes place in which the signals of the bus systems provided with different access times of the different system clock frequencies of the incremental counter unit and of the personal computer ( 104 ) are buffered.

Für das Verfahren der eingangs genannten Art wird diese Aufgabe bei einem analogen Inkrementalgeber dadurch gelöst, dass ein Richtungsdiskriminator aus zwei um 90° versetzten digitalen Eingangssignalen, die zuvor in einem A/D-Wandler (108') gewandelt werden, Vorwärtssignale oder Rückwärtssignale erzeugt, die einem Vor- oder Rückwärtszähler eingegeben werden, wobei eine 4-fache Flankenauswertung ermöglicht ist, und die Anzahl der erzeugten Impulse anschließend durch Zählen ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird und aus dem Datenspeicher über in einen Adressspeicher der Inkrementalzählereinheit gespeicherte Adressbefehle über ein paralleles Mikro-Controller- Interface über eine Druckerschnittstelle (103) in einen Speicher in einem Personalcomputer (104) eingelesen wird, das Einlesen der jeweiligen Zahl in den Speicher des Personalcomputer über mindestens ein Bussystem erfolgt und das Bussystem über mindestens eine Logikschaltung enthaltende Interfaceeinheit an das Bussystem des Personalcomputer angepasst ist, wobei die Anpassung der Bussysteme das Mikro-Controller-Interface der Inkrementalzählereinheit und des Personalcomputer (104) in der Interfaceeinheit durch die Verwendung von mindestens einem Speicher erfolgt, in dem die Signale der mit unterschiedlichen Zugriffszeiten versehenen Bussysteme der unterschiedlichen Systemtaktfrequenzen der Inkremental- Zählereinheit und des Personalcomputer (104) zwischengespeichert werden.For the method of the type mentioned at the outset, this problem is solved with an analog incremental encoder in that a directional discriminator generates forward signals or reverse signals from two digital input signals offset by 90 °, which have previously been converted in an A / D converter ( 108 '), which are entered into an up or down counter, a 4-fold edge evaluation being possible, and the number of pulses generated is then determined by counting and the number determined is stored in the form of a digital number code in a data memory of the incremental counter unit and from the data memory address commands stored in an address memory of the incremental counter unit are read into a memory in a personal computer ( 104 ) via a parallel microcontroller interface via a printer interface ( 103 ), the respective number is read into the memory of the personal computer via at least one bu ssystem and the bus system is adapted to the bus system of the personal computer via at least one logic circuit-containing interface unit, the adaptation of the bus systems to the micro-controller interface of the incremental counter unit and of the personal computer ( 104 ) in the interface unit using at least one memory, in which the signals of the bus systems provided with different access times of the different system clock frequencies of the incremental counter unit and of the personal computer ( 104 ) are buffered.

Für die Vorrichtung der eingangs genannten Art wird diese Aufgabe bei einem digitalen Inkrementalgeber gelöst durch Einrichtungen zum Durchführen des ersten obigen Verfahrens.For the device of the type mentioned above, this is Task solved with a digital incremental encoder Means for performing the first method above.

Für die Vorrichtung der eingangs genannten Art wird diese Aufgabe bei einem digitalen Inkrementalgeber gelöst durch Einrichtungen zum Durchführen des zweiten obigen Verfahrens.For the device of the type mentioned above, this is Task solved with a digital incremental encoder Means for performing the second above Process.

Bei dem erfindungsgemäßen Verfahren sowie bei der erfindungsgemäßen Vorrichtung wird durch die jeweiligen obigen Merkmale erreicht, dass eine Wandlung der Datensignale eines Inkrementalgebers so bewerkstelligt wird, dass diese Datensignale an den herkömmlichen bidirektionalen Datenfluß über die Druckerschnittstelle eines Personalcomputer angepaßt sind.In the inventive method and in the device according to the invention is by the respective Characteristics achieved that a change in Data signals of an incremental encoder accomplished is that these data signals to the conventional bidirectional data flow via the printer interface a personal computer are adapted.

Bevorzugte Ausführungsformen der Erfindung sind Gegenstand der Unteransprüche.Preferred embodiments of the invention are the subject of subclaims.

Das Verfahren ist vorzugsweise so ausgelegt, dass in dem Verfahrensschritt zum Zählen von Eingangsfrequenzen von ca. 5 MHZ in dem Vor-Rückwärtszähler ermöglicht ist.The procedure is preferably this designed that in the step of counting Input frequencies of approximately 5 MHz in the up-down counter is possible.

Das Verfahren ist des weiteren vorzugsweise so ausgelegt, dass das Einlesen der jeweiligen Zahl in den Speicher des Personalcomputer über mindestens ein Bussystem erfolgt. The procedure is further preferably designed so that the reading of the respective Number in the memory of the personal computer over at least a bus system takes place.  

Darüber hinaus ist das erfindungsgemäße Verfahren vorzugsweise so ausgelegt, dass bezüglich der Anpassung der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme eine Logikschaltung in Verbindung mit einer Verzögerungsschaltung verwendet wird, bezüglich der Anpassung der Adressleitungen der beiden anzupassenden Bussysteme eine Speichereinheit verwendet wird und bezüglich der Datenleitungen der beiden anzupassenden Bussysteme lediglich ein Treiber (Verstärker) verwendet wird.In addition, the method according to the invention preferably designed so that with regard to the adaptation of the Control and status lines of the two to be adapted A logic circuit in connection with a bus system Delay circuit is used with respect to Adaptation of the address lines of the two to be adapted Bus systems a storage unit is used and regarding the data lines of the two to be adapted Bus systems only use a driver (amplifier) becomes.

Das erfindungsgemäße Verfahren kann auch vorzugsweise so ausgelegt sein, dass die Logikschaltung in Verbindung mit einer Verzögerungsschaltung zur Anpassung der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme mit einem Treiber zum Verstärken der Signale kombiniert ist.The method according to the invention can also preferably be so be designed so that the logic circuit in conjunction with a delay circuit to adapt the control and Status lines of the two bus systems to be adapted with a driver for combining the signals is combined.

Vorzugsweise ist dabei die Speichereinheit zur Anpassung des Adressaustausches der beiden anzupassenden Bussysteme mit einem Treiber zum Verstärken der Signale kombiniert.The storage unit is preferably an adaptation the address exchange of the two bus systems to be adapted combined with a driver to amplify the signals.

Die Vorrichtung ist vorzugsweise so beschaffen, dass der Richtungsdiskriminator, der Quadratur- Decoder, der Datenspeicher sowie der Adressspeicher in einem CMOS-IC ausgebildet sind sowie der A/D-Wandler in einem Analoginterpolator-IC ausgebildet ist.The device is preferably so ensure that the directional discriminator, the quadrature Decoder, the data memory and the address memory in a CMOS IC are formed as well as the A / D converter in an analog interpolator IC is formed.

Die erfindungsgemäße Vorrichtung ist darüberhinaus vorzugsweise so beschaffen, dass eine Interfaceeinheit zum Anpassen des Bussystems der Inkrementalzählereinheit mit dem Bussystem des Personalcomputer vorgesehen ist. The device according to the invention is moreover preferably so that an interface unit to Adapt the bus system of the incremental counter unit with the bus system of the personal computer is provided.  

Die Interfaceeinheit der erfindungsgemäßen Vorrichtung enthält vorzugsweise mindestens einen Speicher.The interface unit of the device according to the invention preferably contains at least one memory.

Die Vorrichtung ist desweiteren vorzugsweise so beschaffen, dass die Interfaceeinheit mindestens eine Logikschaltung in Verbindung mit einer Verzögerungsschaltung enthält, zum Anpassen der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme, eine Speichereinheit zum Austausch der Adressdaten der beiden anzupassenden Bussysteme enthält sowie einen Treiber zum Verstärken der Daten der Datenleitungen der beiden anzupassenden Bussysteme enthält.The device is further preferably such that the interface unit at least one logic circuit in connection with one Delay circuit contains, to adjust the control and status lines of the two bus systems to be adapted, a storage unit for exchanging the address data of the contains two adaptable bus systems as well as a driver to amplify the data on the data lines of the two bus systems to be adapted.

Die Interfaceeinheit der Vorrichtung enthält vorzugsweise weitere Treiber zum Verstärken der Signale in Daten-, Adressen-, Status- und Kontrolleitungen.The interface unit of the device preferably contains additional drivers for amplifying the Signals in data, address, status and control lines.

Im folgenden wird eine bevorzugte Ausführungsform einer erfindungsgemäßen Vorrichtung zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines Inkrementalgebers in einen Personalcomputers anhand der Figuren der Zeichnung erläutert. Darin zeigen:The following is a preferred embodiment of a Automatic input device according to the invention of displacement and angle measurements of an incremental encoder in a personal computer based on the figures of the drawing explained. In it show:

Fig. 1 eine schematische Darstellung der wesentlichen Komponenten einer bevorzugten Ausführungsform der erfindungsgemäßen Vorrichtung; Figure 1 is a schematic representation of the essential components of a preferred embodiment of the device according to the invention.

Fig. 2 ein Blockdiagramm über die Komponenten der Schaltung II der Fig. 1; Fig. 2 is a block diagram of the components of circuit II of Fig. 1;

Fig. 3 ein Blockdiagramm der Komponenten der Schaltung II der Fig. 1; Fig. 3 is a block diagram of the components of circuit II of Fig. 1;

Fig. 4 ein Blockdiagramm über den funktionalen Ablauf in der Schaltung I der Fig. 1. FIG. 4 shows a block diagram of the functional sequence in circuit I of FIG. 1.

Bei der in Fig. 1 gezeigten schematischen Darstellung des prinzipiellen Aufbaus einer bevorzugten Ausführungsform der Vorrichtung 100 ist der Ausgang eines analogen Wegmeßsystems 101 sowie der Ausgang eines digitalen Wegmeßsystems 102 mit dem Eingang einer Schaltung II verbunden, wobei die Schaltung II die Funktion eines Impulszählers innehat. Der Ausgang der Schaltung II ist über ein TLX-plus-Bussystem mit dem Eingang einer Schaltung I verbunden, die die Funktion einer Schnittstelle innehat. Der Ausgang der Schaltung I ist mit der parallelen Druckerschnittstelle 103 eines schematisch dargestellten Personalcomputers 104 verbunden.In the schematic representation of the basic structure of a preferred embodiment of the device 100 shown in FIG. 1, the output of an analog displacement measuring system 101 and the output of a digital displacement measuring system 102 are connected to the input of a circuit II, the circuit II serving as a pulse counter. The output of circuit II is connected via a TLX-plus bus system to the input of a circuit I which functions as an interface. The output of the circuit I is connected to the parallel printer interface 103 of a schematically represented personal computer 104 .

Fig. 2 zeigt anhand einer Blockdiagramms die Verschaltung der Einzelkomponenten der Schaltung II. Die Schaltung II stellt ein Inkrementalzählermodul dar, mit einer Anpassungs- und Verstärkereinheit 106 für Eingänge aus einem digitalen Inkrementalgeber 105 sowie einer Interpolatoreinheit 108 mit integriertem Analog/Digital- Wandler 108' für den Eingang eines analogen Inkrementalgebers 107. Die Signale der Einheit 106 bzw. der Einheit 108 werden über einen Schalter 109 einem Hardwarezähler 110 zugeführt, der einen 8-Bit-Buscontroller enthält. Der Hardwarezähler 110 ist mit einem Monoflop 111 sowie mit einer 40-MHz-Taktung 112 verbunden. Ein Datensignalausgang 113 des Hardwarezählers 110 ist sowohl mit einer Flip-Flop-Einheit 114 als auch mit einem Datentreiber 115 verbunden, wobei die Flip-Flop-Einheit 114 mit einem weiteren Datentreiber 116 verbunden ist. Der Hardwarezähler 110, die Flip-Flop-Einheit 114 sowie die Datentreiben 115 und 116 sind von einem Steuerwerk 117 gesteuert, dass über Adresssignale aus einer Leitung a über eine Dippschaltereinheit 118 sowie eine Komparatoreinheit 119 steuerbar ist. Das Steuerwerk 117 ist darüber hinaus mit einer Monoflopeinheit 120 verbunden. Die bidirektionalen Datenleitungen d, a sowie s bilden den Anschluß der Schaltung II an das TLX-plus-Bussystem. Fig. 2 shows with reference to a block diagram of the interconnection of the individual components of the circuit II. The circuit II is a Inkrementalzählermodul, with a matching and amplifying unit 106 for inputs from a digital encoder 105 and an interpolator 108 with an integrated analog / digital converter 108 ' for the input of an analog incremental encoder 107 . The signals from the unit 106 or the unit 108 are fed via a switch 109 to a hardware counter 110 which contains an 8-bit bus controller. The hardware counter 110 is connected to a monoflop 111 and to a 40 MHz clock 112 . A data signal output 113 of the hardware counter 110 is connected both to a flip-flop unit 114 and to a data driver 115 , the flip-flop unit 114 being connected to a further data driver 116 . The hardware counter 110 , the flip-flop unit 114 and the data drivers 115 and 116 are controlled by a control unit 117, which can be controlled via address signals from a line a via a dip switch unit 118 and a comparator unit 119 . The control unit 117 is also connected to a monoflop unit 120 . The bidirectional data lines d, a and s form the connection of circuit II to the TLX-plus bus system.

Fig. 3 zeigt anhand eines Blockdiagramms den funktionalen Ablauf in der Schaltung II. Der Analog/Digitalwandler 118' wandelt die analogen Signale des analogen Inkrementalgebers 107 in digitale Signale, so dass sie in einer zur Weiterverarbeitung geeigneten Form vorliegen. Hinter dem Schalter 109 ist ein Diskriminator 121 vorgesehen, der aus einem Signal A und einem Signal B ein Vor- oder Rückwärtssignal liefert. Der Ausgang des Diskriminators 121 ist mit dem Eingang eines Zählers 122 verbunden, der die so gelieferten Impulse zählt und eine Nullung durch einen Null-Impuls oder einen Referenz-Impuls liefert. Der Zähler 122 sowie der Diskriminator 121 sind dabei in dem Hardwarezähler 110 der Fig. 2 vorgesehen. Zusätzlich kann in dem Hardwarezähler 110 ein nicht dargestelltes Register zum Speichern eines Zählerstandes vorgesehen sein. Fig. 3 shows by means of a block diagram the functional sequence in the circuit II. The analog / digital converter 118 'converts the analog signals of the analog incremental encoder 107 into digital signals, so that they are in a form suitable for further processing of the form. A discriminator 121 is provided behind the switch 109 , which delivers a forward or backward signal from a signal A and a signal B. The output of the discriminator 121 is connected to the input of a counter 122 , which counts the pulses thus supplied and supplies a zeroing by means of a zero pulse or a reference pulse. The counter 122 and the discriminator 121 are provided in the hardware counter 110 of FIG. 2. In addition, a register (not shown) for storing a counter reading can be provided in the hardware counter 110 .

Wie in Fig. 3 besonders deutlich zu erkennen ist, wird das Steuerwerk 117 von Steuersignalen und Adreßsignalen über das TLX-plus-Bussystem gesteuert. Die Daten aus dem Zähler 110 werden über Datentreiber 115, 116 auf das TLX-plus- Bussystem gegeben.As can be seen particularly clearly in FIG. 3, the control unit 117 is controlled by control signals and address signals via the TLX-plus bus system. The data from the counter 110 are transferred to the TLX-plus bus system via data drivers 115 , 116 .

Fig. 4 zeigt den modularen Aufbau der Schaltung I aus Fig. 1. Ein Datentreiber 123 ist zum einen bidirektional mit dem TLX-plus-Bussystem verbunden. Darüber hinaus ist der Datentreiber 123 bidirektional mit einem Register 124 zum Speichern und Ausgeben von Adreßdaten an das TLX-plus- Bussystem verbunden. Ein Steuerwerk 125, dass Statussignale an die Druckerschnittstelle 103 abgibt und Steuersignale von der Druckerschnittstelle 103 empfängt, liefert Steuersignale sowohl an den Datentreiber 123 als auch an das TLX-plus-Bussystem sowie an das Register 124. Der Datentreiber 123 ist bidirektional mit der Druckerschnittstelle 103 des Personalcomputers 104 verbunden und liefert, über das Steuerwerk 125 gesteuert, die aufgearbeiteten Signale des analogen bzw. digitalen Wegmeßsystems 101, 102 an den Personalcomputer 104. FIG. 4 shows the modular structure of the circuit I from FIG. 1. On the one hand, a data driver 123 is connected bidirectionally to the TLX-plus bus system. In addition, the data driver 123 is bidirectionally connected to a register 124 for storing and outputting address data to the TLX-plus bus system. A control unit 125 , which outputs status signals to the printer interface 103 and receives control signals from the printer interface 103 , supplies control signals both to the data driver 123 and to the TLX-plus bus system and to the register 124 . The data driver 123 is bidirectionally connected to the printer interface 103 of the personal computer 104 and, controlled by the control unit 125 , supplies the processed signals of the analog or digital measuring system 101 , 102 to the personal computer 104 .

Claims (12)

1. Verfahren zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines digitalen Inkrementalgebers (105) in einen Personalcomputer (104), wobei ein Richtungsdiskriminator aus zwei um 90° versetzten digitalen Eingangssignalen Vorwärtssignale oder Rückwärtssignale erzeugt und diese Signale einem Vor-Rückwärtszähler eingegeben werden, und ein Quadratur-Dekoder vorgesehen ist, über den eine 4-fache Flankenauswertung ermöglicht ist, wobei die Anzahl der erzeugten Impulse anschließend durch Zählen bzw. Flankenauswertung ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird, und aus dem Datenspeicher über in einen Adressspeicher der Inkrementalzählereinheit gespeicherte Adressbefehle über ein paralleles Mikro-Controller- Interface über eine Druckerschnittstelle (103) in einen Speicher in einem Personalcomputer (104) eingelesen wird, das Einlesen der jeweiligen Zahl in den Speicher des Personalcomputer über mindestens ein Bussystem erfolgt und das Bussystem über mindestens eine Logikschaltung enthaltende Interfaceeinheit an das Bussystem des Personalcomputer (104) angepasst ist, wobei die Anpassung der Bussysteme das Mikro-Controller-Interface der Inkrementalzählereinheit und des Personalcomputer in der Interfaceeinheit durch die Verwendung von mindestens einem Speicher erfolgt, in dem die Signale der mit unterschiedlichen Zugriffszeiten versehenen Bussysteme der unterschiedlichen Systemtaktfrequenzen der Inkremental- Zählereinheit und des Personalcomputer (104) zwischengespeichert werden. 1. A method for automatically inputting distance and angle measurement variables of a digital incremental encoder ( 105 ) into a personal computer ( 104 ), a directional discriminator generating forward signals or backward signals from two digital input signals offset by 90 ° and these signals being input to an up-down counter, and a quadrature decoder is provided, by means of which a quadruple edge evaluation is made possible, the number of pulses generated subsequently being determined by counting or edge evaluation and the number determined being stored in the form of a digital number code in a data memory of the incremental counter unit, and off the data memory is read via address commands stored in an address memory of the incremental counter unit via a parallel microcontroller interface via a printer interface ( 103 ) into a memory in a personal computer ( 104 ), the reading in of the respective number in the p memory of the personal computer takes place via at least one bus system and the bus system is adapted to the bus system of the personal computer ( 104 ) via at least one logic unit, the adaptation of the bus systems using the microcontroller interface of the incremental counter unit and the personal computer in the interface unit is carried out by at least one memory in which the signals of the bus systems provided with different access times of the different system clock frequencies of the incremental counter unit and of the personal computer ( 104 ) are buffered. 2. Verfahren zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines analogen Inkrementalgebers (107), wobei ein Richtungsdiskriminator aus zwei um 90° versetzten digitalen Eingangssignalen, die zuvor in einem A/D-Wandler (108') gewandelt werden, Vorwärtssignale oder Rückwärtssignale erzeugt, die einem Vor- oder Rückwärtszähler eingegeben werden, wobei eine 4-fache Flankenauswertung ermöglicht ist, und die Anzahl der erzeugten Impulse anschließend durch Zählen ermittelt wird und die ermittelte Zahl in Form eines digitalen Zahlencodes in einem Datenspeicher der Inkrementalzählereinheit gespeichert wird und aus dem Datenspeicher über in einen Adressspeicher der Inkrementalzählereinheit gespeicherte Adressbefehle über ein paralleles Mikro-Controller- Interface über eine Druckerschnittstelle (103) in einen Speicher in einem Personalcomputer (104) eingelesen wird, das Einlesen der jeweiligen Zahl in den Speicher des Personalcomputer über mindestens ein Bussystem erfolgt und das Bussystem über mindestens eine Logikschaltung enthaltende Interfaceeinheit an das Bussystem des Personalcomputer angepasst ist, wobei die Anpassung der Bussysteme das Mikro-Controller-Interface der Inkrementalzählereinheit und des Personalcomputer (104) in der Interfaceeinheit durch die Verwendung von mindestens einem Speicher erfolgt, in dem die Signale der mit unterschiedlichen Zugriffszeiten versehenen Bussysteme der unterschiedlichen Systemtaktfrequenzen der Inkremental- Zählereinheit und des Personalcomputer (104) zwischengespeichert werden.2. A method for automatically entering displacement and angle measurement variables of an analog incremental encoder ( 107 ), wherein a directional discriminator generates forward signals or reverse signals from two digital input signals offset by 90 °, which are previously converted in an A / D converter ( 108 ') , which are entered into an up or down counter, a 4-fold edge evaluation is possible, and the number of pulses generated is then determined by counting and the determined number is stored in the form of a digital number code in a data memory of the incremental counter unit and from the data memory via address commands stored in an address memory of the incremental counter unit via a parallel microcontroller interface via a printer interface ( 103 ) into a memory in a personal computer ( 104 ), the respective number is read into the memory of the personal computer via at least one Bussy system and the bus system is adapted to the bus system of the personal computer via at least one logic circuit-containing interface unit, the adaptation of the bus systems to the micro-controller interface of the incremental counter unit and of the personal computer ( 104 ) in the interface unit using at least one memory, in which the signals of the bus systems provided with different access times of the different system clock frequencies of the incremental counter unit and of the personal computer ( 104 ) are buffered. 3. Verfahren nach einem der Ansprüche 1 oder 2, dadurch gekennzeichnet, dass der Vor-Rückwärtszähler zum Zählen von Eingangsfrequenzen von ca. 5 MHZ ausgelegt ist. 3. The method according to any one of claims 1 or 2, characterized characterized that the up-down counter for counting Input frequencies of approximately 5 MHz is designed.   4. Verfahren nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass bezüglich der Anpassung der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme eine Logikschaltung in Verbindung mit einer Verzögerungsschaltung verwendet wird, bezüglich der Anpassung der Adressleitungen der beiden anzupassenden Bussysteme eine Speichereinheit verwendet wird und bezüglich der Datenleitungen der beiden anzupassenden Bussysteme lediglich ein Treiber (Verstärker) verwendet wird.4. The method according to any one of the preceding claims, characterized in that regarding the adjustment of the Control and status lines of the two to be adapted A logic circuit in connection with a bus system Delay circuit is used with respect to Adaptation of the address lines of the two to be adapted Bus systems a storage unit is used and regarding the data lines of the two to be adapted Bus systems only use one driver (amplifier) becomes. 5. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass die Logikschaltung in Verbindung mit einer Verzögerungsschaltung zur Anpassung der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme mit einem Treiber zum Verstärken der Signale kombiniert ist.5. The method according to claim 4, characterized in that the logic circuit in conjunction with a Delay circuit to adapt the control and Status lines of the two bus systems to be adapted with a driver for combining the signals is combined. 6. Verfahren nach einem der Ansprüche 4 oder 5, dadurch gekennzeichnet, dass die Speichereinheit zur Anpassung des Adressaustausches der beiden anzupassenden Bussysteme mit einem Treiber zum Verstärken der Signale kombiniert ist.6. The method according to any one of claims 4 or 5, characterized characterized in that the storage unit for adapting the Address exchange of the two bus systems to be adapted with a driver for combining the signals is combined. 7. Vorrichtung zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines digitalen Inkrementalgebers (105) in einem Personalcomputer (104), gekennzeichnet durch Einrichtungen zum Durchführen des Verfahrens gemäß Anspruch 1.7. The device for automatically entering displacement and angle measurements of a digital incremental encoder ( 105 ) in a personal computer ( 104 ), characterized by devices for carrying out the method according to claim 1. 8. Vorrichtung zum automatischen Eingeben von Weg- und Winkelmeßgrößen eines analogen Inkrementalgebers (107) in einem Personalcomputer, gekennzeichnet durch Einrichtungen zum Durchführen des Verfahrens gemäß Anspruch 2. 8. The device for automatically entering displacement and angle measurement variables of an analog incremental encoder ( 107 ) in a personal computer, characterized by devices for performing the method according to claim 2. 9. Vorrichtung nach einem der Ansprüche 7 oder 8, dadurch gekennzeichnet, dass der Richtungsdiskriminator, der Quadratur-Detektor, der Datenspeicher sowie der Adressspeicher in einem CMOS-IC ausgebildet sind sowie der A/D-Wandler (108') in einem Analoginterpolator-IC ausgebildet ist.9. Device according to one of claims 7 or 8, characterized in that the directional discriminator, the quadrature detector, the data memory and the address memory are formed in a CMOS IC and the A / D converter ( 108 ') in an analog interpolator. IC is trained. 10. Vorrichtung nach einem der Ansprüche 7 bis 9, dadurch gekennzeichnet, dass eine Interfaceeinheit zum Anpassen des Bussystems der Inkrementalzählereinheit mit dem Bussystem des Personalcomputer vorgesehen ist.10. Device according to one of claims 7 to 9, characterized characterized that an interface unit for adapting the Bus system of the incremental counter unit with the bus system the personal computer is provided. 11. Vorrichtung nach einem der Ansprüche 7 bis 10, dadurch gekennzeichnet, dass die Interfaceeinheit mindestens eine Logikschaltung in Verbindung mit einer Verzögerungsschaltung enthält, zum Anpassen der Kontroll- und Statusleitungen der beiden anzupassenden Bussysteme, eine Speichereinheit zum Austausch der Adressdaten der beiden anzupassenden Bussysteme enthält sowie einen Treiber zum Verstärken der Daten der Datenleitungen der beiden anzupassenden Bussysteme enthält.11. The device according to one of claims 7 to 10, characterized characterized in that the interface unit at least one Logic circuit in connection with a Delay circuit contains, to adjust the control and status lines of the two bus systems to be adapted, a storage unit for exchanging the address data of the contains two adaptable bus systems as well as a driver to amplify the data on the data lines of the two bus systems to be adapted. 12. Vorrichtung nach einem der Ansprüche 7 bis 11, dadurch gekennzeichnet, dass die Interfaceeinheit weitere Treiber zum Verstärken der Signale in Daten-, Adressen-, Status- und Kontrolleitungen enthält.12. The device according to one of claims 7 to 11, characterized characterized that the interface unit further drivers for amplifying the signals in data, address, status and contains control lines.
DE1999133412 1999-07-16 1999-07-16 Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer Expired - Fee Related DE19933412C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE1999133412 DE19933412C2 (en) 1999-07-16 1999-07-16 Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE1999133412 DE19933412C2 (en) 1999-07-16 1999-07-16 Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer

Publications (2)

Publication Number Publication Date
DE19933412A1 DE19933412A1 (en) 2001-01-25
DE19933412C2 true DE19933412C2 (en) 2003-08-07

Family

ID=7915031

Family Applications (1)

Application Number Title Priority Date Filing Date
DE1999133412 Expired - Fee Related DE19933412C2 (en) 1999-07-16 1999-07-16 Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer

Country Status (1)

Country Link
DE (1) DE19933412C2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3907002A1 (en) * 1989-02-25 1990-08-30 Allinger & Partner Software En Device and method for interrogation and digital transmission to a computer of the currently displayed measurement value of a measuring device with a digital display
DE4000003C1 (en) * 1990-01-02 1991-02-14 Mechatronic Gesellschaft Fuer Elektronische Und Mechanische Systeme Mbh, 6100 Darmstadt, De Route length measurement independent of speed - uses rotary pulse generator mounted on hub of vehicle wheel supplying central control circuit with microprocessor
US5748494A (en) * 1996-05-22 1998-05-05 Ko; Wen-San Method and arrangement for resolution enhancement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3907002A1 (en) * 1989-02-25 1990-08-30 Allinger & Partner Software En Device and method for interrogation and digital transmission to a computer of the currently displayed measurement value of a measuring device with a digital display
DE4000003C1 (en) * 1990-01-02 1991-02-14 Mechatronic Gesellschaft Fuer Elektronische Und Mechanische Systeme Mbh, 6100 Darmstadt, De Route length measurement independent of speed - uses rotary pulse generator mounted on hub of vehicle wheel supplying central control circuit with microprocessor
US5748494A (en) * 1996-05-22 1998-05-05 Ko; Wen-San Method and arrangement for resolution enhancement

Also Published As

Publication number Publication date
DE19933412A1 (en) 2001-01-25

Similar Documents

Publication Publication Date Title
DE19543763B4 (en) Method for automatically detecting different sensors in coordinate measuring machines and devices for carrying out the method
DE3446248A1 (en) SENSOR FOR MEASURING PHYSICAL SIZES AND METHOD FOR ADJUSTING THE SENSOR
EP0905626A2 (en) Method to initialize a control device connected to a diagnostics bus
EP1327119B1 (en) Position measuring device and a method for operating a position measuring device
EP1055128B1 (en) Voltage-monitoring device for two different supply voltages of an electronic apparatus
DE3217057C2 (en)
DE3839248C2 (en)
DE19914004B4 (en) Identifiable electrical component with methods of identification and evaluation
DE4314484B4 (en) Data acquisition approach to a mobile electronic multimeter, in particular a handheld multimeter
DE19933412C2 (en) Method and device for the automatic input of displacement and angle measurement variables of an incremental encoder in a personal computer
EP0943920A2 (en) Sensor device and method for data transmission using the sensor device
DE3815530C2 (en)
EP1431768A1 (en) Method and Device for Resistance Measurement of a Temperature Dependent Resistor
DE4012610A1 (en) Dashboard instrumentation system for vehicle, - uses standard 2-coil electric meter indicators and central current transducers with memorised correction table
DE19506276B4 (en) Method and circuit arrangement for interpolation of sensor signals
DE10126880A1 (en) Motor vehicle diagnostic method in which a local service center has an arrangement for connecting to a motor vehicle onboard computer and linking this to a central diagnostic and testing center thus reducing costs
DE102008025136B4 (en) Sensor control unit for operating various sensors for a vehicle
DE4113224C2 (en)
DE102011003758B4 (en) Method for resolver chip diagnosis, resolver chip diagnosis device and computer program product
EP1071019B1 (en) Method and apparatus for data transmission between different memory units of position measuring devices
DE10131317A1 (en) Control unit for road vehicle controllers has test mode activated by connection to remote unit
EP0651256A1 (en) Pulse generator for vehicles
DE19604968C2 (en) Method for testing incremental measuring systems and testing device for carrying out the method
DE4401410C2 (en) Circuit arrangement of a bus logic connected to bus lines of two different bus systems
DE102008053526B4 (en) Multi-turn encoders

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8304 Grant after examination procedure
8364 No opposition during term of opposition
8339 Ceased/non-payment of the annual fee