Device for estimating the overall latency in a data network, and associated method, data network and vehicle

EP4420323A1Pending Publication Date: 2024-08-28RENAULT SA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022800658
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-20
Filing Date
2022-10-10
Publication Date
2024-08-28

AI Technical Summary

Technical Problem

Current methods for estimating overall latency in data networks, particularly in motor vehicles, are complex, costly, and bandwidth-intensive, and are not universally applicable across different network types, making it difficult to synchronize data frames accurately.

Method used

A method and device that model and estimate overall latency by breaking it down into multiple latency components (reception, processing, memory writing, and transmission) using probability laws and fixed values, allowing for a simplified and accurate estimation of global latency, which is then used for data synchronization.

Benefits of technology

This approach simplifies the consideration of latencies in data networks, reducing complexity and cost, and enables accurate synchronization of data frames without the need for expensive and complex setup, while being applicable to various network types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The device (20) for estimating the overall latency in a data network comprising at least one first processing unit connected to a data bus comprises: - first modelling means (21) configured to model a first latency (LT91, LT101, LT121); - second modelling means (22) configured to model a second latency (LT92, LT102); - third modelling means (23) configured to model a third latency (LT93, LT103); and - estimating means (26) which are configured to estimate the overall latency (LT) based on the first, second and third latencies. The second latency is modelled by a predetermined fixed value (V92, V102), and the first latency and the third latency are each modelled by a probability distribution (F1(X), F2(X), F3(X)), the overall latency being modelled by a probability density function (P1(X)).
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Device for estimating overall latency in a data network, associated method, data network and vehicle

[0001] The present invention relates to latency estimation in a data network.

[0002] The present invention relates more particularly to a device for estimating the overall latency in a data network for a motor vehicle and a method implementing such an estimation device, a synchronization device comprising the estimation of the overall latency and a method implementing such a synchronization device, a data network comprising the synchronization device, and a motor vehicle comprising such a network.

[0003] Generally, a motor vehicle includes several data networks of different types, for example, but not limited to, the CAN control area network type, or the LIN local interconnect network type.

[0004] A data frame can transit over different networks of different types, the networks comprising a multitude of computers so that the data frame is received by a destination computer with an overall delay (overall latency) corresponding to a sum of delays generated by the different stages of transmission of the frame between the computers of the networks.

[0005] Some applications supported by the recipient computer require that the data frames be dated to take into account the latencies induced by each stage of transmission of said frames in the networks in order to synchronize the data contained in said frames.

[0006] The latencies induced by each step in the network are fixed or variable.

[0007] They can be independent of each other or dependent so that an estimation of the overall latency experienced by a data frame, for example from its transmission by a sending computer to the reception of said frame by a receiving computer, is complicated.

[0008] Document CN 111309094 discloses a dating device for dating signals and comprising an internal clock arranged in a master device communicating with sensors generating said signals.

[0009] The dating device allows for precise synchronization of signals.

[0010] However, such a device is complex and expensive to set up, and generates specific development for each sensor.

[0011] Furthermore, its implementation consumes bandwidth in the networks connecting the sensors and the master device.

[0012] Moreover, the implementation of such a dating device is not always possible.

[0013] Documents US1,015,4058 and US8,504,864 describe a similar synchronization device.

[0014] Document EP35422476 discloses a specific transmission protocol for taking latencies into account.

[0015] However, such a protocol is not implementable for every type of network, for example, a local area network (LIN) or a "High Speed" CAN control area network.

[0016] Reference may be made to document W02016191020 which discloses the implementation of a time reference on a power line network.

[0017] It is therefore proposed to overcome all or part of the disadvantages of devices for taking into account latencies in a data network according to the state of the art, in particular by simplifying the taking into account of latencies in the management of data passing over said network.

[0018] In view of the above, the subject of the invention is a method for estimating the overall latency in a data network for a motor vehicle, the data network comprising at least a first processing unit connected to a data bus, the method comprising:

[0019] - modeling a first latency associated with the reception of a data frame by said processing unit, a second latency associated with the processing of the data frame received by said processing unit, a third latency associated with the writing of the processed data frame in a memory of said processing unit, and

