FR2706650A1 - Process for decoding the header of a communication message - Google Patents

Process for decoding the header of a communication message Download PDF

Info

Publication number
FR2706650A1
FR2706650A1 FR9307036A FR9307036A FR2706650A1 FR 2706650 A1 FR2706650 A1 FR 2706650A1 FR 9307036 A FR9307036 A FR 9307036A FR 9307036 A FR9307036 A FR 9307036A FR 2706650 A1 FR2706650 A1 FR 2706650A1
Authority
FR
France
Prior art keywords
flag
decoding
header
value
level
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.)
Granted
Application number
FR9307036A
Other languages
French (fr)
Other versions
FR2706650B1 (en
Inventor
Couvreux Alain
Solera Jose
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.)
Renault SAS
Regie Nationale des Usines Renault
Original Assignee
Renault SAS
Regie Nationale des Usines Renault
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 Renault SAS, Regie Nationale des Usines Renault filed Critical Renault SAS
Priority to FR9307036A priority Critical patent/FR2706650B1/en
Publication of FR2706650A1 publication Critical patent/FR2706650A1/en
Application granted granted Critical
Publication of FR2706650B1 publication Critical patent/FR2706650B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/03Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for
    • B60R16/0315Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for using multiplexing techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

Process for decoding a message header including a start bit with "0" level, the message being transmitted between a diagnostic station and at least one computer (1), through a linking bus (K), each computer including a central processing unit (CPU) and means for connecting the latter to the bus (K) comprising a port (Rx) and a serial communication interface (SCI) associated with a flag (FLAG), characterised in that it comprises the following steps repeated periodically: reading of the level of the signal on the bus (K) via the port (Rx); reading of the value of the flag (FLAG) associated with the serial communication interface; the decoding of the header being carried out when, for a duration corresponding to a header start bit, the level of the signal on the bus (K) and the value of the flag (FLAG) have been read at "0".

Description

PROCEDE DE DECODAGE DE L'EN-TÊTE D'UN
MESSAGE DE COMMUNICATION
La présente invention concerne un procédé de décodage de l'en-tête d'un message de communication. La présente invention concerne plus particulièrement un procédé de décodage de l'entête d'un message de communication émis depuis une station diagnostic, par le système électronique de contrôle d'un moteur à combustion interne ou par tout autre calculateur équipant un véhicule automobile.
METHOD FOR DECODING THE HEADER OF A
COMMUNICATION MESSAGE
The present invention relates to a method for decoding the header of a communication message. The present invention relates more particularly to a method for decoding the header of a communication message sent from a diagnostic station, by the electronic control system of an internal combustion engine or by any other computer equipping a motor vehicle.

Pour surveiller et/ou régler le fonctionnement des différents calculateurs électroniques implantés dans un véhicule automobile, tel que le système de contrôle moteur, le système de pilotage de la bote de vitesses, ou encore le système d'anti-blocage des freins, on utilise classiquement, Cf la figure 1, une station diagnostic apte à communiquer avec chacun des calculateurs pour recueillir les différentes informations caractéristiques de leur fonctionnement et/ou pour modifier leur paramètrage. To monitor and / or adjust the operation of the various electronic computers installed in a motor vehicle, such as the engine control system, the gearbox control system, or even the anti-lock brake system, conventionally, see FIG. 1, a diagnostic station capable of communicating with each of the computers in order to collect the various information characteristics of their operation and / or to modify their configuration.

La transmission des messages d'information entre les différents systèmes électroniques du véhicule et la station diagnostic s'opère, selon le protocole normatif IS08-9141, par l'intermédiaire de deux lignes multiplexées K et L. La ligne K sert à l'émission et à la réception des messages entre les calculateurs et la station diagnostic, tandis que la ligne L sert uniquement à l'émission de messages de la station vers les différents calculateurs. The transmission of information messages between the various electronic systems of the vehicle and the diagnostic station takes place, according to the normative protocol IS08-9141, via two multiplexed lines K and L. The line K is used for transmission and on receiving messages between the computers and the diagnostic station, while line L is used only for sending messages from the station to the various computers.

Les en-têtes des messages de communication utilisés entre la station diagnostic et les différents calculateurs embarqués contiennent traditionnellement une adresse permettant à chacun des calculateurs de reconnaître si le message envoyé par la station lui est destiné. La ligne L a plus précisément pour objet la transmission des codes adresses. The headers of the communication messages used between the diagnostic station and the various on-board computers traditionally contain an address allowing each of the computers to recognize whether the message sent by the station is intended for it. Line L more specifically relates to the transmission of address codes.

