Method and device for serial transmission of data between a position sensing means and a data processing unit
17 claims: 17 independent, 0 dependent
- 1Apparatus for serial transmission of data between a position measuring device (1) and a processing unit (4), wherein - the position measuring device (1) comprises a unit (2) in which a binary code word defining the absolute position is formed from the sensing signals of at least one sensing device (10);- the binary code word can be fed to an output unit (3) which causes bit-serial transmission of the code word over a data line (5) in response to a command (Status) from the processing unit (4);- the position measuring device (1) comprises a plurality of memory regions (8, 9);- specific parameters of the position measuring device (1) are stored in one memory region (9) and can likewise be transmitted serially over the said data line (5) to the processing unit (4), whereby the processing unit (4) can be matched to these parameters;- a further memory region (8) serves for decoding commands (Status) from the processing unit (4), these commands (Status) likewise being capable of being transmitted serially as binary data words over the said data line (5) to the position measuring device (1);- a clock source (15) is provided in the processing unit (4) and clock pulse sequences can be fed over a clock line (6) to the clock input of the output unit (3) and- the position measurement values and the parameters can be transmitted bitserially over the data line to the processing unit (4) in clock synchronism with the clock pulse sequence;- the formation and storage of the instantaneous absolute position measurement value in the position measuring device (1) is triggered on one clock flank of the clock pulse sequence and- after a computing time (tc) dependent on the scope of the computations, a start message (Start) can be transmitted from the position measuring device (1) to the processing unit (4), indicating that a valid position measurement value is present for transmission. Dispositif pour la transmission de données en série entre un dispositif de mesure de position (1) et une unité de traitement (4), dans lequel - le dispositif de mesure de position (1) comprend un composant (2) dans lequel un mot codé binaire définissant la position absolue est formé à partir des signaux d'exploration d'au moins un dispositif d'exploration (10),- le mot codé binaire peut être amené à un composant d'émission (3) qui provoque une transmission en série par bit du mot codé par une ligne de données (5) en réponse à un ordre (Status) de l'unité de traitement (4),- le dispositif de mesure de position (1) comprend plusieurs zones de mémoire (8, 9),- une zone de mémoire (9) sert à la mémorisation de paramètres spécifiques du dispositif de mesure de position (1), lesquels peuvent également être transmis en série par ladite ligne de données (5) à l'unité de traitement (4), de sorte que l'unité de traitement (4) peut être adaptée à ces paramètres,- une zone de mémoire (8) supplémentaire sert au décodage d'ordres (Status) de l'unité de traitement (4), ces ordres (Status) pouvant également être amenés en tant que mots de données binaires en série par ladite ligne de données (5) au dispositif de mesure de position (1),- un générateur d'horloge (15) est prévu dans l'unité de traitement (4) et les trains d'impulsions d'horloge peuvent être amenés par une ligne d'horloge (6) à l'entrée d'horloge du composant d'émission (3),- les valeurs de mesure de position et les paramètres peuvent être transmis en synchronisme avec le train d'impulsions d'horloge en série par bit sur la ligne de données à l'unité de traitement (4),- la formation et la mémorisation de la valeur de mesure de position absolue momentanée dans le dispositif de mesure de position (1) sont déclenchées par un flanc d'impulsion d'horloge du train d'impulsions d'horloge,- après un temps de calcul (tc), qui dépend du volume des calculs, une signalisation de départ (Start) est transmise du dispositif de mesure de position (1) à l'unité de traitement (4), qui indique qu'une valeur de mesure de position valide est prête pour transmission. Vorrichtung zur seriellen Datenübertragung zwischen einer Positionsmeßeinrichtung (1) und einer Verarbeitungseinheit (4), wobei - die Positionsmeßeinrichtung (1) einen Baustein (2) aufweist, in dem aus den Abtastsignalen zumindest einer Abtasteinrichtung (10) ein die Absolutposition definierendes binäres Codewort gebildet wird;- das binäre Codewort einem Ausgabebaustein (3) zuführbar ist, welcher eine bitserielle Übertragung des Codewortes über eine Datenleitung (5) aufgrund eines Befehles (Status) der Verarbeitungseinheit (4) veranlaßt;- die Positionsmeßeinrichtung (1) mehrere Speicherbereiche (8, 9) aufweist;- in einem Speicherbereich (9) spezifische Parameter der Positionsmeßeinrichtung (1) abgespeichert sind, welche ebenfalls über die genannte Datenleitung (5) seriell zu der Verarbeitungseinheit (4) übertragbar sind, wodurch die Verarbeitungseinheit (4) an diese Parameter anpaßbar ist;- ein weiterer Speicherbereich (8) zur Dekodierung von Befehlen (Status) der Verarbeitungseinheit (4) dient, wobei diese Befehle (Status) ebenfalls als binäre Datenwörter seriell auf der genannten Datenleitung (5) der Positionsmeßeinrichtung (1) zuführbar sind;- ein Taktgeber (15) in der Verarbeitungseinheit (4) angeordnet ist und Taktimpulsfolgen über eine Taktleitung (6) dem Takteingang des Ausgabebausteins (3) zuführbar sind und- die Positionsmeßwerte und die Parameter taktsynchron zur Taktimpulsfolge bitseriell auf der Datenleitung zu der Verarbeitungseinheit (4) übertragbar sind;- bei einer Taktflanke der Taktimpulsfolge die Bildung und Abspeicherung des momentanen absoluten Positionsmeßwertes in der Positionsmeßeinrichtung (1) veranlaßt wird und nach einer vom Umfang der Berechnungen abhängigen Rechenzeit (tc) von der Positionsmeßeinrichtung (1) eine Startmeldung (Start) an die Verarbeitungseinheit (4) übertragbar ist, die anzeigt, daß ein gültiger Positionsmeßwert zur Übertragung vorliegt.
- 2Apparatus according to claim 1, characterized in that the information as to the clock number required for the transmission of the position measurement value is stored as a specific parameter in the storage region (9). Dispositif suivant la revendication 1, caractérisé par le fait que dans la zone de mémoire (9) est mémorisé, en tant que paramètre spécifique, l'information concernant le nombre d'impulsions d'horloge, nécessaire pour la transmission de la valeur de mesure de position. Vorrichtung nach Anspruch 1, dadurch gekennzeichnet, daß im Speicherbereich (9) als spezifischer Parameter die zur Übertragung des Positionsmeßwertes benötigte Information über die Taktanzahl abgespeichert ist.
- 3Apparatus according to any of the preceding claims, characterized in that parameters of the position measuring device (1) are stored in one memory region (9) by the manufacturer of the position measuring device (1) and this memory region (9) cannot be written to by the user of the position measuring device (1). Dispositif suivant l'une des revendications précédentes, caractérisé par le fait que des paramètres du dispositif de mesure de position (1) sont mémorisés dans une zone de mémoire (9) par le fabricant du dispositif de mesure de position (1) et que l'utilisateur du dispositif de mesure de position (1) n'a pas accès, à des fins d'inscription, à cette zone de mémoire (9). Vorrichtung nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, daß in einem Speicherbereich (9) Parameter der.Positionsmeßeinrichtung (1) vom Hersteller der Positionsmeßeinrichtung (1) eingespeichert sind und dieser Speicherbereich (9) vom Anwender der Positionsmeßeinrichtung (1) nicht beschreibbar ist.
- 4Apparatus according to any of the preceding claims, characterized in that at least one memory region (9) is provided in the position measuring device (1) with user-specific parameters, which can be transmitted over the data line (5). Dispositif suivant l'une des revendications précédentes, caractérisé par le fait que dans le dispositif de mesure de position (1) est prévue au moins une zone de mémoire (9) avec des paramètres spécifiques de l'utilisateur, zone à laquelle les paramètres peuvent être amenés par la ligne de données (5). Vorrichtung nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, daß in der Positionsmeßeinrichtung (1) zumindest ein Speicherbereich (9) mit anwenderspezifischen Parametern vorgesehen ist, der über die Datenleitung (5) Parameter zuführbar sind.
- 5Apparatus according to any of the preceding claims, characterized in that at least one memory region (9) is provided in the position measuring device (1) with alarm and/or error messages, which can be read over the data line (5). Dispositif suivant l'une des revendications précédentes, caractérisé par le fait que dans le dispositif de mesure de position (1) est prévue au moins une zone de mémoire (9) avec des signalisations d'alarme et/ou d'erreur, zone qui peut être lue en passant par la ligne de données (5). Vorrichtung nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, daß in der Positionsmeßeinrichtung (1) zumindest ein Speicherbereich (9) mit Alarm- und/oder Fehlermeldungen vorgesehen ist, der über die Datenleitung (5) auslesbar ist.
- 6Apparatus according to any of the preceding claims, characterized in that the signal on the data line (5) is at the LOW level in the rest state. Dispositif suivant l'une des revendications précédentes, caractérisé par le fait que le signal de la ligne de données (5) se trouve au niveau bas (LOW) à l'état de repos. Vorrichtung nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, daß das Signal der Datenleitung (5) im Ruhezustand auf dem Pegel LOW liegt.
- 7A method of serial transmission of data between a position measuring device (1) and a processing unit (4), wherein - commands (Status) are transmitted bit serially as data words from the processing unit (4) to the position measuring device (1) and the position measuring device (1) is thereupon caused to execute a command (Status) and, in dependence on the command (Status) to send to the processing unit (4) a position measurement value as a binary data word or a parameter stored in the position measuring device (1) as a binary data word, whereby the processing unit (4) can be matched to this parameter, or the position measuring device (1) is caused to receive parameters from the processing unit (4) and to store them in a memory region (9);- the commands (Status), the parameters and the position measurement values are transmitted on a common data line (5) in clock synchronism;- the clock pulse sequence for the clock synchronous transmission is transmitted from the processing unit (4) to the position measuring device (1) over a clock line (6);- the formation and storage of the instantaneous absolute position measurement value is triggered in the position measuring device (1) on one clock flank of the clock pulse sequence and- after a computing time (tc) dependent on the scope of the computations, a start message (Start) is transmitted from the position measuring device (1) to the processing unit (4), indicating that a valid position measurement value is present for transmission. Procédé pour la transmission de données en série entre un dispositif de mesure de position (1) et une unité de traitement (4), selon lequel - des ordres (Status) sont transmis en série par bit en tant que mots de données de l'unité de traitement (4) au dispositif de mesure de position (1) et le dispositif de mesure de position (1) est amené, en réponse à cette transmission, à exécuter un ordre (Status) et, en fonction de l'ordre (Status), à émettre une valeur de mesure de position en tant que mot de données binaire ou un paramètre mémorisé dans le dispositif de mesure de position (1) en tant que mot de données binaire à l'unité de traitement (4), de sorte que l'unité de traitement (4) peut être adaptée à ce paramètre, ou amène le dispositif de mesure de position (1) à recevoir des paramètres de l'unité de traitement (4) et à les mémoriser dans une zone de mémoire (9),- les ordres (Status), les paramètres et les valeurs de mesure de position sont transmis en synchronisme avec l'horloge sur une ligne de données commune (5)- le train d'impulsions d'horloge pour la transmission en synchronisme est transmis de l'unité de traitement (4) par une ligne d'horloge (6) au dispositif de mesure de position (1)- la formation et la mémorisation de la valeur de mesure de position absolue momentanée dans le dispositif de mesure de position (1) sont déclenchées par un flanc d'impulsion d'horloge du train d'impulsions d'horloge,- après un temps de calcul (tc), qui dépend du volume des calculs, une signalisation de départ (Start) est transmise du dispositif de mesure de position (1) à l'unité de traitement (4), qui indique qu'une valeur de mesure de position valide est prête pour transmission. Verfahren zur seriellen Datenübertragung zwischen einer Positionsmeßeinrichtung (1) und einer Verarbeitungseinheit (4), wobei - Befehle (Status) von der Verarbeitungseinheit (4) zu der Positionsmeßeinrichtung (1) als Datenwörter bitseriell übertragen werden und die Positionsmeßeinrichtung (1) daraufhin veranlaßt wird, einen Befehl (Status) auszuführen, und in Abhängigkeit des Befehles (Status) einen Positionsmeßwert als binäres Datenwort oder einen in der Positionsmeßeinrichtung (1) abgespeicherten Parameter als binäres Datenwort zu der Verarbeitungseinheit (4) zu senden, wodurch die Verarbeitungseinheit (4) an diesen Parameter anpaßbar ist, oder die Positionsmeßeinrichtung (1) veranlaßt, Parameter von der Verarbeitungseinheit (4) zu empfangen und in einem Speicherbereich (9) abzuspeichern;- die Befehle (Status), die Parameter und die Positionsmeßwerte auf einer gemeinsamen Datenleitung (5) taktsynchron übertragen werden;- die Taktimpulsfolge zur taktsynchronen Übertragung von der Verarbeitungseinheit (4) über eine Taktleitung (6) zu der Positionsmeßeinrichtung (1) übertragen wird;- bei einer Taktflanke der Taktimpulsfolge die Bildung und Abspeicherung des momentanen absoluten Positionsmeßwertes in der Positionsmeßeinrichtung (1) veranlaßt wird und- nach einer vom Umfang der Berechnungen abhängigen Rechenzeit (tc) von der Positionsmeßeinrichtung (1) eine Startmeidung (Start) an die Verarbeitungseinheit (4) übertragen wird, die anzeigt, dass ein gültiger Positionsmeßwert zur Übertragung vorliegt.
- 8A method according to claim 7, characterized in that the processing unit (4) transmits each bit of the command (Status) in synchronism with a falling clock flank. Procédé selon la revendication 7, caractérisé par le fait que l'unité de traitement (4) émet chaque fois un bit de l'ordre (Status) en synchronisme avec un flanc descendant. Verfahren nach Anspruche 7, dadurch gekennzeichnet, daß die Verarbeitungseinheit (4) jeweils ein Bit des Befehls (Status) synchron zu einer fallenden Taktflanke sendet.
- 9A method according to claim 7 or 8, characterized in that the analog values of the sensing device (10) are stored in the unit (2) on a negative clock flank of the clock pulse sequence and the formation and storage of the instantaneous absolute position measurement values is triggered in the position measuring device (1). Procédé selon une des revendications 7 ou 8, caractérisé par le fait qu'à un flanc négatif du train d'impulsions d'horloge les valeurs analogiques du dispositif d'exploration (10) sont mémorisées dans le composant (2) et la formation et la mémorisation de la valeur de mesure de position absolue instantanée dans le dispositif de mesure de position sont. Verfahren nach einem der Ansprüche 7 oder 8 dadurch gekennzeichnet, daß bei einer negativen Taktflanke der Taktimpulsfolge die Analogwerte der Abtasteinrichtung (10) in den Baustein (2) abgespeichert werden und die Bildung und Abspeicherung des momentanen absoluten Positionsmeßwertes in der Positionsmeß-einrichtung (1) veranlaßt wird.
- 10A method according to any of claims 7 to 9, characterized in that the start message (Start) is transmitted in synchronism with a positive clock flank after the computing time (tc). Procédé selon une des revendications 7 à 9, caractérisé par le fait que la signalisation de départ (Start) est transmise après le temps de calcul (tc), en synchronisme avec un flanc d'impulsion d'horloge positif. Verfahren nach einem der Ansprüche 7 bis 9, dadurch gekennzeichnet, daß die Startmeldung (Start) nach der Rechenzeit (tc) synchron zu einer positiven Taktflanke übertragen wird.
- 11A method according to any of claims 7 to 10, characterized in that- after the start message (Start) an alarm message (Alarm) in the form of an alarm bit is transmitted to the processing unit (4), informing the processing unit (4) of an error function of the measuring device (1), and- the data word of the position measurement value is subsequently transmitted to the processing unit (4). Procédé selon une des revendications 7 ou 10, caractérisé par le fait- qu'après la signalisation de départ (Start), une signalisation d'alarme (Alarrn) sous la forme d'un bit d'alarme est transmise à l'unité de traitement (4), et un dysfonctionnement du dispositif de mesure (1) est signalé à l'unité de traitement (4),- le mot de données de la valeur de mesure de position est ensuite transmis à l'unité de traitement (4). Verfahren nach einem der Ansprüche 7 oder 10, dadurch gekennzeichnet, daß- nach der Startmelduhg (Start) eine Alarrmmeldung (Alarm) in Form eines Alarmbits an die Verarbeitungseinheit (4) übertragen wird, das eine Fehlfunktion der Meßeinrichtung (1) an die Verarbeitungseinheit (4) meldet und- daß nachfolgend das Datenwort des Positionsmeßwertes an die Verarbeitungseinheit (4) übertragen wird.
- 12A method according to any of the preceding claims 7 to 11, characterized in that the least significant bit is transmitted first in the bit-serial transmission of the position measurement value. Procédé selon une des revendications 7 à 11, caractérisé par le fait que lors de la transmission en série par bit de la valeur de mesure de position, le bit de poids le plus faible est transmis en premier. Verfahren nach einem der vorhergehenden Ansprüche 7 bis 11, dadurch gekennzeichnet, daß bei der bitseriellen Übertragung des Positionsmeßwertes zuerst das Least Significant Bit übertragen wird.
- 13A method according to any of the preceding claims 7 to 12, characterized in that a memory region (9) is provided in the position measuring device (1), in which error information is stored for the case of error or on overstepping predetermined tolerances, which information is read on request by the processing unit (4). Procédé selon une des revendications 7 à 12, caractérisé par le fait qu'il est prévu dans le dispositif de mesure (1), une zone de mémoire (9) dans laquelle est mémorisée, en cas d'erreur ou en cas de dépassement de tolérances prédéterminées, une information d'erreur qui est lue sur appel de l'unité de traitement (4). Verfahren nach einem der vorhergehenden Ansprüche 7 bis 12, dadurch gekennzeichnet, daß in der Positionsmeßeinrichtung (1) ein Speicherbereich (9) vorgesehen ist, in dem im Fehlerfall, oder bei Überschreiten vorgegebener Toleranzen eine Fehlerinformation abgespeichert ist, die auf Anforderung der Verarbeitungseinheit (4) ausgelesen wird.
- 14A method according to any of the preceding claims 7 to 13, characterized in that a data word (CRC) for checking the transmitted position measurement value at the processing unit (4) is transmitted after the transmission of the position measurement value. Procédé selon une des revendications 7 à 13, caractérisé par le fait qu'après la transmission de la valeur de mesure de position, un mot de données (CRC), pour le contrôle de la valeur de mesure de position transmise, est transmis à l'unité de traitement (4). Verfahren nach einem der vorhergehenden Ansprüche 7 bis 13, dadurch gekennzeichnet, daß nach der Übertragung des Positionsmeßwertes ein Datenwort (CRC) zur Kontrolle des übertragenen Positionsmeßwertes an die Verarbeitungseinheit (4) übertragen wird.
- 15A method according to claim 14, characterized in that the clock stops after the CRC transmission up to storage of a new position measurement value and a command (Status) is transmitted before each transmission of a position measurement value from the processing unit (4). Procédé selon la revendication 14, caractérisé par le fait que l'impulsion d'horloge après la transmission du mot de données (CRC) est supprimée jusqu'à la mémorisation d'une nouvelle valeur de mesure de position et, avant chaque transmission d'une valeur de mesure de position, un ordre (Status) est envoyé par l'unité de traitement (4). Verfahren nach Anspruche 14, dadurch gekennzeichnet, daß der Takt nach der CRC-Übertragung bis zur Speicherung eines neuen Positionsmeßwertes aussetzt und vor jeder Übertragung eines Positionsmeßwertes von der Verarbeitungseinheit (4) ein Befehl (Status) gesendet wird.
- 16A method according to any of the preceding claims 7 to 15, characterized in that a mode of operation can be selected in which the clock runs without interruption and in response to a command (Status) a plurality of position measurement values are transmitted to the processing unit (4) one after the other, without a command (Status) being transmitted in between at the request of the processing unit (4). Procédé selon une des revendications 7 à 15, caractérisé par le fait qu'un mode de fonctionnement peut être sélectionné dans lequel les impulsions d'horloge se déroulent sans interruption et sur la base d'un ordre (Status) plusieurs valeurs de mesure de position sont transmises les unes à la suite des autres à l'unité de traitement (4) sans transmission intermédiaire d'un ordre (Status) d'appel de l'unité de traitement (4). Verfahren nach einem der vorhergehenden Ansprüche 7 bis 15, dadurch gekennzeichnet, daß eine Betriebsweise wählbar ist, bei der der Takt ununterbrochen durchläuft und aufgrund eines Befehls (Status) hintereinander mehrere Positionsmeßwerte zu der Verarbeitungseinheit (4) übertragen werden, ohne dazwischen einen Befehl (Status) zur Anforderung von der Verarbeitungseinheit (4) zu übertragen.
- 17A method according to any of claims 7 to 16, characterized in that- the information as to the clock number required for the transmission of a position measurement value is stored in the position measuring device (1);- this information is read by the processing unit (4)- the required number of clock pulses for the measured value transmission is made available from the processing unit (4) to the position measuring device (1). Procédé selon une des revendications 7 à 16, caractérisé par le fait que- les informations nécessaires à la transmission d'une valeur de mesure de position sur le nombre d'impulsions d'horloge sont mémorisées dans le dispositif de mesure de position (1),- cette information est lue par l'unité de traitement (4) et- le nombre nécessaire d'impulsions d'horloge pour la transmission de la valeur de mesure du dispositif de mesure (1) est mis à disposition par l'unité de traitement (4). Verfahren nach einem der Ansprüche 7 bis 16, dadurch gekennzeichnet, dass- die zur Übertragung eines Positionsmeßwertes notwendige Informationen über die Taktanzahl in der Positionsmeßeinrichtung (1) abgespeichert ist;- diese Information von der Verarbeitungseinheit (4) gelesen wird und- die erforderliche Anzahl der Takte bei der Meßwertübertragung der Positionsmeßeinrichtung (1) von der Verarbeitungseinheit (4) zur Verfügung gestellt wird.
Independent claims17
84 paragraphs, as filed
The invention relates to a device and a method for serial data transmission between a position measuring device and a processing unit, in particular an NC control.
Such an arrangement is known from EP-0 171 579 B1. The position measurement values of the position measurement device are transmitted to this processing unit in synchronism with a clock pulse specified by a processing unit.
The main disadvantage of this arrangement is that the processing unit has to be adapted by the user to the specific parameters of the position measuring device. For example, the number of cycles required for the complete transmission of a position measurement value depends on the resolution of the position measuring device. So far, the processing unit has specified a fixed number of clock cycles (eg 13). If a position measuring device with low resolution (e.g. 5 Bit), then the 13 clock cycles are still used for measured value transmission. It can be seen that unnecessary transmission time is wasted.
DE 39 36 452 A1 discloses a method for adapting a numerical control to specific parameters of a position measuring device. The specific parameters are stored in an information carrier and transferred to the control system during a test volume.
In the. DE 41 29 577 A1 discloses a position measuring device in which a data memory with system-specific data is integrated. The outputs of the data memory and the outputs of the scanning units can be temporarily connected to transmission lines. The disadvantage here is that the synchronization between the measuring device and the evaluation unit is not guaranteed. Furthermore, the absolute value must first be generated in the processing unit, for example by arctan formation, which increases the effort in the processing unit. Another disadvantage is that multiplexers are required for transmission. The sending of parameters is only provided when the supply voltage of the measuring device is switched on. In a product description "SINCOS", edition 15.03.1993 from Stegmann, a position measuring device with a bidirectional interface and several memory areas that can be written and read about is described.
The object of the invention is therefore to optimize the adaptation of the processing unit to specific parameters of the position measuring device and to minimize the expenditure on transmission lines between the position measuring device and the processing unit.
This object is solved by the features of claim 1 and claim 7.
Advantageous refinements are specified in the dependent claims.
The particular advantages of the invention lie in the fact that the specific parameters of the position measuring device can be adopted independently by the processing unit, the same lines which are already available for the transmission of measured values being used for the transmission of these parameters. Secure transmission is also guaranteed.
The invention is explained in more detail below on the basis of an exemplary embodiment shown in the drawing:
Show it:<dl id="dl0001"><dt>Figure 1</dt><dd>2 shows a basic illustration of an arrangement for serial data transmission of an angle measuring device,</dd><dt>Figure 2</dt><dd>a transmission protocol for parameter transmission,</dd><dt>Figure 3</dt><dd>schematically the sequence of the synchronous serial data transmission in a pulse-time diagram,</dd><dt>Figure 4</dt><dd>another sequence of data transmission,</dd><dt>Figure 5</dt><dd>data transmission with an interrupted clock,</dd><dt>Figure 6</dt><dd>the data transmission with a continuous cycle and</dd><dt>Figure 7</dt><dd>a circuit for bidirectional data transmission.</dd></dl>
In the exemplary embodiment shown in FIG. 1, the reference numeral 1 designates an angle measuring device which transmits the respective absolute efficiency as a binary data word (dual code) to a processing unit 4 by known photoelectrical loading of one code disk or a plurality of code disks (multitum) connected to one another via reduction gears generated by a scanning device 10 analog scanning signals which are fed to a module 2. In this module 2, the scanning signals are amplified and converted into digital signals to form a binary data word. Block 2 ensures that the complete absolute position value is always present at the output regardless of the code of the code disks. The code of the code disks can be designed as a Gray code or from several incremental tracks with a defined different division period (DE 41 25 B65 A1). Module 2 can also be used to correct the analog or digital signals. Likewise, necessary calculations are carried out in module 2 which are necessary for the correct connection or combination of several code tracks. Groups of code tracks are required. These calculations are described in detail, for example, in DE 27 58 525 B1, DE 29 38 31 8 C3 or DE 37 34 938 C2.
The absolute position measurement value is fed to a parallel-series converter 3 as an output module, which, controlled by a clock pulse sequence, sends the individual bits of the data word determining the absolute position measurement value serially to the processing unit 4 via the data line 5. It is particularly advantageous if the clock pulse sequence is specified by the processing unit 4. A clock line 6 is provided for transmitting the clock pulses from the processing unit 4 to the angle measuring device 1. The position measurement value is transmitted by means of a retriggerable time stage 7, as is explained in detail in EP 0 171 579 B1, to which express reference is made.
According to the invention, commands are also transmitted from the processing unit 4 to the position measuring device 1 via the data line 5. The commands are fed to a memory 8 of the position measuring device 1, which decodes the command and causes the position measuring device 1 to execute the corresponding command. In the example, this command is a data word consisting of three status bits S2 S1 and SO. To ensure the transmission of status commands, each status bit is also transmitted inverted, so that a total of six status bits S2, S1, S0, <maths id="math0001" num=""><math display="inline"><mrow><mover><mrow><mi mathvariant="normal">S</mi><mn>2</mn></mrow><mrow><mo>‾</mo></mrow></mover><mo>,</mo></mrow></math><img file="EP0660209B2_D0001.tif" /></maths><maths id="math0002" num=""><math display="inline"><mrow><mover><mrow><mi mathvariant="normal">S</mi><mn>1</mn></mrow><mrow><mo>‾</mo></mrow></mover><mo>,</mo></mrow></math><img file="EP0660209B2_D0002.tif" /></maths><maths id="math0003" num=""><math display="inline"><mrow><mover><mrow><mi mathvariant="normal">S</mi><mn>0</mn></mrow><mrow><mo>‾</mo></mrow></mover></mrow></math><img file="EP0660209B2_D0003.tif" /></maths>are transmitted for a command from the processing unit 4 to the position measuring device 1. If the position measuring device 1 detects a faulty status bit transmission, an error message is issued.
The position measuring device 1 is referred to below only as a measuring system.
In the example, eight status commands A to H are specified, which are described in detail below:
1. Status command A:
If the processing unit 4 sends the data word A to the position measuring device 1 via the data line 5, this means that the measuring device 1 is asked to send an absolute position measuring value to the processing unit 4. The transmission protocol for this is shown in FIGS. 3 to 6 and will be described in detail later.
2nd Status command B:
This command causes the selection of a memory area. The measuring device 1 contains a memory 9 in which parameters of the measuring device 1 can be stored. Additional memories or memory areas can be provided for correction values. It is also possible to provide an area in the memory 9 in which the user stores specific user parameters, for example motor data. It is particularly advantageous if the memory 9 is divided in such a way that the area with the parameters of the measuring system 1 can only be written by the measuring system manufacturer, and another area is freely accessible to the user (writable and readable). The area with the parameters of the measuring system manufacturer can in turn be divided into an area that can be read by the user and an area that can only be read by the measuring system manufacturer.
As can be seen in FIG. 2, the memory selection is first activated with command B to read or write parameters. After command B, a 16-bit data word (memory range select code) is sent from the processing unit 4 to the measuring system 1 in order to select an area of the memory 9. The command is acknowledged by the measuring system.
3rd Status command C:
If a certain memory area is selected with command B, this command C is used to inform measuring device 1 that parameters are subsequently supplied to measuring system 1 at a specific address. This means that after this status command C, first the address information under which the parameters are to be stored and then the parameter information from the processing unit 4 are supplied to the measuring device 1 via the data line 5.
4th Status command D:
If a specific memory area is selected with command B, this command D is used to inform measuring device 1 that processing unit 4 expects the stored parameters of measuring device 1 to be sent. The processing unit 1 additionally specifies the address where these parameters are stored in the measuring device 1.
5. Status command E:
With this command E, predetermined areas of the memory 9 can be deleted at the request of the processing unit 4.
6. Status commands F to H:
These commands are advantageously reserved for testing the measuring device 1. It is thus possible, for example, for a measuring system 1 with integrated error monitoring to be tested over long distances and for the error to be diagnosed. For example, after the command F of the processing unit 4, a predetermined address of a memory area of the memory 9 can be used to check whether an error message is stored there. This error message is subsequently sent from the measuring system 1 to the processing unit 4 via the data line 5.
The transmission protocol of the parameter transmission is shown in FIG. It can be seen that in the time in which the status bits, the addresses and the parameters are sent by the processing unit 4, the receiver 11 is active in the measuring system 1 and the transmitter 12 in the measuring system 1 is inactive. It can also be seen that the transmitted data for commands B and C are acknowledged by sending this data back to the processing unit 4. If it is determined in the processing unit 4 that the data sent differs from the data received, the transmission is repeated. In addition to the data, measuring system 1 also transmits an 8 bit CRC. CRC means cyclic redundancy check, this data word is obtained by a known combination of the data bits. This transmission of the CRC enables the processing unit 4 to check whether the data transmission has taken place without errors. For reasons of clarity, the inverted status bits are not shown in FIG. 2.
In Figure 1, 13 denotes the transmitter and 14 the receiver of the processing unit 4. It can also be seen that the clock 15 is accommodated in the processing unit 4. The processing unit 4 or subsequent electronics is preferably an NC control. For better understanding, two paths are shown in FIG. 1 for the data line 5. According to the invention, however, the data is transmitted bidirectionally in both directions on the same line 5, as is also shown in detail in FIG.
FIGS. 3 to 6 show pulse diagrams for the transmission of the measured position value of the measuring device 1. During the idle state, data line 5 is LOW. It can therefore be seen from the processing unit 4 that the connected position measuring device 1 is the arrangement according to the invention, since the data line is in the idle state in an arrangement according to EP 0 171 579 B1 at HIGH.
The analog values of the scanning device 10 are stored in the module 2 on the first negative clock edge. When the required calculations in module 2 have been completed, which is indicated by the computing time tc, the measuring device 1 sends a start signal in the form of a start bit to the processing unit 4, in synchronism with a positive clock edge. The time tc is variable and depends on the scope of the calculations. The start bit indicates that there is a valid position measurement for transmission.
An alarm bit is transmitted after the start bit. The alarm bit reports a malfunction of the measuring device 1 to the processing unit 4. An error message is issued when an error message is stored in the memory 9. The cause of the alarm can be read from the memory 9.
With the subsequent positive clock edge, the data bits of the measured value present at the parallel-series converter 3 are transmitted serially from the transmitter 12 via the data line 5 to the processing unit 4. The length of the measured value, that is to say the necessary number of cycles, was communicated to the processing unit 4 as a parameter from the memory 9 before transmission. A CRC (cyclic redundancy check) is also transmitted to check the measured value transmission. The formation of a CRC is known from data processing.
In the exemplary embodiment according to FIG. 3, the MSB of the measured value is transmitted first and finally the LSB. In contrast, in the exemplary embodiments according to FIGS. 4 to 6, the LSB first. The inverted status bits are also shown in FIGS. 4 and 5. If the LSB is transmitted first, a fast bit-serial binary subtraction and addition during the zero point shift can be implemented without much effort during the transmission. Furthermore, this transmission has advantages in the case of code value connection calculations in accordance with DE 27 58 525 B1, DE 29 38 318 C3, DE 37 34 938 C2, since the coarser resolution code value depends on the finer resolution code value.
After a certain time tm, the measured values are stored and transmitted again. The status information is again sent from the processing unit 4 to the measuring device 1 during the computing time tc.
When transmitting the position measurement, a distinction is made between an interrupted and a continuous cycle. For clarification, these two operating modes are shown in detail in FIGS. 5 and 6. The interrupted clock according to FIG. 5 is characterized in that the clock stops after the CRC transmission until a new position measurement value is stored. Before each transmission of a position measurement value to the processing unit 4, the processing unit 4 sends a status command. The interrupted cycle is particularly intended for systems which are timed, such as control loops. If a measured value is to be transmitted again in the shortest possible time, it is also possible to select the operating mode according to FIG. 6 "continuous cycle". The waiting time tm and the time for transmitting the status information are saved. The last transmitted status information is used in the processing unit 4 as current status information.
As can be seen from FIGS. 3 to 6, the processing unit 4 sends a status bit in synchronism with the falling clock edge. The status bit from measuring system 1 is accepted synchronously with the rising clock edge.
So that the arrangement for serial transmission can be used for as many measuring devices as possible, in addition to the data line 5 and clock line 6, further lines 16 are provided for the transmission of analog or binary count signals from an incremental position measuring device (FIG. 7). It is thus possible to send the count signals on the line 16 to the processing unit 4 in parallel to the absolute measured value transmission on the data line 5. It can also be seen in FIG. 7 that the bidirectional transmission of data (measured values and parameters) between the measuring device 1 and the processing unit 4 takes place with signal levels according to RS485 (differential signals) in synchronism with a clock signal (CLOCK) specified by the processing unit 4. The clock frequency is between 100KHz and 2MHz.
As already mentioned, the memory 9 in the measuring device 1 enables both the customer and the manufacturer of the measuring device 1 to store and read out parameters. It is advantageous if the memory 9 is divided into several areas:<ul id="ul0001" list-style="none" compact="compact"><li>I. Storage area for customer parameters</li><li>II. Memory area for parameters of the measuring system manufacturer</li><li>III. Storage area for correction values.</li></ul>
The memory area of the measuring system manufacturer is write-protected. The individual memory areas are distinguished by the code "Memory Range Select".
The memories can be used as follows:
I. Memory allocation parameters of the customer:
1. Zero shift
The value is subtracted from the zero point of measuring system 1.
II. Memory allocation parameters of the measuring system manufacturer:
These parameters can contain data that are predefined by the production, but also additional information about the operating state and operating parameters.
1. version
Specifies the version according to which the store
9 is divided.
2nd Memory size
Indication of the size of the individual areas of the memory 9.
3rd Transmission format
Indicates the number of cycles for the transmission of a measured value (data word).
4th Measuring system type
Specifies whether an incremental length or angle measuring system with or without distance-coded reference marks or whether a Singietum or Muttiturn code encoder is used.
5. Signal period or signal periods per revolution
Specifies the width of a signal period for length measuring systems or the number of signal periods per revolution for angle measuring systems.
6. Number of revolutions that can be undersigned
In the case of multiturn code angle measuring systems, the distinguishable revolutions are specified.
7. Basic distance with distance-coded reference marks or distance between two neighboring reference marks
For measuring systems with distance-coded reference marks, the basic distance of the associated reference marks is given. In measuring systems without distance-coded reference marks, the distance between two neighboring reference marks is specified.
8th. Location of the first reference mark
Indicates the position of the first reference mark in relation to the end position.
9. Measuring step or steps
For length measuring systems, specifies the measuring step that is output by the measuring system during serial data transmission. In the case of angle measuring systems, the number of measuring steps per revolution is specified.
10th Zero point shift of the measuring system
Manufacturer
11. Direction and code output for code angle measuring systems
12th ID number of the measuring system
13. Serial number of the measuring system
14. Alarms
Any errors that have occurred are saved. If, for example, a bit is not equal to zero, the alarm bit is set when measured values are transmitted according to FIG. An alarm message can also be used for an emergency shutdown of a drive.
15. Warnings
If tolerance specifications for certain internal parameters of the measuring system that can lead to failure of the measuring system are exceeded, these are saved in the form of warning messages and can be read out on request. In the case of battery-operated measuring systems, a warning message can be, for example, the word "battery change °. Warnings therefore enable preventive maintenance.
III. Memory allocation correction values
<ul id="ul0002" list-style="none"><li>1. Number of correction values related to the measuring length</li><li>2nd Number of correction values for signal deviations such as signal amplitudes, phase shift and zero point deviations.</li><li>3rd Number of correction values for harmonics.</li><li>4th Number of harmonics to be corrected.</li><li>5. Correction values for 1.</li><li>6. Correction values for 2.</li><li>7. Correction values for 3.</li></ul>
It is of course within the scope of the invention to also make other parameters available in the memory 9 for the processing unit 4. During commissioning, the processing unit 4 is adapted by taking over the necessary parameters from the measuring system 1 via the data line 5.
The areas of the memory 9 can be divided by software, but it is also possible for the memory 9 to consist of several individual memory modules.
It is obvious that the arrangement according to the invention has the following advantages:<ul id="ul0003" list-style="dash" compact="compact"><li>Use for code measuring systems and incremental measuring systems,</li><li>Minimized transmission times for the absolute position value. For applications in a closed control loop, this reduces dead times and improves control behavior,</li><li>Bidirectional interface with the possibility of being able to save and read out parameters in the measuring system for both the customer and the measuring system manufacturer (simplification of commissioning),</li><li>Support of monitoring and diagnostic functions of the processing unit,</li><li>With absolute measuring systems, complete absolute values are transmitted in the dual code regardless of the type of determination of the absolute position measured value, so that no different evaluation is required in the processing unit.</li><li>The length of the format for transmitting the position measurement value is variable and depends on the respective measuring system. The number of cycles and the assignment of the position measurement value to the cycles are determined by the content of the memory to be queried in the measuring system.</li></ul>
As can be seen from the preceding explanations, it is particularly advantageous if the clock is specified by the processing unit 4. This ensures synchronous data transmission.
However, the invention can also be used if the clock is predetermined by the measuring system 1. Here, the processing unit 4 sends a request signal (request) to the measuring system 1 via the clock line 6. The bits of the position measurement value are then sent serially to the processing unit 4 via the data line 5 in synchronism with an internal clock. In order to ensure a transmission that is synchronous with the processing cycle of the processing unit 4, the internal clock generator of the measuring system 1 can be equipped with a. Edge of the request signal can be synchronized. The request signal can also be sent to the measuring system 1 via the data line 5.
The invention can be used with angle and length measuring devices. The scanning principle is not limited to the photoelectric principle. The code for forming the position measurement value to be transmitted can be provided in a single track (chain code) or in several tracks on one or more code carriers.
8 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8
Every citation, both waysCites: the store holds 5 of 6
| Document | Relation | Office | Cited during |
|---|---|---|---|
| DE102007041744A1 | Cited by | Germany | Applicant |
| DE102012201170A1 | Cited by | Germany | Applicant |
| DE102008054887B4 | Cited by | Germany | Search report |
| WO2009149966A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| DE102008027902A1 | Cited by | Germany | Applicant |
| US10120359B2 | Cited by | United States of America | Applicant |
| DE102010038552A1 | Cited by | Germany | Applicant |
| DE102012205802A1 | Cited by | Germany | Applicant |
| DE102008053105A1 | Cited by | Germany | Applicant |
| DE102008054887A1 | Cited by | Germany | Applicant |
| DE102011006300A1 | Cited by | Germany | Applicant |
| EP0142112A | Cites | European Patent Office (EPO) | – |
| EP0171579A | Cites | European Patent Office (EPO) | – |
| DE3936452A | Cites | Germany | – |
| DE4129577A | Cites | Germany | – |
| US4912476A | Cites | United States of America | – |
7 members in 3 offices
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 4342377 | Germany | A | |
| 4342377 | Germany | – | |
| 4342377 | – | – | – |
| DE19934342377 | – | – | – |
Members7
| Document | Office | Kind | |
|---|---|---|---|
| DE4342377A1 | Germany | A1 | |
| EP0660209A1 | European Patent Office (EPO) | A1 | |
| EP0660209B1 | European Patent Office (EPO) | B1 | |
| AT144845T | Austria | T | |
| DE59400945D1 | Germany | D1 | |
| EP0660209B2This record | European Patent Office (EPO) | B2 | |
| DE4342377B4 | Germany | B4 |
48 legal events, as 4 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent expired after termination of 20 yearsExpiredPE20 | PE20 | GB | |
| Patent ceasedCeasedPL | PL | CH | |
| Expiry of rightR071 | R071 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Fr: translation filed ** decision concerning oppositionOppositionET3 | ET3 | EP | |
| Gb: translation of amended ep patent filed (gb section 77(6)(b)/1977)GBTA | GBTA | EP | |
| Scope or validity of the patent modifiedAUFRECHTERHALTUNG DES PATENTES IN GEAENDERTER FORMAEN | AEN | CH | |
| Patent maintained in amended form27A | 27A | EP | |
| Designated contracting statesAK | AK | EP | |
| Patent maintained in amended formORIGINAL CODE: 0009272PUAH | PUAH | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: PATENT MAINTAINED AS AMENDEDSTAA | STAA | EP | |
| Appeal procedure closedAppealORIGINAL CODE: EPIDOSNNOA9OAPBU | APBU | EP | |
| Appeal reference modifiedAppealORIGINAL CODE: EPIDOSCREFNOAPAH | APAH | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Appeal reference recordedAppealORIGINAL CODE: EPIDOS REFNAPAA | APAA | EP | |
| Appeal dossier modifiedAppealORIGINAL CODE: EPIDOS NOAPOAPAC | APAC | EP | |
| Appeal dossier modifiedAppealORIGINAL CODE: EPIDOS NOAPOAPAC | APAC | EP | |
| Interlocutory decision in oppositionOppositionORIGINAL CODE: EPIDOS IDOPPLAW | PLAW | EP | |
| European patent in force as of 2002-01-01IF02 | IF02 | GB | |
| Reply of patent proprietor to notice(s) of oppositionOppositionORIGINAL CODE: EPIDOS OBSOPLBF | PLBF | EP | |
| Reply of patent proprietor to notice(s) of oppositionOppositionORIGINAL CODE: EPIDOS OBSOPLBF | PLBF | EP | |
| Opposition filedOpposition26 | 26 | EP | |
| Reply of patent proprietor to notice(s) of oppositionOppositionORIGINAL CODE: EPIDOS OBSOPLBF | PLBF | EP | |
| Opposition filedOppositionORIGINAL CODE: 0009260PLBI | PLBI | EP | |
| Unpublished change to opponent dataORIGINAL CODE: EPIDOS OPPOPLBQ | PLBQ | EP | |
| Corresponds to:REF | REF | EP | |
| Gb: translation of ep patent filed (gb section 77(6)(a)/1977)GBT | GBT | EP | |
| Fr: translation filedET | ET | EP | |
| New agentNV | NV | CH | |
| Designated contracting statesAK | AK | EP | |
| Corresponds to:REF | REF | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| It: translation for a ep patent filedITF | ITF | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOS IGRAGRAH | GRAH | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOS IGRAGRAH | GRAH | EP | |
| Despatch of communication of intention to grantORIGINAL CODE: EPIDOS AGRAGRAG | GRAG | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0660209
- Publication, DOCDB
- 0660209
- Publication, EPODOC
- EP0660209
- Application
- 94119466
- Application, DOCDB
- 94119466
- Application, EPODOC
- EP19940119466
Titles3
- German
- Vorrichtung und Verfahren zur seriellen Datenübertragung zwischen einer Positionsmesseinrichtung und einer Verarbeitungseinheit
- English
- Method and device for serial transmission of data between a position sensing means and a data processing unit
- French
- Méthode et dispositif pour la transmission en série de données entre un appareil de mesure de position et une unité de traitement de données
Classification
- CPC, 7
- G05B19/4142
- G05B2219/33234
- G05B2219/33254
- G05B2219/34012
- G05B2219/37154
- G05B2219/37494
- H04L7/0008
- IPC, 1
- G05B19 414
Designated states7
- Contracting states, 7
- Austria
- Switzerland
- Germany
- France
- United Kingdom
- Italy
- Liechtenstein