[0020] - estimation of the overall latency from the first, second, and third latencies.

[0021] The second latency is modeled by a fixed predetermined value, and the first latency and third latency are each modeled by a probability distribution, with the overall latency being modeled by a probability density function.

[0022] Modeling the first latency, for example a buffer / receive regulator type latency, and the third latency, for example a buffer / transmit regulator type latency, by probability density functions, makes it possible to model the first and third latencies by variable values.

[0023] The second latency, for example a processing latency (“process time”), is modeled by a fixed value.

[0024] Preferably, the method further comprises modeling a fourth latency associated with sending the processed data frame over the bus by a bus sequencer, the fourth latency being modeled by the probability law, the overall latency being further estimated from the fourth latency.

[0025] Advantageously, the method further comprises the modeling of a fifth latency associated with the transmission by the bus of the processed data frame to a second processing unit connected to the bus, the fifth latency being modeled by a second fixed predetermined value, the overall latency being further estimated from the fifth latency.

[0026] Preferably, the probability distribution includes a uniform distribution.

[0027] The invention also relates to a synchronization method for a data network of a motor vehicle comprising the storage of an estimate of the overall latency of the data network determined as defined previously, and the dating of a data frame received by a synchronization device so that the frame is considered to be received at the time of reception by the synchronization device less the estimate of the overall latency.

[0028] The invention also relates to a device for estimating the overall latency in a data network for a motor vehicle, the data network comprising at least a first processing unit connected to a data bus, the device comprising

[0029] - first modeling means configured to model a first latency associated with the reception of a data frame by said processing unit,

[0030] - second modeling means configured to model a second latency associated with the processing of the data frame received by said processing unit,

[0031] - third modeling means configured to model a third latency associated with writing the processed data frame into a memory of said processing unit, and

[0032] - estimation means configured to estimate the overall latency from the first, second and third latencies.

[0033] The second latency is modeled by a fixed predetermined value, and the first latency and third latency are each modeled by a probability distribution, with the overall latency being modeled by a probability density function.

[0034] Advantageously, the device further comprises fourth modeling means configured to model a fourth latency associated with the sending of the data frame processed by a bus sequencer, the fourth latency being modeled by the probability law, the estimation means being further configured to estimate the overall latency from the fourth latency.

[0035] Preferably, the device further comprises fifth modeling means configured to model a fifth latency associated with the transmission by the bus of the processed data frame to a second processing unit connected to the bus, the fifth latency being modeled by a second predetermined fixed value, the estimation means being further configured to estimate the overall latency from the fourth latency.

[0036] The invention also relates to a synchronization device for a data network of a motor vehicle comprising storage means configured to store an estimate of the overall latency of the data network determined by means of a method for estimating the overall latency as defined previously, and dating means configured to date a data frame received by the device so that the frame is considered to be received at the time of reception by the synchronization device less the estimate of the overall latency.

[0037] The invention also relates to a data network for a motor vehicle comprising a first processing unit connected to a second processing unit via a data bus and the synchronization device as defined previously.

[0038] The invention also relates to a motor vehicle comprising a data network as defined above.

[0039] Other aims, characteristics and advantages of the invention will appear on reading the following description, given solely by way of non-limiting example, and made with reference to the appended drawings in which:

[0040] [Fig.l] schematically illustrates an electric motor vehicle according to the invention; and

[0041] [Fig.2] schematically illustrates an example of a global latency estimation device.

[0042] [Fig.l] illustrates a motor vehicle 1 comprising a first data network 2 and a second data network 3 connected to a first processing unit 4.

[0043] The first network 2 comprises a second processing unit 5, a third processing unit 6, and a dating device 7 connected to the first and second units 5, 6 and to the first unit 4 by a first data bus 8, for example of the CAN control area network type.

[0044] The dating device 7, “Time Stamp” in English, dates the data frames delivered by the second and third processing units 5, 6, and comprises an internal clock communicating with said processing units 5, 6.

[0045] The first processing unit 5 delivers, for example, readings taken by a radar of the vehicle 1 making it possible to determine a distance between the vehicle 1 and an obstacle.

[0046] The second processing unit 6 delivers, for example, data frames generated by a camera of the vehicle 1.