L'information transitant par la ligne L est redondante avec celle transitant sur la ligne K, mais elle offre une plus grande facilité de décodage par les différents systèmes récepteurs puisque les messages y sont uniquement des adressages à 5 bauds, alors que sur la ligne K les messages sont de natures différentes : adressages à 5 bauds et données à 10 kbauds. L'utilisation de la ligne L permet donc à l'unité centrale de chaque calculateur d'opérer une veille programmée à 5 bauds sur la ligne L et non pas à 10 kbauds sur la ligne K. The information passing through line L is redundant with that passing through line K, but it offers greater ease of decoding by the various receiving systems since the messages there are only 5 baud addresses, while on line K the messages are of different natures: addressing at 5 baud and data at 10 kbaud. The use of line L therefore allows the central unit of each computer to operate a scheduled watch at 5 baud on line L and not at 10 kbaud on line K.

La présence de la ligne L a toutefois pour inconvénient de renchérir la réalisation des différents calculateurs en obligeant notamment à prévoir un étage ou port d'entrée spécifique.  The presence of line L, however, has the drawback of making the construction of the various computers more expensive, in particular by requiring a specific stage or port of entry to be provided.

L'objet de la présente invention est donc de supprimer la ligne L et de ne plus utiliser que la seule ligne K pour véhiculer les messages d'informations entre la station diagnostic et les différents calculateurs, en proposant un procédé de décodage des en-têtes ou adresses des messages transitant par la ligne K.The object of the present invention is therefore to delete the line L and to use only the single line K to convey the information messages between the diagnostic station and the various computers, by proposing a method for decoding the headers or addresses of messages passing through line K.

Le procédé objet de l'invention offre l'avantage d'être parfaitement adapté à la technologie des calculateurs utilisés actuellement sur les véhicules automobiles et notamment des systèmes électroniques de contrôle moteur, et d'être particulièrement simple et économe à mettre en oeuvre, puisque qu'aucun surcoût matériel n'est nécessaire. The process which is the subject of the invention offers the advantage of being perfectly suited to the technology of computers currently used on motor vehicles and in particular of electronic engine control systems, and of being particularly simple and economical to implement, since no additional material costs are necessary.

Le procédé de décodage selon l'invention, d'un en-tête de message de communication comportant un bit de départ au niveau "0", est utilisé pour les messages transmis entre au moins deux calculateurs à travers une unique ligne de liaison, l'un au moins des calculateurs comportant une unité centrale et des moyens de connexion de l'unité centrale avec la ligne de liaison comprenant un port et une interface de communication série servant au décodage des données sous forme d'octets directement interprétables par l'unité centrale. The decoding method according to the invention, of a communication message header comprising a start bit at level "0", is used for messages transmitted between at least two computers through a single link line, l '' at least one of the computers comprising a central unit and means for connecting the central unit to the connection line comprising a port and a serial communication interface used for decoding data in the form of bytes directly interpretable by the unit central.

Selon l'invention, le procédé de décodage de l'en-tête d'un message de communication est caractérisé en ce que le décodage de l'en-tête est opéré par l'interface de communication série fonctionnant à une vitesse appropriée.  According to the invention, the method for decoding the header of a communication message is characterized in that the decoding of the header is operated by the serial communication interface operating at an appropriate speed.

Selon une autre caractéristique du procédé de décodage d'un en-tête de message de communication selon l'invention, l'interface de communication série est associée à un drapeau destiné à informer l'unité centrale du décodage d'une donnée par l'interface de communication série et à des moyens de stockage des octets décodés. Le procédé comprend alors les étapes suivantes, répétées périodiquement
lecture du niveau du signal sur la ligne de liaison
lecture de la valeur du drapeau associé à l'interface de communication série le décodage de l'en-tête étant alors opéré lorsque pendant une durée correspondant sensiblement à un bit de départ d'en-tête, le niveau logique du signal sur la ligne de liaison et la valeur du drapeau ont été lus à "0".
According to another characteristic of the method for decoding a communication message header according to the invention, the serial communication interface is associated with a flag intended to inform the central unit of the decoding of a data by the serial communication interface and means for storing the decoded bytes. The process then includes the following steps, repeated periodically
signal level reading on the connection line
reading of the value of the flag associated with the serial communication interface, the decoding of the header then being operated when for a duration corresponding substantially to a start bit of the header, the logic level of the signal on the line link and the flag value were read at "0".

