FR3145661A1 - Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle - Google Patents
Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle Download PDFInfo
- Publication number
- FR3145661A1 FR3145661A1 FR2301065A FR2301065A FR3145661A1 FR 3145661 A1 FR3145661 A1 FR 3145661A1 FR 2301065 A FR2301065 A FR 2301065A FR 2301065 A FR2301065 A FR 2301065A FR 3145661 A1 FR3145661 A1 FR 3145661A1
- Authority
- FR
- France
- Prior art keywords
- data bus
- type
- identifier
- vehicle
- signal
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
- H04L12/40136—Nodes adapting their rate to the physical link properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Quality & Reliability (AREA)
- Small-Scale Networks (AREA)
Abstract
L’invention concerne un procédé de détermination d’un type de bus de données utilisé pour la transmission de signaux entre périphériques dans un véhicule, ledit procédé comprenant les étapes suivantes :a) réception (21) d’un signal transmis sur ledit bus de données ;b) extraction (22) d’un premier identifiant à partir dudit signal reçu ;c) si ledit premier identifiant correspond à un deuxième identifiant mémorisé (23), alors le type de bus de données est déterminé (24) comme étant un bus de données d’un premier type ;sinon les étapes a), b) et c) sont itérées tant qu’une condition d’arrêt n’est pas vérifiée (25) ;si la condition d’arrêt est vérifiée (25), le type de bus de données est déterminé (26) comme étant un bus de données d’un deuxième type appartenant à un ensemble d’au moins un type de bus de données. Figure pour l’abrégé : Figure 3 The invention relates to a method for determining a type of data bus used for transmitting signals between peripherals in a vehicle, said method comprising the following steps: a) receiving (21) a signal transmitted on said data bus; b) extracting (22) a first identifier from said received signal; c) if said first identifier corresponds to a second stored identifier (23), then the type of data bus is determined (24) as being a data bus of a first type; otherwise steps a), b) and c) are iterated until a stop condition is verified (25); if the stop condition is verified (25), the type of data bus is determined (26) as being a data bus of a second type belonging to a set of at least one type of data bus. Abstract: Figure 3
Description
L’invention concerne les procédés et dispositifs de détermination d’un type de bus de données d’un véhicule, notamment de type automobile. L’invention concerne également plus particulièrement un procédé et un dispositif d’adaptation d’un périphérique relié à un bus de données d’un véhicule.The invention relates to methods and devices for determining a type of data bus of a vehicle, in particular of the automobile type. The invention also relates more particularly to a method and a device for adapting a peripheral connected to a data bus of a vehicle.
Les véhicules contemporains embarquent nombre de périphériques intégrant des calculateurs assurant chacun une ou plusieurs fonctions, telles que par exemple la gestion de l’aide à la conduite, de l’antipatinage, de la répartition électronique du freinage, la commande d’actionneurs pour assurer le fonctionnement optimal d’un moteur à combustion ou encore la gestion d’une interface homme machine (IHM).Contemporary vehicles have a number of peripherals incorporating computers, each of which performs one or more functions, such as, for example, the management of driving assistance, anti-skid, electronic brake distribution, the control of actuators to ensure the optimal operation of a combustion engine or the management of a human-machine interface (HMI).
Ces calculateurs sont reliés entre eux via un bus de données série multiplexé de type CAN (de l’anglais « Controller Area Network » ou en français « Réseau de contrôleurs »). Les bus de données de type CAN existent dans différentes versions, comme le bus CAN LS (de anglais « Low Speed », en français « Faible vitesse », le débit maximal étant approximativement de 125Kbit/s), le bus CAN HS (de anglais « High Speed », en français « Grande vitesse », le débit maximal étant approximativement de 1Mbit/s), le bus CAN FD (de l’anglais « Flexible Data-Rate », en français « Débit de données Flexible »).These computers are connected to each other via a multiplexed serial data bus of the CAN type (from the English "Controller Area Network" or in French "Network of controllers"). CAN data buses exist in different versions, such as the CAN LS bus (from the English "Low Speed", in French "Faible vitesse", the maximum flow rate being approximately 125Kbit/s), the CAN HS bus (from the English "High Speed", in French "Grande vitesse", the maximum flow rate being approximately 1Mbit/s), the CAN FD bus (from the English "Flexible Data-Rate", in French "Débit de données Flexible").
Le codage des signaux qui y transitent est donc différent selon la version du bus CAN. Ainsi, un périphérique intégrant un calculateur développé pour être installé sur une certaine version de bus CAN ne pourra pas être installé sur une deuxième version de bus CAN, les calculateurs n’étant pas compatibles avec plusieurs versions de bus CAN.The coding of the signals that pass through it is therefore different depending on the version of the CAN bus. Thus, a device integrating a calculator developed to be installed on a certain version of the CAN bus cannot be installed on a second version of the CAN bus, since the calculators are not compatible with several versions of the CAN bus.
L’ensemble bus de données et calculateurs forme le système embarqué du véhicule. Ces calculateurs sont aussi appelés UCE (« Unité de Commande Electronique » ou en anglais ECU « Electronic Control Unit »). Ces calculateurs embarquent des logiciels qui sont exécutés pour assurer les fonctions dont ils ont la charge.The data bus and calculators together form the vehicle's on-board system. These calculators are also called ECUs ("Electronic Control Units"). These calculators carry software that is executed to perform the functions for which they are responsible.
Un calculateur est implanté dans un périphérique déterminé, en fonction du type de bus de données utilisé pour la transmission de signaux entre périphériques d’un véhicule. Un tel calculateur n’est donc pas compatible avec l’ensemble des bus de données utilisé dans plusieurs véhicules.A computer is installed in a specific device, depending on the type of data bus used for transmitting signals between devices in a vehicle. Such a computer is therefore not compatible with all data buses used in several vehicles.
Lors de la configuration du véhicule en usine, il est alors nécessaire de connaître les différents calculateurs qui peuvent équiper un véhicule et leurs compatibilités avec les différentes versions de bus de données installées dans le véhicule pour pouvoir configurer ces différents calculateurs.When configuring the vehicle at the factory, it is then necessary to know the different computers that can equip a vehicle and their compatibility with the different versions of data bus installed in the vehicle in order to be able to configure these different computers.
Un objet de l’invention est de résoudre au moins un des problèmes de l’art antérieur, par exemple de déterminer le type d’un bus de données utilisé pour la transmission de signaux entre périphériques dans un véhicule.An object of the invention is to solve at least one of the problems of the prior art, for example to determine the type of a data bus used for the transmission of signals between peripherals in a vehicle.
Selon un premier aspect, l’invention concerne un procédé de détermination d’un type de bus de données utilisé pour la transmission de signaux entre périphériques dans un véhicule, le procédé étant mis en œuvre par au moins un processeur embarqué dans le véhicule, le procédé comprenant les étapes suivantes :
a) réception d’un signal transmis sur le bus de données ;
b) extraction d’un premier identifiant à partir du signal reçu ;
c) si le premier identifiant correspond à un deuxième identifiant mémorisé, alors le type de bus de données est déterminé comme étant un bus de données d’un premier type;
sinon les étapes a), b) et c) sont itérées tant qu’une condition d’arrêt n’est pas vérifiée ;
si la condition d’arrêt est vérifiée, le type de bus de données est déterminé comme étant un bus de données d’un deuxième type appartenant à un ensemble d’au moins un type de bus de données.According to a first aspect, the invention relates to a method for determining a type of data bus used for the transmission of signals between peripherals in a vehicle, the method being implemented by at least one processor on board the vehicle, the method comprising the following steps:
a) reception of a signal transmitted on the data bus;
b) extracting a first identifier from the received signal;
(c) if the first identifier matches a stored second identifier, then the data bus type is determined to be a data bus of a first type;
otherwise steps a), b) and c) are iterated until a stopping condition is met;
if the stop condition is verified, the data bus type is determined to be a data bus of a second type belonging to a set of at least one data bus type.
Le procédé permet au dispositif le mettant en œuvre de déterminer le type de bus de données auquel il est relié. Le dispositif adapte ainsi son interface de communication au bus de données auquel il est relié et peut alors communiquer avec les autres périphériques reliés à ce même bus de données. La configuration ou mise à jour, notamment logicielle, en usine ou dans un service après-vente de ce dispositif est donc facilitée comparée à la configuration d’un dispositif qui ne mettrait pas en œuvre ce procédé.The method allows the device implementing it to determine the type of data bus to which it is connected. The device thus adapts its communication interface to the data bus to which it is connected and can then communicate with the other peripherals connected to this same data bus. The configuration or update, in particular software, in the factory or in an after-sales service of this device is therefore facilitated compared to the configuration of a device which would not implement this method.
Selon une variante du procédé, une condition d’arrêt est vérifiée lorsqu’un nombre prédéterminé de signaux est reçu.According to a variant of the method, a stopping condition is verified when a predetermined number of signals is received.
Selon une autre variante du procédé, une condition d’arrêt est vérifiée lorsqu’un intervalle de temps s’est écoulé depuis une réception d’un premier signal.According to another variant of the method, a stopping condition is verified when a time interval has elapsed since receipt of a first signal.
Ces conditions d’arrêt évitent ainsi au procédé d’être suivi indéfiniment.These stopping conditions thus prevent the process from being followed indefinitely.
Selon une variante du procédé, les premier et deuxième identifiants correspondent à une adresse d’un périphérique.According to a variant of the method, the first and second identifiers correspond to an address of a device.
Selon une variante du procédé, le premier identifiant est codé sur 11 bits.According to a variant of the method, the first identifier is coded on 11 bits.
Selon une variante du procédé le bus de données est un bus de données série.According to a variant of the method the data bus is a serial data bus.
Selon une variante du procédé le bus de données est un bus de données CAN.According to a variant of the method the data bus is a CAN data bus.
Selon un deuxième aspect, l’invention concerne un dispositif configuré pour déterminer un type d’un bus de données d’un véhicule, le dispositif comprenant une mémoire associée à au moins un processeur configuré pour la mise en œuvre des étapes du procédé selon le premier aspect de l’invention.According to a second aspect, the invention relates to a device configured to determine a type of a data bus of a vehicle, the device comprising a memory associated with at least one processor configured to implement the steps of the method according to the first aspect of the invention.
Selon un troisième aspect, l’invention concerne un bus de données comprenant le dispositif tel que décrit ci-dessus selon le deuxième aspect de l’invention et un ou plusieurs calculateurs.According to a third aspect, the invention relates to a data bus comprising the device as described above according to the second aspect of the invention and one or more computers.
Selon un quatrième aspect, l’invention concerne un véhicule, par exemple de type automobile, comprenant un dispositif tel que décrit ci-dessus selon le deuxième aspect de l’invention ou un bus de données tel que décrit ci-dessus selon le troisième aspect de l’invention.According to a fourth aspect, the invention relates to a vehicle, for example of the automobile type, comprising a device as described above according to the second aspect of the invention or a data bus as described above according to the third aspect of the invention.
Selon un cinquième aspect, l’invention concerne un programme d’ordinateur qui comporte des instructions adaptées pour l’exécution des étapes du procédé selon le premier aspect de l’invention, ceci notamment lorsque le programme d’ordinateur est exécuté par au moins un processeur.According to a fifth aspect, the invention relates to a computer program which comprises instructions adapted for executing the steps of the method according to the first aspect of the invention, in particular when the computer program is executed by at least one processor.
Un tel programme d’ordinateur peut utiliser n’importe quel langage de programmation, et être sous la forme d’un code source, d’un code objet, ou d’un code intermédiaire entre un code source et un code objet, tel que dans une forme partiellement compilée, ou dans n’importe quelle autre forme souhaitable.Such a computer program may use any programming language, and may be in the form of source code, object code, or intermediate code between source code and object code, such as in a partially compiled form, or in any other desirable form.
Selon un sixième aspect, l’invention concerne un support d’enregistrement lisible par un ordinateur sur lequel est enregistré un programme d’ordinateur comprenant des instructions pour l’exécution des étapes du procédé selon le premier aspect de l’invention.According to a sixth aspect, the invention relates to a computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the method according to the first aspect of the invention.
D’une part, le support d’enregistrement peut être n'importe quel entité ou dispositif capable de stocker le programme. Par exemple, le support peut comporter un moyen de stockage, tel qu'une mémoire ROM, un CD-ROM ou une mémoire ROM de type circuit microélectronique, ou encore un moyen d'enregistrement magnétique ou un disque dur.On the one hand, the recording medium may be any entity or device capable of storing the program. For example, the medium may include a storage medium, such as a ROM memory, a CD-ROM or a microelectronic circuit type ROM memory, or a magnetic recording medium or a hard disk.
D'autre part, ce support d’enregistrement peut également être un support transmissible tel qu'un signal électrique ou optique, un tel signal pouvant être acheminé via un câble électrique ou optique, par radio classique ou hertzienne ou par faisceau laser autodirigé ou par d'autres moyens. Le programme d’ordinateur selon l'invention peut être en particulier téléchargé sur un réseau de type Internet.On the other hand, this recording medium may also be a transmissible medium such as an electrical or optical signal, such a signal being able to be conveyed via an electrical or optical cable, by conventional or terrestrial radio or by self-directed laser beam or by other means. The computer program according to the invention may in particular be downloaded from a network such as the Internet.
Alternativement, le support d'enregistrement peut être un circuit intégré dans lequel le programme d’ordinateur est incorporé, le circuit intégré étant adapté pour exécuter ou pour être utilisé dans l'exécution du procédé en question.Alternatively, the recording medium may be an integrated circuit in which the computer program is incorporated, the integrated circuit being adapted to perform or to be used in performing the method in question.
D’autres caractéristiques et avantages de l’invention ressortiront de la description des modes de réalisation non limitatifs de l’invention ci-après, en référence aux figures 1 à 4 annexées, sur lesquelles :Other characteristics and advantages of the invention will emerge from the description of the non-limiting embodiments of the invention below, with reference to the appended figures 1 to 4, in which:
Un procédé et un dispositif de détermination d’un type de bus de données vont maintenant être décrits dans ce qui va suivre en référence conjointement aux figures 1 à 4. Des mêmes éléments sont identifiés avec des mêmes signes de référence tout au long de la description qui va suivre.A method and device for determining a data bus type will now be described in the following with joint reference to Figures 1 to 4. The same elements are identified with the same reference signs throughout the description which follows.
Selon un exemple particulier et non limitatif de réalisation de l’invention, un signal transmis sur un bus de données série, par exemple de type CAN LS, CAN HS ou CAN FD d’un véhicule est reçu par un dispositif connecté à ce bus de données, par exemple un calculateur un système embarqué du véhicule relié à d’autres calculateurs du système embarqué via le bus de données. Le dispositif extrait un premier identifiant à partir du signal reçu. Le premier identifiant identifie un message porté par le premier signal. Le premier identifiant est par exemple codé sur 11 bits. Le dispositif compare le premier identifiant à un deuxième identifiant stocké en mémoire du dispositif. Le deuxième identifiant caractérise avantageusement un premier type de bus de données. Le résultat de la comparaison permet ainsi au dispositif de détecter si le bus de données est du premier type de bus de données.According to a particular and non-limiting example of embodiment of the invention, a signal transmitted on a serial data bus, for example of the CAN LS, CAN HS or CAN FD type of a vehicle is received by a device connected to this data bus, for example a computer of an on-board system of the vehicle connected to other computers of the on-board system via the data bus. The device extracts a first identifier from the received signal. The first identifier identifies a message carried by the first signal. The first identifier is for example coded on 11 bits. The device compares the first identifier to a second identifier stored in the memory of the device. The second identifier advantageously characterizes a first type of data bus. The result of the comparison thus allows the device to detect whether the data bus is of the first type of data bus.
Un tel procédé présente l’avantage d’être simple à mettre en œuvre en ne requérant que le stockage en mémoire d’un identifiant caractéristique d’un identifiant transmis sur le bus de données du premier type. Ainsi, aucune phase d’apprentissage n’est nécessaire pour mettre en œuvre le procédé. Les ressources en termes de calcul et d’empreinte mémoire nécessaires à la mise en œuvre de ce procédé sont peu élevées. L’architecture matérielle d’un calculateur standard d’un système embarqué d’un véhicule étant adaptée à une telle mise en œuvre.Such a method has the advantage of being simple to implement by requiring only the storage in memory of an identifier characteristic of an identifier transmitted on the data bus of the first type. Thus, no learning phase is necessary to implement the method. The resources in terms of calculation and memory footprint necessary for the implementation of this method are low. The hardware architecture of a standard calculator of an on-board system of a vehicle is adapted to such an implementation.
Un tel procédé est par exemple adapté pour déterminer un type de bus de données série par exemple de type CAN HS, CAN LS ou CAN FD.Such a method is for example suitable for determining a type of serial data bus, for example of type CAN HS, CAN LS or CAN FD.
Le dispositif adapte alors son interface de communication au type de bus de données déterminé et auquel il est relié.The device then adapts its communication interface to the type of data bus determined and to which it is connected.
La
Le bus de données 100 correspond avantageusement à un bus de données de type multiplexé reliant plusieurs calculateurs 11, 12 et 13. Un dispositif 10 configuré pour déterminer le type de bus de données 100 est également relié aux calculateurs 11 à 13 via le bus de données 100. Un tel dispositif correspond par exemple à un dispositif configuré pour recevoir et traiter des données et est par exemple hébergé dans un calculateur sous la forme d’un module logiciel.The data bus 100 advantageously corresponds to a multiplexed type data bus connecting several computers 11, 12 and 13. A device 10 configured to determine the type of data bus 100 is also connected to the computers 11 to 13 via the data bus 100. Such a device corresponds for example to a device configured to receive and process data and is for example hosted in a computer in the form of a software module.
L’ensemble formé par le bus de données 100, les calculateurs 11 à 13 et le dispositif 10 forment tout ou partie d’un système embarqué du véhicule, par exemple un véhicule automobile. Le nombre de calculateurs 11 à 13 n’est cependant pas limité à 3 et s’étend à tout nombre, par exemple 2, 5, 10, 100 ou plus de calculateurs.The assembly formed by the data bus 100, the computers 11 to 13 and the device 10 form all or part of an on-board system of the vehicle, for example a motor vehicle. The number of computers 11 to 13 is however not limited to 3 and extends to any number, for example 2, 5, 10, 100 or more computers.
Le système embarqué comprend par exemple également une unité de contrôle télématique, dite TCU (de l’anglais « Telematic Control Unit »), reliée en communication avec les calculateurs 11 à 13 via le bus de données 100. La TCU est reliée à une ou plusieurs antennes du véhicule pour la communication de données entre le véhicule et un ou plusieurs dispositifs distants, par exemple via une liaison sans fil basée sur un réseau cellulaire de type LTE (de l’anglais « Long-Term Evolution » ou en français « Evolution à long terme »), LTE-Advanced (ou en français LTE-avancé), aussi appelé réseau 4G ou 5G.The on-board system also comprises, for example, a telematic control unit, called TCU (from the English “Telematic Control Unit”), connected in communication with the computers 11 to 13 via the data bus 100. The TCU is connected to one or more antennas of the vehicle for the communication of data between the vehicle and one or more remote devices, for example via a wireless link based on a cellular network of the LTE type (from the English “Long-Term Evolution” or in French “Evolution à long terme”), LTE-Advanced (or in French LTE-advanced), also called 4G or 5G network.
Le bus de données est un bus série par exemple de type CAN LS tel que défini dans la norme ISO 11898-2, de type CAN HS tel que défini dans la norme ISO 11898-3 ou de type CAN FD tel que défini dans la norme ISO 11898-1. Le bus de données 100 met avantageusement en œuvre un multiplexage temporel permettant aux calculateurs 11 à 13 d’émettre des signaux (aussi appelés trames de signaux) à tour de rôle. Les signaux émis peuvent être de plusieurs types en fonction des données qu’ils transportent, chaque type de signal étant identifié par un identifiant déterminé et particulier. Comme cela sera décrit plus en détail en regard de la
Les signaux présentent par exemple un caractère évènementiel et sont alors d’un type déterminé identifié par un identifiant déterminé et unique. Les signaux sont dits évènementiels en ce qu’ils sont transmis lorsqu’un évènement est détecté au niveau d’un calculateur, par exemple le calculateur 11, ou d’un capteur associé à un calculateur par exemple. Les signaux évènementiels sont transmis à intervalles irréguliers qui dépendent de la survenue des évènements à signaler. Par exemple, deux signaux évènementiels consécutifs peuvent être transmis avec un intervalle temporel de 30 ms et les deux signaux évènementiels consécutifs suivants peuvent être transmis sur le bus de données 100 avec un intervalle temporel entre ces signaux égal à 10 minutes. Un évènement correspond par exemple à une alerte, par exemple associée à un dépassement de seuil (vitesse de rotation de l’arbre moteur supérieure à un seuil, température moteur supérieure à un seuil, …).The signals have, for example, an event-related nature and are then of a specific type identified by a specific and unique identifier. The signals are said to be event-related in that they are transmitted when an event is detected at the level of a computer, for example the computer 11, or of a sensor associated with a computer for example. The event-related signals are transmitted at irregular intervals which depend on the occurrence of the events to be reported. For example, two consecutive event-related signals can be transmitted with a time interval of 30 ms and the two following consecutive event-related signals can be transmitted on the data bus 100 with a time interval between these signals equal to 10 minutes. An event corresponds, for example, to an alert, for example associated with a threshold being exceeded (rotation speed of the engine shaft greater than a threshold, engine temperature greater than a threshold, etc.).
Selon un autre exemple, les signaux présentent un caractère périodique Ces signaux périodiques étant d’un type déterminé identifié par un identifiant déterminé et unique. Les signaux sont dits périodiques en ce qu’ils sont transmis à intervalle régulier (une période) par un calculateur, par exemple toutes les 10, 20, 30 ms.According to another example, the signals have a periodic character. These periodic signals are of a specific type identified by a specific and unique identifier. The signals are said to be periodic in that they are transmitted at regular intervals (a period) by a computer, for example every 10, 20, 30 ms.
Selon une variante de réalisation, le bus de données 100 correspond par exemple à un bus de type FlexRay (selon la norme ISO 17458) ou Ethernet (selon la norme ISO/IEC 802-3).According to an alternative embodiment, the data bus 100 corresponds for example to a FlexRay type bus (according to the ISO 17458 standard) or Ethernet (according to the ISO/IEC 802-3 standard).
La
Selon l’exemple illustratif de la
La trame 3 du signal transmis comprend ainsi :
- un premier champ 31 correspondant à un début de trame, dit SOF (de l’anglais « Start Of Frame »), comprenant par exemple 1 bit ;
- un deuxième champ 32 correspondant par exemple à un champ d’arbitrage, aussi appelé champ identificateur, et comprenant l’identifiant du message porté par le signal transmis sur 11 ou 29 bits suivi d’un bit RTR (de l’anglais « Remote Transmission Request », en français « demande de télétransmission »). Ce champ comprend par exemple 12 ou 32 bits ; ce champ sert avantageusement d’identifiant pour les données ou types de données transportées par le signal transmis, c’est-à-dire dans la partie appelée champ de données ;
- des troisièmes champs 33 à 36 formant un champ de données et comprenant notamment un compteur et des données utiles du message porté par le signal transmis ; ces champs 33 à 36 comprennent par exemple chacun 8 bits ; le compteur du message est par exemple compris dans le premier de ces champs, c’est-à-dire le champ 33, et les données utiles dans les autres champs, c’est-à-dire les champs 34, 35 et 36 ; selon un autre exemple, le compteur est compris dans le dernier de ces champs, c’est-à-dire le champ 36 ; selon une variante, il y a plus de 4 champs de données, par exemple 8 champs de données ;
- un quatrième champ 37 correspondant à une fin de trame, dit EOF (de l’anglais « End Of Frame »), comprenant par exemple 7 bits.
- a first field 31 corresponding to the start of a frame, called SOF (from the English “Start Of Frame”), comprising for example 1 bit;
- a second field 32 corresponding for example to an arbitration field, also called an identifier field, and comprising the identifier of the message carried by the transmitted signal on 11 or 29 bits followed by an RTR bit (from the English “Remote Transmission Request”). This field comprises for example 12 or 32 bits; this field advantageously serves as an identifier for the data or types of data transported by the transmitted signal, that is to say in the part called the data field;
- third fields 33 to 36 forming a data field and comprising in particular a counter and useful data of the message carried by the transmitted signal; these fields 33 to 36 each comprise, for example, 8 bits; the message counter is, for example, included in the first of these fields, i.e. field 33, and the useful data in the other fields, i.e. fields 34, 35 and 36; according to another example, the counter is included in the last of these fields, i.e. field 36; according to a variant, there are more than 4 data fields, for example 8 data fields;
- a fourth field 37 corresponding to the end of a frame, called EOF (from the English “End Of Frame”), comprising for example 7 bits.
La trame 3 du signal transmis comprend en outre éventuellement d’autre champs non décrits ou non représentés sur la
La
Un tel procédé est avantageusement mis en œuvre par le dispositif 10 relié ou connecté au bus de données 100. Les étapes du procédé ci-dessous seront décrites en référence à la réception et au traitement d’un signal. Bien entendu, les mêmes opérations s’appliquent à la réception et au traitement de plusieurs signaux de manière identique à ce qui est décrit en prenant un signal en exemple.Such a method is advantageously implemented by the device 10 connected or linked to the data bus 100. The steps of the method below will be described with reference to the reception and processing of a signal. Of course, the same operations apply to the reception and processing of several signals in a manner identical to that described by taking a signal as an example.
Dans une première étape 21, un signal transmis sur le bus de données 100 est reçu par le dispositif 10. Le signal (ou la trame du signal) est par exemple émis sur le bus de données par un des calculateurs 11 à 13. La structure du signal correspond à la trame 3 décrite précédemment.In a first step 21, a signal transmitted on the data bus 100 is received by the device 10. The signal (or the frame of the signal) is for example transmitted on the data bus by one of the computers 11 to 13. The structure of the signal corresponds to the frame 3 described previously.
Dans une deuxième étape 22, le dispositif 10 extrait (récupère ou détermine) l’identifiant du signal reçu, appelé premier identifiant.In a second step 22, the device 10 extracts (retrieves or determines) the identifier of the received signal, called the first identifier.
Le premier identifiant est par exemple obtenu à partir du champ arbitrage 32 du signal.The first identifier is for example obtained from the arbitration field 32 of the signal.
Selon une variante de l’étape 22, le premier identifiant correspond à un code binaire.According to a variant of step 22, the first identifier corresponds to a binary code.
Selon un exemple de réalisation de cette variante, le premier identifiant correspond à une chaine binaire par exemple de longueur égale à 11 bits, chaque bit de la chaine prenant la valeur 0 ou 1.According to an exemplary embodiment of this variant, the first identifier corresponds to a binary string for example of length equal to 11 bits, each bit of the string taking the value 0 or 1.
Selon un autre exemple de réalisation de cette variante, le premier identifiant correspond à une chaîne de longueur égale à 29 bits, chaque bit de la chaine prenant la valeur 0 ou 1.According to another exemplary embodiment of this variant, the first identifier corresponds to a string of length equal to 29 bits, each bit of the string taking the value 0 or 1.
Dans une troisième étape 23, le premier identifiant est comparé à au moins un deuxième identifiant stocké dans une mémoire.In a third step 23, the first identifier is compared to at least one second identifier stored in a memory.
Selon une variante de l’étape 23, la mémoire est une mémoire du dispositif 10.According to a variant of step 23, the memory is a memory of the device 10.
Selon une autre variante de l’étape 23, la mémoire est une mémoire d’un dispositif autre que le dispositif 10 (par exemple une mémoire d’un des calculateurs 11 à 13) accessible par le dispositif 10, par exemple via le bus de données 100.According to another variant of step 23, the memory is a memory of a device other than the device 10 (for example a memory of one of the computers 11 to 13) accessible by the device 10, for example via the data bus 100.
Selon un exemple de réalisation de l’étape 23, le au moins un deuxième identifiant est stocké avantageusement dans une table.According to an exemplary embodiment of step 23, the at least one second identifier is advantageously stored in a table.
Le au moins un deuxième identifiant correspond à un identifiant d’un signal dont le type est connu du dispositif 10, ce type de signal circulant spécifiquement sur un type de bus de données 100.The at least one second identifier corresponds to an identifier of a signal whose type is known to the device 10, this type of signal circulating specifically on a type of data bus 100.
Selon un exemple de réalisation de l’étape 23, le premier et le deuxième identifiants correspondent avantageusement à une adresse d’un périphérique présent uniquement sur un certain type de bus de données.According to an exemplary embodiment of step 23, the first and second identifiers advantageously correspond to an address of a peripheral present only on a certain type of data bus.
Lorsque le premier identifiant correspond au deuxième identifiant, alors le bus de données 100 est déterminé dans une étape 24 comme étant d’un premier type de bus de données.When the first identifier matches the second identifier, then the data bus 100 is determined in a step 24 as being of a first type of data bus.
Lorsque le résultat de la comparaison indique que le premier identifiant ne correspond à aucun deuxième identifiant, une condition d’arrêt est vérifiée (étape 25).When the result of the comparison indicates that the first identifier does not match any second identifier, a stopping condition is checked (step 25).
Si la condition d’arrêt n’est pas remplie alors le dispositif attend la réception d’une nouvelle trame d’un signal pour réitérer les étapes 21 à 23.If the stop condition is not met then the device waits for the reception of a new frame of a signal to repeat steps 21 to 23.
Si la condition d’arrêt est remplie, le bus de données 100 est déterminé dans une étape 26 comme étant d’un deuxième type de bus de données appartenant à un ensemble d’au moins un type de bus de données.If the stop condition is met, the data bus 100 is determined in a step 26 as being of a second type of data bus belonging to a set of at least one type of data bus.
Selon un exemple de réalisation de l’étape 25, une condition d’arrêt est remplie lorsqu’un nombre prédéterminé de signaux est reçu.According to an exemplary embodiment of step 25, a stop condition is met when a predetermined number of signals are received.
Selon un exemple de réalisation de l’étape 25, une condition d’arrêt est remplie lorsqu’un intervalle de temps s’est écoulé depuis une réception d’un premier signal.According to an exemplary embodiment of step 25, a stop condition is met when a time interval has elapsed since a reception of a first signal.
Une fois le type de bus de données 100 déterminé, le dispositif adapte par exemple son interface de communication au type de bus déterminé.Once the data bus type 100 has been determined, the device adapts, for example, its communication interface to the determined bus type.
Selon un exemple de réalisation, un dispositif est relié à un bus de données série d’un véhicule équipé soit d’un bus CAN HS, soit d’un bus CAN FD. Le deuxième identifiant correspond à l’adresse d’un calculateur caractéristique d’un bus CAN HS, son adresse codée correspond à E9 en code hexadécimal, soit 11101001 en code binaire. Le dispositif détermine le type de bus sur lequel il est branché en suivant le procédé précédemment décrit en relation avec la
Si un premier identifiant issu d’une trame reçue correspond à l’adresse codée d’un calculateur caractéristique de bus CAN HS, alors le dispositif détermine le type de bus de données série comme étant du type CAN HS.If a first identifier from a received frame matches the coded address of a CAN HS bus characteristic calculator, then the device determines the serial data bus type as being of the CAN HS type.
Si à l’inverse, au bout de quelques centaines de millisecondes, aucun premier identifiant issu de plusieurs trames reçues ne correspond à l’adresse codée d’un calculateur caractéristique de bus CAN HS, alors le dispositif détermine par élimination le type de bus de données série comme étant du type CAN FD.If, conversely, after a few hundred milliseconds, no first identifier from several frames received corresponds to the coded address of a calculator characteristic of a CAN HS bus, then the device determines by elimination the type of serial data bus as being of the CAN FD type.
Le dispositif adapte ainsi son interface de communication au bus de données auquel il est relié et peut alors communiquer avec les autres périphériques reliés à ce même bus de données.The device thus adapts its communication interface to the data bus to which it is connected and can then communicate with other peripherals connected to the same data bus.
Selon une variante du procédé, lorsqu’une condition d’arrêt est remplie, alors un nouveau deuxième identifiant correspondant à un deuxième type de bus de données ou une nouvelle table de deuxièmes identifiants est définie et les étapes 21 à 23 sont réitérées avec ces nouveaux deuxièmes identifiants. Ainsi, un premier type de bus est éliminé et le processus permet de rechercher un deuxième type de bus de données parmi un ensemble de type de bus de données.According to a variant of the method, when a stop condition is met, then a new second identifier corresponding to a second type of data bus or a new table of second identifiers is defined and steps 21 to 23 are repeated with these new second identifiers. Thus, a first type of bus is eliminated and the process makes it possible to search for a second type of data bus among a set of data bus types.
La
Le dispositif 4 est par exemple configuré pour la mise en œuvre des étapes du procédé décrit en regard de la
Le dispositif 4 comprend un (ou plusieurs) processeur(s) 40 configurés pour exécuter des instructions pour la réalisation des étapes du procédé et/ou pour l’exécution des instructions du ou des logiciels embarqués dans le dispositif 4. Le processeur 40 peut inclure de la mémoire intégrée, une interface d’entrée/sortie, et différents circuits connus de l’homme du métier. Le dispositif 4 comprend en outre au moins une mémoire 41 correspondant par exemple une mémoire volatile et/ou non volatile et/ou comprend un dispositif de stockage mémoire qui peut comprendre de la mémoire volatile et/ou non volatile, telle que EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, disque magnétique ou optique.The device 4 comprises one (or more) processor(s) 40 configured to execute instructions for carrying out the steps of the method and/or for executing the instructions of the software(s) embedded in the device 4. The processor 40 may include integrated memory, an input/output interface, and various circuits known to those skilled in the art. The device 4 further comprises at least one memory 41 corresponding for example to a volatile and/or non-volatile memory and/or comprises a memory storage device which may comprise volatile and/or non-volatile memory, such as EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic or optical disk.
Le code informatique du ou des logiciels embarqués comprenant les instructions à charger et exécuter par le processeur est par exemple stocké sur la première mémoire 41.The computer code of the embedded software(s) comprising the instructions to be loaded and executed by the processor is for example stored in the first memory 41.
Selon un mode de réalisation particulier, le dispositif 4 comprend une interface de communication 43 qui permet d’établir une communication avec d’autres dispositifs (tels que les calculateurs du système embarqué et connectés au bus de données) via un canal de communication 430. L’interface de communication 43 correspond par exemple à un transmetteur configuré pour transmettre et recevoir des informations et/ou des données via le canal de communication 430. L’interface de communication 43 correspond par exemple à un réseau filaire de type CAN LS, CAN FS ou CAN FD.According to a particular embodiment, the device 4 comprises a communication interface 43 which makes it possible to establish communication with other devices (such as the computers of the on-board system and connected to the data bus) via a communication channel 430. The communication interface 43 corresponds for example to a transmitter configured to transmit and receive information and/or data via the communication channel 430. The communication interface 43 corresponds for example to a wired network of the CAN LS, CAN FS or CAN FD type.
Selon un mode de réalisation particulier supplémentaire, le dispositif 4 peut fournir des signaux de sortie à un ou plusieurs dispositifs externes, tels qu’un écran d’affichage, un ou des haut-parleurs et/ou d’autres périphériques via respectivement des interfaces de sortie non représentées.According to an additional particular embodiment, the device 4 can provide output signals to one or more external devices, such as a display screen, one or more speakers and/or other peripherals via respectively output interfaces not shown.
Bien entendu, l’invention ne se limite pas aux modes de réalisation décrits ci-avant mais s’étend à un procédé de détermination d’un type de bus de données utilisé pour la transmission de signaux entre périphériques dans un véhicule et au dispositif configuré pour la mise en œuvre du procédé.Of course, the invention is not limited to the embodiments described above but extends to a method for determining a type of data bus used for the transmission of signals between peripherals in a vehicle and to the device configured for the implementation of the method.
L’invention concerne également un véhicule, par exemple automobile ou plus généralement un véhicule à moteur terrestre, comprenant le dispositif 4 de la
Claims (10)
a) réception (21) d’un signal transmis sur ledit bus de données (100) ;
b) extraction (22) d’un premier identifiant à partir dudit signal reçu ;
c) si ledit premier identifiant correspond à un deuxième identifiant mémorisé (23), alors le type de bus de données est déterminé (24) comme étant un bus de données d’un premier type ;
sinon les étapes a), b) et c) sont itérées tant qu’une condition d’arrêt n’est pas vérifiée (25) ;
si la condition d’arrêt est vérifiée (25), le type de bus de données est déterminé (26) comme étant un bus de données d’un deuxième type appartenant à un ensemble d’au moins un type de bus de données.Method for determining a type of data bus used for the transmission of signals between peripherals in a vehicle, said method being implemented by at least one processor embedded in said vehicle, said method comprising the following steps:
a) receiving (21) a signal transmitted on said data bus (100);
b) extracting (22) a first identifier from said received signal;
c) if said first identifier corresponds to a second stored identifier (23), then the data bus type is determined (24) as being a data bus of a first type;
otherwise steps a), b) and c) are iterated until a stopping condition is verified (25);
if the stop condition is verified (25), the data bus type is determined (26) as being a data bus of a second type belonging to a set of at least one data bus type.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR2301065A FR3145661A1 (en) | 2023-02-06 | 2023-02-06 | Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR2301065A FR3145661A1 (en) | 2023-02-06 | 2023-02-06 | Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle |
| FR2301065 | 2023-02-06 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| FR3145661A1 true FR3145661A1 (en) | 2024-08-09 |
Family
ID=86007045
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| FR2301065A Pending FR3145661A1 (en) | 2023-02-06 | 2023-02-06 | Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle |
Country Status (1)
| Country | Link |
|---|---|
| FR (1) | FR3145661A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200320805A1 (en) * | 2018-12-24 | 2020-10-08 | Autel Intelligent Technology Corp., Ltd. | Baud rate obtaining method and apparatus |
| US20210029148A1 (en) * | 2019-07-25 | 2021-01-28 | Battellle Memorial Institute | Can bus protection systems and methods |
| US20210266193A1 (en) * | 2020-02-25 | 2021-08-26 | Calamp Corp. | Systems and Methods for Detection of Vehicle Bus Protocol Using Signal Analysis |
-
2023
- 2023-02-06 FR FR2301065A patent/FR3145661A1/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200320805A1 (en) * | 2018-12-24 | 2020-10-08 | Autel Intelligent Technology Corp., Ltd. | Baud rate obtaining method and apparatus |
| US20210029148A1 (en) * | 2019-07-25 | 2021-01-28 | Battellle Memorial Institute | Can bus protection systems and methods |
| US20210266193A1 (en) * | 2020-02-25 | 2021-08-26 | Calamp Corp. | Systems and Methods for Detection of Vehicle Bus Protocol Using Signal Analysis |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| FR3145661A1 (en) | Method and device for determining a type of data bus used for transmitting signals between peripherals in a vehicle | |
| FR3102270A1 (en) | Method and device for detecting an intrusion on a vehicle data bus | |
| WO2021105573A1 (en) | Method and device for controlling a vehicle communication device | |
| FR3102269A1 (en) | Method and device for detecting an intrusion on a vehicle data bus | |
| FR3121527A1 (en) | Method and device for detecting an intrusion on a data bus of a vehicle | |
| FR3104769A1 (en) | Vehicle computer software update control method and device | |
| FR3041845A1 (en) | ELECTRONIC DEVICE CLEAN TO BE CONNECTED TO A VEHICLE NETWORK, AND METHOD OF TRANSMITTING MESSAGES IMPLEMENTED BY SUCH ELECTRONIC DEVICE | |
| WO2022234199A1 (en) | Method and device for protecting against an intrusion on a data bus of a vehicle | |
| EP1715629B1 (en) | System for the adaptation of a communication protocol with an on-board computer of a motor vehicle | |
| FR3156267A1 (en) | Method, device and system for communicating data in a switched communication network of a vehicle | |
| WO2022167740A1 (en) | Method and device for validating time synchronization between vehicle on-board computers | |
| FR3114465A1 (en) | Method and device for managing the sending of messages | |
| EP4182907B1 (en) | Temporal aspects of centralized management of the execution of connected services of a vehicle | |
| EP3225007B1 (en) | Method of communication between a production tool and a motor vehicle | |
| FR3152103A1 (en) | Method and device for controlling access to a connected service of an on-board navigation system of a vehicle | |
| EP3478002A1 (en) | Communication device for a vehicle comprising a plurality of communication means | |
| FR3156269A1 (en) | Method, device and system for communicating trace files in a switched communication network of a vehicle | |
| FR3149102A1 (en) | Method and device for predicting the life cycle of a vehicle computer | |
| FR3113149A1 (en) | Formatting fault information by adding an identifier | |
| FR3154895A1 (en) | Method, device and system for wireless communication between a vehicle and a remote device using multiple wireless communication media | |
| FR3111447A1 (en) | Management of embedded software versions from a computer footprint | |
| WO2022084592A1 (en) | Management of supervision of an electronic component of a land motor vehicle | |
| WO2024079339A1 (en) | Receiver for data decompression with auto-encoder enhancement | |
| FR3147384A1 (en) | Ultrasonic sensor control device using a printed circuit board. | |
| WO2023079219A1 (en) | Method and device for stopping a moving vehicle |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PLFP | Fee payment |
Year of fee payment: 2 |
|
| PLSC | Publication of the preliminary search report |
Effective date: 20240809 |
|
| PLFP | Fee payment |
Year of fee payment: 3 |