[0047] The dated data frames delivered by the dating device 7 are transmitted to the first processing unit 4 via the first bus 8.

[0048] The second network 3 comprises a fourth processing unit 9 connected to a fifth processing unit 10 via a second data bus 11, a sixth unit 12 connected to the fifth unit 10 via a third bus 13, and a synchronization device 14 connected to the sixth unit 12 via a fourth bus 15.

[0049] The synchronization device 14 is further connected to the first unit 4 via a fourth data bus 16, for example of the CAN control area network type.

[0050] The fourth unit 9 delivers data frames relating to the vehicle 1, for example and not limited to the speed of the vehicle, the acceleration of the vehicle, the braking state of the vehicle if a braking device of the vehicle 1 is activated, from data emitted by sensors of the vehicle 1.

[0051] The data frames delivered by the fourth unit 9 are transmitted to the first unit 4 via the fifth unit 10, the sixth unit 12, the synchronization device 14, the second bus 11, the third bus 13 and the fourth bus 15.

[0052] The first unit 4 merges the data contained in the data frames received from the dating device 7 and the synchronization device 14 to reconstruct a scene in which the vehicle 1 is moving.

[0053] The data frames delivered by the fourth unit 9 cannot be dated by a dating device, "Time Stamp" in English.

[0054] The synchronization device 14 comprises storage means 17 and dating means 18.

[0055] The storage means 17 save an estimate LT of the overall latency of the second network 3.

[0056] The dating means 18 date the data frames transmitted by the fourth unit 9 and received by the synchronization device 14 so that the frames are considered to be received at the time of reception by the synchronization device 14 less the estimate of the overall latency LT.

[0057] The synchronization device 14 makes it possible to date the frames passing through said device in a simple manner without the installation of costly and complex components to implement.

[0058] Now an example of estimating the overall latency LT is shown.

[0059] It is assumed that the second bus 11 is of the CAN control area network type, and that the third and fourth buses 13, 15 are of the local interconnected network LIN type.

[0060] It is further assumed that the fifth unit 10 is a gateway, transforming the data frames received via the second bus 11 into data frames readable by the third bus 13, and that the sixth unit 12 is a gateway, transferring the data frames circulating on the third bus 13 to the fourth bus 15 without transforming said frames.

[0061] Of course the second, third and fourth buses 11, 13, 15 can be of the same type or of different types, for example of the LIN and CAN type.

[0062] Furthermore, the second network 3 may comprise a different number of three processing units connected by data buses.

[0063] The fourth unit 9 comprises a first latency LT91 associated with the reception of data emitted by the sensors of the vehicle 1, a second latency LT92 associated with the processing of the data received by said processing unit, a third latency LT93 associated with the writing of the processed data frame in a memory of said processing unit.

[0064] The fifth unit 10 comprises a first latency LT101 associated with the reception of data frames circulating on the second bus 11, a second latency LT102 associated with the processing of the data received by said processing unit to convert the data frames circulating on the second bus 11 into data frames accepted by the third bus 13, a third latency LT103 associated with the writing of the processed data frame in a memory of said processing unit.

[0065] Since the third and fourth buses 13, 15 are of the same type, no data frame conversion is necessary so that the sixth unit 12 only includes a first latency LT 121 associated with the reception of data frames traveling on the third bus 13.

[0066] For a gateway without a sequencer, the latency related to the output frame rate is not taken into account.

[0067] The second bus 11 comprises a fourth latency LT111 associated with the sending of a processed data frame stored in the memory of the fourth processing unit 9 by a sequencer of the second bus, and a fifth latency LT112 associated with the transmission by the second bus of the processed data frame to the fifth unit 10.

[0068] The third bus 13 includes a fourth latency LT131 associated with the sending of a processed data frame stored in the memory of the fifth processing unit 10 by a sequencer of the third bus, and a fifth latency LT 132 associated with the transmission by the third bus of the processed data frame to the sixth unit 12.

[0069] The fourth bus 15 includes a fourth latency LT151 associated with sending by a sequencer of the fourth bus of a data frame received by the sixth unit 12, and a fifth latency LT 152 associated with the transmission by the fourth bus of the data frame to the synchronization device 14.