Selon une autre caractéristique du procédé de décodage d'un en-tête de message de communication selon l'invention, l'un des calculateurs est formé par le calculateur d'une station diagnostic et l'autre calculateur est formé par le calculateur du système de contrôle moteur d'un véhicule automobile à moteur à combustion interne. According to another characteristic of the method for decoding a communication message header according to the invention, one of the computers is formed by the computer of a diagnostic station and the other computer is formed by the system computer control unit of a motor vehicle with internal combustion engine.

Selon une autre caractéristique du procédé de décodage d'un en-tête de message de communication selon l'invention, la valeur "1" du drapeau est assimilée à la valeur "O" lorsque l'octet correspondant décodé par l'interface de communication série est à la valeur O et lorsque le niveau "O" a été lu lors de la dernière ou lors des deux dernières lectures effectuées sur la ligne de liaison. According to another characteristic of the method for decoding a communication message header according to the invention, the value "1" of the flag is assimilated to the value "O" when the corresponding byte decoded by the communication interface series is at value O and when the level "O" has been read during the last or during the last two readings carried out on the connection line.

Selon une autre caractéristique du procédé de décodage d'un en-tête de message de communication selon l'invention, la période prédéterminée choisie pour venir lire le niveau de la ligne de liaison et la valeur du drapeau associé à l'interface de communication série est inférieure ou égale au dixième de la durée du bit de départ de l'en-tête. According to another characteristic of the method for decoding a communication message header according to the invention, the predetermined period chosen to read the level of the connection line and the value of the flag associated with the serial communication interface is less than or equal to one tenth of the duration of the start bit of the header.

Selon un mode de réalisation de l'invention, la période de lecture est sensiblement égale à 16 ms tandis que la durée du bit de départ est de 200 ms, le décodage de l'en-tête étant alors opéré lorsque 12 fois consécutivement, le niveau du signal sur la ligne de liaison et la valeur du drapeau ont été lus à "0". According to one embodiment of the invention, the reading period is substantially equal to 16 ms while the duration of the start bit is 200 ms, the decoding of the header being then operated when 12 times consecutively, the signal level on the connection line and the flag value were read at "0".

On comprendra mieux les buts, aspects et avantages de la présente invention, d'après la description présentée ci-après d'un mode de réalisation de l'invention, donné à titre d'exemple non limitatif, en se référant au dessin annexé, dans lequel
- la figure 1 représente le système de communication, selon l'art antérieur, entre une station de diagnostic et les différents calculateurs d'un véhicule automobile
- la figure 2 est un schéma partiel du calculateur du système de contrôle moteur selon l'invention, connecté à une station diagnostic par la seul ligne K
- la figure 3 est un chronogramme précisant la forme d'un en-tête de message ;
- la figure 4 est un chronogramme précisant la forme des données contenues dans un message à la suite de l'en-tête
- la figure 5 est un organigramme précisant les différentes étapes du procédé de décodage selon l'invention.
The aims, aspects and advantages of the present invention will be better understood from the description presented below of an embodiment of the invention, given by way of nonlimiting example, with reference to the attached drawing, in which
- Figure 1 shows the communication system, according to the prior art, between a diagnostic station and the various computers of a motor vehicle
- Figure 2 is a partial diagram of the computer of the engine control system according to the invention, connected to a diagnostic station by the single line K
- Figure 3 is a timing diagram specifying the form of a message header;
- Figure 4 is a timing diagram specifying the form of the data contained in a message following the header
- Figure 5 is a flowchart specifying the different steps of the decoding method according to the invention.

Conformément aux figures, seuls les éléments nécessaires à la compréhension de l'invention ont été figurés. In accordance with the figures, only the elements necessary for understanding the invention have been shown.

En se reportant à la figure 2, le calculateur 1 constituant le système électronique de contrôle moteur d'un véhicule automobile, comprend classiquement un calculateur du type comportant une unité centrale ou CPU, une mémoire vive ou RAM, une mémoire morte ou ROM, des convertisseurs analogiques-numériques et différentes interfaces d'entrées et de sorties I/O. Referring to FIG. 2, the computer 1 constituting the electronic engine control system of a motor vehicle, conventionally comprises a computer of the type comprising a central unit or CPU, a random access memory or RAM, a read only memory or ROM, analog-to-digital converters and various I / O input and output interfaces.

Le calculateur 1 selon l'invention, est donc apte à communiquer avec le calculateur d'une station diagnostic par l'intermédiaire d'une seule ligne ou bus de liaison K. La réception des messages en provenance de la ligne K est classiquement assurée par l'intermédiaire d'un port de connexion Rx permettant à l'unité centrale de suivre l'état à "1" ou "0" de la ligne K, encore appelés respectivement niveaux "haut" et niveau "bas". The computer 1 according to the invention is therefore able to communicate with the computer of a diagnostic station by means of a single line or link bus K. Reception of messages from line K is conventionally ensured by via a connection port Rx allowing the central unit to follow the state at "1" or "0" of line K, also called respectively "high" and "low" levels.

Les messages transitant par la ligne K, sont également traités en parallèle par une interface de communication série SCI ayant pour fonction de transformer les données contenues dans les messages en octets directement interprétables par l'unité centrale. L'interface de communication série est couplée à un drapeau FLAG destiné à signaler à l'unité centrale l'acquisition d'une donnée par l'interface de communication série et à une case mémoire OCT pour le stockage de l'octet correspondant. The messages passing through the line K are also processed in parallel by a serial communication interface SCI whose function is to transform the data contained in the messages into bytes directly interpretable by the central unit. The serial communication interface is coupled to a FLAG flag intended to signal to the central unit the acquisition of data by the serial communication interface and to an OCT memory box for storing the corresponding byte.

Dans le protocole de transmission choisi le niveau "1" sur la ligne K est récessif tandis que le niveau "0" est considéré comme dominant. Ainsi le passage du niveau "1" au niveau "0" indique le début d'un message. In the transmission protocol chosen, level "1" on line K is recessive while level "0" is considered to be dominant. Thus the passage from level "1" to level "0" indicates the beginning of a message.

Les figures 3 et 4 présentent sous forme simplifiée la structure des messages transitant sur la ligne K et notamment des messages émis par la station diagnostic à l'attention des calculateurs. Figures 3 and 4 show in simplified form the structure of the messages traveling on the line K and in particular of the messages sent by the diagnostic station to the attention of the computers.

Chaque message comporte un en-tête, représenté à la figure 3, à 5 bauds et comportant un bit de départ, état à "0" de la ligne pendant une durée égale à 200 ms et 8 bits de données définissant l'adresse du calculateur concerné. Après l'en-tête, le message est constitué par les données proprement dites formées par des champs de bits à 10 kbauds.Each message has a header, represented in FIG. 3, at 5 baud and comprising a start bit, state at "0" of the line for a duration equal to 200 ms and 8 data bits defining the address of the computer. concerned. After the header, the message consists of the actual data formed by 10 kbaud bit fields.

Chaque donnée élémentaire émise pendant 1 ms se présente, Cf la figure 4, sous la forme d'un bit de départ de 100 ys à "0", par 8 bits définissant la donnée et par un bit de stop à "1".Each elementary datum transmitted for 1 ms is presented, cf. FIG. 4, in the form of a start bit of 100 ys at "0", by 8 bits defining the datum and by a stop bit at "1".

Conformément à l'organigramme de la figure 5, le procédé selon l'invention pour permettre à l'unité centrale de lire les en-têtes des messages transitant par la ligne K, est décrit ci-après. According to the flow diagram of FIG. 5, the method according to the invention for enabling the central unit to read the headers of the messages passing through the line K, is described below.

Pour reconnaître un en-tête de message, il est donc nécessaire de reconnaître un état stable à "0" pendant 200 ms. Pour ce faire, on vient lire périodiquement l'état de la ligne K à travers le port Rx. Pour optimiser le fonctionnement de l'unité centrale, on choisi une période suffisamment longue pour ne pas la surcharger, mais également suffisamment courte pour pouvoir cerner avec précision le bit de départ. On peut donc adopter comme période prédéterminée pour venir lire le niveau de la ligne de liaison l'interface de communication série, une durée choisie inférieure ou égale au dixième de la durée du bit de départ de l'en-tete, par exemple toute les 16ms.  To recognize a message header, it is therefore necessary to recognize a stable state at "0" for 200 ms. To do this, we come periodically to read the state of line K through port Rx. To optimize the operation of the central unit, a period long enough not to overload it is chosen, but also short enough to be able to accurately define the start bit. It is therefore possible to adopt as a predetermined period for coming to read the level of the connection line the serial communication interface, a chosen duration less than or equal to one tenth of the duration of the start bit of the header, for example all the 16ms.