[0070] The estimation of the overall latency LT is determined by a global latency estimation device 20.

[0071] [Fig.2] schematically illustrates an example of the estimation device 20.

[0072] The estimation device 20 comprises first modeling means 21, second modeling means 22, third modeling means 23, fourth modeling means 24, and fifth modeling means 25.

[0073] The first modeling means 21 model the first latencies LT91, LT101, LT121 of the fourth unit 9, fifth unit 10 and sixth unit 12 by a probability law F1(X), F2(X), F3(X).

[0074] The second modeling means 22 model the second latencies LT92, LT 102 of the fourth unit 9 and fifth unit 10 by a fixed predetermined value V92, VI 02.

[0075] The third modeling means 23 model the third latencies LT93, LT103 of the fourth unit 9 and fifth unit 10 by a probability law F4(X), F5(X).

[0076] The fourth modeling means 24 model the fourth latencies LT111, LT131, LT151 of the second bus 11, third bus 13 and fourth bus 15 by a probability law F6(X), F7(X), F8(X).

[0077] The fifth modeling means 25 model the fifth latencies LT112, LT132, LT152 of the second bus 11, third bus 13 and fourth bus 15 by a second fixed predetermined value V 112, V132, V152.

[0078] The estimation device 20 further comprises estimation means 26 estimating the overall latency LT from the first latencies LT91, LT101, LT121, the second latencies LT92, LT102, the third latencies LT93, LT103, the fourth latencies LT111, LT131, LT151 and the fifth latencies LT112, LT132, LT152.

[0079] The overall latency LT is modeled by a probability density function P1(X).

[0080] The first, second, third, fourth, and fifth latencies are assumed to be independent so that they are not correlated with each other.

[0081] It is further assumed that the probability distribution F1(X), F2(X), F3(X), F4(X), F5(X), F6(X), F7(X), F8(X) comprises a uniform distribution defined by lower bounds B11, B21, B31, B41, B51, B61, B71, B81 and upper bounds B12, B22, B32, B42, B52, B62, B72, B82.

[0082] The estimation means 26 estimate the overall latency LT by summing together the uniform probability laws F1(X), F2(X), F3(X), F4(X), F5(X), F6(X), F7(X), F8(X) and the fixed predetermined values ​​V92, V102, VI 12, V132, V152 according to the mathematical formulas described in the document entitled “A Note on the Sum of Uniform Random Variables, Aniello Buonocore, Enrica Pirozzi Luigia Caputo, Dipartimento di Matematica e Applicazioni, Universita di Napoli Federico II, Via Cintia, 80126 Napoli, Italy, Dipartimento di Matematica, Universita di Torino, Via Carlo Alberto 10, 10123 Torino, Italy”.

[0083] The overall latency LT is modeled by a probability density function P1(X).

[0084] The lower and upper bounds of the uniform probability laws F1(X), F2(X), F3(X), F4(X), F5(X), F6(X), F7(X), F8(X) and the fixed predetermined values ​​V92, V102, V112, V132, V152 are determined according to the type of processing unit 9, 10, 12 and the type of bus 11, 13, 15.

[0085] According to another embodiment of the estimation device 20, it has been found that generally the fourth latencies LT111, LT131, LT151 are of substantially zero value and that the fifth latencies LT112, LT132, LT152 are negligible compared to the other latencies so that the fourth latencies and the fifth latencies are neglected in the estimation of the overall latency LT, thus simplifying the estimation of the overall latency LT.

[0086] The estimation means 26 can further determine other statistical characteristics of the global latency LT by carrying out several draws from the probability density function P1(X), for example an average value q, a standard deviation o, a distribution function P2(X) making it possible for example to make the dating more robust.

[0087] The first, second, third, fourth and fifth modeling means 21, 22, 23, 24, 25 each comprise, for example, a memory saving the uniform probability laws F1(X), F2(X), F3(X), F4(X), F5(X), F6(X), F7(X), F8(X) and the fixed predetermined values ​​V92, V102, VI 12, V132, V152.