Un en-tête de message est alors caractérisé par la détection de 12 états successifs à "0" sans qu'entre deux états à "0" il n'y est eu de passage au niveau "1". A message header is then characterized by the detection of 12 successive states at "0" without between two states at "0" there has been a change to level "1".

Pour vérifier qu'entre deux lectures successives à "0" du niveau de la ligne K, il n'y a eu aucun passage à la valeur "1", on utilise alors l'information contenue dans le drapeau FLAG associé à l'interface de communication série SCI.  To verify that between two successive readings at "0" of the level of line K, there has been no change to the value "1", we then use the information contained in the FLAG flag associated with the interface of serial communication SCI.

L'interface de communication série, dont le rôle est de transcrire les données contenues dans les messages sous forme d'octets directement interprétables par l'unité centrale, fonctionne à une vitesse élevée de 10 kbauds et à chaque donnée décodée met à "1" le drapeau destiné à avertir l'unité centrale. The serial communication interface, the role of which is to transcribe the data contained in the messages in the form of bytes directly interpretable by the central unit, operates at a high speed of 10 kbauds and with each decoded data sets to "1" the flag intended to warn the central unit.

Il suffit donc pour s'assurer qu'entre deux lectures successives du niveau de la ligne K, il n'y a eu aucun passage à la valeur "1", de venir lire après chaque mesure du port Rx, la valeur du drapeau. En effet, si la valeur du drapeau est à "0" cela montre qu'il n'y a eu aucune donnée décodée pendant le dernier intervalle et donc aucun passage à "1" du niveau de la ligne K, tandis que si cette valeur est à "1", cela indique qu'au contraire une donnée a été détectée, sous réserve toutefois de l'interprétation par l'interface de communication série du début du bit de départ à 5 bauds comme un départ de bit à 10 kbauds. It is therefore sufficient to ensure that between two successive readings of the level of line K, there has been no change to the value "1", to come and read after each measurement of the port Rx, the value of the flag. Indeed, if the value of the flag is "0" it shows that there was no data decoded during the last interval and therefore no change to "1" in the level of line K, while if this value is "1", this indicates that, on the contrary, a datum has been detected, subject however to the interpretation by the serial communication interface of the start of the start bit at 5 baud as a start of bit at 10 kbaud.

Le procédé de décodage de l'en-tete d'un message transitant par la ligne K consiste donc à venir périodiquement, par exemple toute les 16 ms, lire l'état de la ligne K, via le port Rx. Soit cet état est à "1" et on en déduit qu'il n'y a alors pas d'émission d'un bit de départ, on opère alors la réinitialisation d'un compteur CPT et du drapeau. Soit cet état est à "0", et on va alors lire la valeur du drapeau. The method for decoding the header of a message passing through the line K therefore consists of coming periodically, for example every 16 ms, to read the state of the line K, via the Rx port. Either this state is at "1" and we deduce that there is then no transmission of a start bit, we then carry out the reset of a counter CPT and of the flag. Either this state is "0", and we will then read the value of the flag.

Soit le drapeau FLAG est à "0" et il n'y a donc eu aucune donnée d'émise sur la ligne K pendant les dernières 16 ms, la ligne K est donc restée uniformément au niveau logique "0" pendant cet intervalle et on incrémente le compteur CPT d'une unité. Either the FLAG flag is at "0" and there has therefore been no data transmitted on line K during the last 16 ms, line K has therefore remained uniformly at logic level "0" during this interval and we increments the CPT counter by one.

Soit le drapeau FLAG a pris la valeur "1" et donc une donnée a été décodée par la SCI, la ligne K n'est donc pas restée au niveau "0", on n'assiste donc pas à la transmission de l'en-tete d'un message. Dans ce cas on remet à "0" le compteur CPT ainsi que le drapeau FLAG. I1 convient toutefois de vérifier si la donnée décodée ne correspond pas au début du bit de départ à 5 bauds qui a été interprété par l'interface de communication série comme un départ de bit à 10 kbauds. Pour confirmer cette possibilité on vérifie que le compteur CPT est inférieure ou égale à 1, c'est-à-dire que l'on se situe au début d'un éventuel bit de départ, et que l'octet décodé OCT et stocké dans la case mémoire 7 est à 00. Dans ce cas on réinitialise le drapeau et on incrémente le compteur CPT, sinon on remet à "0" le compteur CPT ainsi que le FLAG. Either the FLAG flag has taken the value "1" and therefore a datum has been decoded by the SCI, the line K has therefore not remained at the level "0", we are therefore not witnessing the transmission of the -head of a message. In this case, the CPT counter and the FLAG flag are reset to "0". It should however be checked whether the decoded data does not correspond to the start of the start bit at 5 baud which has been interpreted by the serial communication interface as a start of bit at 10 kbaud. To confirm this possibility, it is checked that the counter CPT is less than or equal to 1, that is to say that it is located at the start of a possible start bit, and that the decoded byte OCT and stored in memory box 7 is at 00. In this case, the flag is reset and the CPT counter is incremented, otherwise the CPT counter and the FLAG are reset to "0".

Il est à noter que plus l'intervalle de lecture sur la ligne K est faible, par exemple 8 ms au lieu de 16 ms, moins ce dernier test présente d'intérêt. It should be noted that the smaller the reading interval on line K, for example 8 ms instead of 16 ms, the less this latter test is of interest.

Lorsque le compteur CPT a atteint la valeur 12, on peut alors considérer qu'un bit de départ à 5 bauds d'une adresse de message a été décodé et l'unité centrale peut alors opérer classiquement le décodage complet de l'adresse et éventuellement si cette adresse est la sienne se mettre en situation de réception de données.  When the counter CPT has reached the value 12, it can then be considered that a start bit at 5 baud of a message address has been decoded and the central unit can then conventionally operate the complete decoding of the address and possibly if this address is his put in situation of reception of data.

Ainsi, grâce au procédé selon l'invention, le calculateur 1 peut décoder avec ses seules ressources et à partir d'une seule ligne K les entêtes des messages et adapter son fonctionnement en conséquence et ce, tout en faisant fonctionner son unité centrale à 5 bauds en mode veille. Thus, thanks to the method according to the invention, the computer 1 can decode with its only resources and from a single line K the headers of the messages and adapt its operation accordingly, while operating its central unit at 5 bauds in standby mode.

Bien entendu, l'invention n'est nullement limitée au mode de réalisation décrit et illustré qui n'a été donné qu'à titre d'exemple. Of course, the invention is in no way limited to the embodiment described and illustrated, which has been given only by way of example.

Au contraire, l'invention comprend tous les équivalents techniques des moyens décrits ainsi que leurs combinaisons si celles-ci sont effectuées suivant son esprit.  On the contrary, the invention includes all the technical equivalents of the means described and their combinations if these are carried out according to the spirit.

Claims (1)