[0088] The estimation means 26 comprise for example a processing unit determining the estimation of the global latency LT and the statistical characteristics of the estimation of the global latency LT from the uniform probability laws F1(X), F2(X), F3(X), F4(X), F5(X), F6(X), F7(X), F8(X) and the fixed predetermined values ​​V92, V102, VI 12, V132, V152.

Claims

Demands

1. A method for estimating the overall latency (LT) in a data network for a motor vehicle, the data network comprising at least one first processing unit (9, 10, 12) connected to a data bus (11, 13, 15), the method comprising: - the modeling of a first latency (LT91, LT101;LT121) associated with the reception of a data frame by said processing unit (9, 10, 12), of a second latency (LT92, LT 102) associated with the processing of the data frame received by said processing unit, a third latency (LT93, LT103, LT123) associated with writing the processed data frame into a memory of said processing unit, and - the estimation of the overall latency from the first, second, and third latencies, characterized in that the second latency is modeled by a fixed predetermined value (V92, V102), and the first and third latencies are each modeled by a probability law (F1(X), F2(X), F3(X)), the overall latency being modeled by a probability density function (P1(X)).

2. A method according to claim 1, further comprising modeling a fourth latency (LT111, LT 131, LT 151) associated with sending the processed data frame on the bus by a bus sequencer, the fourth latency being modeled by the probability law (F6(X), F7(X), F8(X)), the overall latency (LT) being further estimated from the fourth latency.

3. A method according to any one of claims 1 or 2, further comprising modeling a fifth latency (LT112, LT132, LT152) associated with the transmission by the bus of the processed data frame to a second processing unit connected to the bus, the fifth latency being modeled by a second fixed predetermined value (VI 12, V 132, V152), the overall latency (LT) being further estimated from the fifth latency.

4. A method according to any one of claims 1 to 3, wherein the probability law comprises a uniform law.

5. Synchronization method for a vehicle data network (1) automotive comprising the storage of an estimate of the overall latency (LT) of the data network determined according to any one of claims 1 to 4, and the timestamping of a data frame received by a synchronization device (14) such that the frame is considered to be received at the time of reception by the synchronization device less the overall latency estimate.

6. Device for estimating (20) the overall latency in a data network for a motor vehicle (1), the data network comprising at least one first processing unit (9, 10, 12) connected to a data bus (11, 13, 15), the device comprising - initial modeling means (21) configured to model an initial latency (LT91, LT101, LT121) associated with the reception of a data frame by said processing unit, - second modeling means (22) configured to model a second latency (LT92, LT102) associated with the processing of the data frame received by said processing unit, - third modeling means (23) configured to model a third latency (LT93, LT103) associated with writing the processed data frame into a memory of said processing unit, and - estimation means (26) configured to estimate the overall latency (LT) from the first, second and third latencies, characterized in that the second latency is modeled by a fixed predetermined value (V92, V102), and the first and third latencies are each modeled by a probability law (F1(X), F2(X), F3(X)), the overall latency being modeled by a probability density function (P1(X)).

7. A device according to claim 6, further comprising fourth modeling means (24) configured to model a fourth latency (LT111, LT131, LT151) associated with the transmission of the data frame processed by a sequencer on the bus, the fourth latency being modeled by the probability law, the estimation means further configured to estimate the overall latency from the fourth 11 WO 2023 / 066699 PCT / EP2022 / 078101 latency.

8. Device according to any one of claims 6 or 7, further comprising fifth modeling means (25) configured to model a fifth latency (LT112, LT132, LT152) associated with the transmission by the bus of the processed data frame to a second processing unit connected to the bus, the fifth latency being modeled by a second predetermined fixed value, the estimation means further being configured to estimate the overall latency from the fourth latency.

9. Synchronization device (14) for a motor vehicle data network comprising storage means (17) configured to store an estimate of the overall latency (LT) of the data network determined by means of an overall latency estimation method according to any one of claims 1 to 4, and dating means (18) configured to date a data frame received by the device so that the frame is considered to have been received at the time of reception by the synchronization device less the overall latency estimate.

10. Motor vehicle data network (3) comprising a first processing unit (9, 10, 12) connected to a second processing unit (4) via a data bus (11, 13, 15, 16) and the synchronization device (14) according to claim 9.

11. Motor vehicle (1) comprising a data network (3) according to claim 10.