REVENDICATIONS C13 Procédé de décodage d'un en-tête de message de communication comportant un bit de départ au niveau "0", ledit message étant transmis entre au moins deux calculateurs à travers une unique ligne de liaison (K), l'un au moins des calculateurs comportant une unité centrale (CPU) et des moyens de connexion de l'unité centrale (CPU) avec la ligne de liaison (K) comprenant un port (Rx) et une interface de communication série (SCI) servant au décodage des données sous forme d'octets directement interprétables par l'unité centrale (CPU), caractérisé en ce que le décodage de l'entête est opéré par de l'interface de communication série (SCI) fonctionnant à une vitesse appropriée. C13 Method for decoding a communication message header comprising a start bit at the "0" level, said message being transmitted between at least two computers through a single link line (K), at least one computers comprising a central unit (CPU) and means for connecting the central unit (CPU) with the connection line (K) comprising a port (Rx) and a serial communication interface (SCI) used for decoding the data in the form of bytes directly interpretable by the central unit (CPU), characterized in that the decoding of the header is carried out by the serial communication interface (SCI) operating at an appropriate speed. [2 Procédé de décodage d'un en-tête de message de communication selon la revendication 1, caractérisé en ce que, ladite interface (SCI) étant associée à un drapeau (FLAG) pour informer l'unité centrale (CPU) du décodage d'une donnée et à des moyens de stockage (OCT) de l'octet correspondant, il comprend les étapes suivantes, répétées selon une période prédéterminée [2 Method for decoding a communication message header according to claim 1, characterized in that, said interface (SCI) being associated with a flag (FLAG) to inform the central unit (CPU) of the decoding d '' a data and storage means (OCT) of the corresponding byte, it includes the following steps, repeated according to a predetermined period lecture du niveau du signal sur la ligne de liaison (K) ;  reading of the signal level on the connection line (K); lecture de la valeur du drapeau (FLAG) associé à l'interface de communication série ; le décodage de l'en-tête étant alors opéré lorsque pendant une durée correspondant sensiblement à un bit de départ d'en-tête, le niveau logique du signal sur la ligne de liaison (K) et la valeur du drapeau (FLAG) ont été lus à "0". reading of the flag value (FLAG) associated with the serial communication interface; the decoding of the header then being operated when for a duration corresponding substantially to a start bit of the header, the logic level of the signal on the connection line (K) and the value of the flag (FLAG) have been read at "0". t3] Procédé de décodage d'un en-tête de message de communication selon la revendication 2, caractérisé en ce qu'un calculateur est formé par le calculateur d'une station diagnostic et que l'autre calculateur (1) est formé par le calculateur du système de contrôle moteur d'un véhicule automobile à moteur à combustion interne. t3] Method for decoding a communication message header according to claim 2, characterized in that a computer is formed by the computer of a diagnostic station and that the other computer (1) is formed by the computer for the engine control system of a motor vehicle with an internal combustion engine. [4] Procédé de décodage d'un en-tête de message de communication selon l'une quelconque des revendications 2 à 3, caractérisé en ce que la valeur à "1" du drapeau (FLAG) est assimilée à la valeur "0" lorsque l'octet correspondant contenu dans les moyens de stockage (OCT) est à la valeur 0 et lorsque le niveau "0" a été lu lors de la dernière ou lors des deux dernières lectures effectuées sur la ligne de liaison (R).  [4] Method for decoding a communication message header according to any one of claims 2 to 3, characterized in that the value at "1" of the flag (FLAG) is assimilated to the value "0" when the corresponding byte contained in the storage means (OCT) is at the value 0 and when the level "0" has been read during the last or during the last two readings carried out on the connection line (R). [5] Procédé de décodage d'un en-tête de message de communication selon l'une quelconque des revendications 2 à 4, caractérisé en ce que la période prédéterminée choisie pour venir lire le niveau de la ligne de liaison (K) et la valeur du drapeau (FLAG) associé à l'interface de communication série (SCI) est inférieure ou égale au dixième de la durée du bit de départ de l'entête. [5] Method for decoding a communication message header according to any one of claims 2 to 4, characterized in that the predetermined period chosen to read the level of the connection line (K) and the value of the flag (FLAG) associated with the serial communication interface (SCI) is less than or equal to one tenth of the duration of the start bit of the header. [6] Procédé de décodage d'un en-tête de message de communication selon la revendication 5, caractérisé en ce ladite période est sensiblement égale à 16 ms tandis que la durée du bit de départ est de 200 ms, le décodage de l'en-tête étant alors opéré lorsque 12 fois consécutivement, le niveau logique du signal sur la ligne de liaison (K) et la valeur du drapeau (FLAG) ont été lus à "0".  [6] Method for decoding a communication message header according to claim 5, characterized in that said period is substantially equal to 16 ms while the duration of the start bit is 200 ms, the decoding of the header then being operated when 12 times consecutively, the logic level of the signal on the connection line (K) and the value of the flag (FLAG) have been read at "0".
FR9307036A 1993-06-11 1993-06-11 Method for decoding the header of a communication message. Expired - Fee Related FR2706650B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR9307036A FR2706650B1 (en) 1993-06-11 1993-06-11 Method for decoding the header of a communication message.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR9307036A FR2706650B1 (en) 1993-06-11 1993-06-11 Method for decoding the header of a communication message.

Publications (2)

Publication Number Publication Date
FR2706650A1 true FR2706650A1 (en) 1994-12-23
FR2706650B1 FR2706650B1 (en) 1995-08-04

Family

ID=9448019

Family Applications (1)

Application Number Title Priority Date Filing Date
FR9307036A Expired - Fee Related FR2706650B1 (en) 1993-06-11 1993-06-11 Method for decoding the header of a communication message.

Country Status (1)

Country Link
FR (1) FR2706650B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2029172A (en) * 1978-09-05 1980-03-12 Motorola Inc NRZ/biphase microcomputer serial communication logic
EP0404649A1 (en) * 1989-06-23 1990-12-27 Automobiles Peugeot Device for generating a bit-masking signal during dynamic comparison of a serial data stream with a reference
WO1993007569A1 (en) * 1991-10-04 1993-04-15 Wellfleet Communications, Inc. Method and apparatus for concurrent packet bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2029172A (en) * 1978-09-05 1980-03-12 Motorola Inc NRZ/biphase microcomputer serial communication logic
EP0404649A1 (en) * 1989-06-23 1990-12-27 Automobiles Peugeot Device for generating a bit-masking signal during dynamic comparison of a serial data stream with a reference
WO1993007569A1 (en) * 1991-10-04 1993-04-15 Wellfleet Communications, Inc. Method and apparatus for concurrent packet bus

Also Published As

Publication number Publication date
FR2706650B1 (en) 1995-08-04

Similar Documents

Publication Publication Date Title
FR2965374A1 (en) MASTER-SLAVE COMMUNICATION ON A UNIFILARY BUS BETWEEN A MASTER CIRCUIT AND AT LEAST TWO SLAVE CIRCUITS
WO2006030129A1 (en) Method and system for managing and linking machines with users or other machines that are remote
FR2565714A1 (en) Remote monitoring and management method and system used and consulted by videotex terminal
FR2706650A1 (en) Process for decoding the header of a communication message
EP3376388A1 (en) A communication method for communicating computer data between at least one aircraft and at least one separate piece of electronic equipment
FR3074629A1 (en) METHOD FOR MANAGING THE ELECTRIC CONSUMPTION OF AN ELECTRONIC DEVICE
FR2988934A1 (en) COMMUNICATION DEVICE AND METHOD FOR ERROR PROGRAMMING OR CORRECTION OF ONE OR MORE PARTICIPANTS OF THE COMMUNICATION DEVICE
EP0380378B1 (en) Method and device for the hierarchical access to an information transmission network
FR2679723A1 (en) METHOD FOR TRANSMITTING DIGITAL DATA TRANSMITTED IN THE FORM OF DIFFERENTIAL SIGNAL FRAMES.
FR2643481A1 (en) METHOD AND DEVICE FOR TRANSMITTING INFORMATION BETWEEN STATIONS IN A COMMUNICATION NETWORK, IN PARTICULAR FOR A MOTOR VEHICLE
FR2938993A1 (en) METHOD FOR MEASURING THE PERFORMANCE OF AN IP NETWORK AND SYSTEM THEREFOR
EP3284220A1 (en) Communication network
FR3076161A1 (en) (EN) SLAVE ORGAN FAULT SUPERVISION DEVICE (S) FOR A MASTER ORGAN OF A MULTIPLEX NETWORK.
FR2804211A1 (en) Vehicle fault diagnostic method using computer to check for faults in engine computer and air conditioning computer has also remote signaling of any faults found
FR3052944B1 (en) METHOD FOR SEGMENTING HIGH-PERFORMANCE DATA
EP0924893B1 (en) Secure communication procedure
FR2884630A1 (en) Engine controller`s communication protocol adapting system for motor vehicle, has similar and reversed identifiers used in communication protocols, where one identifier corresponds to question and response messages for respective protocols
EP3389232A1 (en) Method for configuration of message distribution
FR2607648A1 (en) METHOD AND DEVICE FOR FAST TRANSMISSION OF DATA BETWEEN A TRANSMITTER AND A RECEIVER BY STANDARD SERIAL LINK
FR2699351A1 (en) Device for connecting a device to a transmission channel.
FR3122059A1 (en) Vehicle event data communication method, device and system
FR2899986A1 (en) Electronic controller configuring method for motor vehicle, involves storing diffused address in address field associated to pre-stored identifiers when diffused identifiers correspond to one of pre-stored identifiers
FR2835673A1 (en) Automation equipment having an instant messaging communication capability enabling its remote real-time command and control via a third party connected to an instant messaging server
CN114024945A (en) IPv 6-based mobile terminal real-time multimedia data stream transmission system and method
WO1997026738A1 (en) Process for the time managing of a multiplex bus according to norm arinc 629

Legal Events

Date Code Title Description
ST Notification of lapse