Design of Robust CAN-FD Networks An automated Model based Design - - PowerPoint PPT Presentation

design of robust can fd networks
SMART_READER_LITE
LIVE PREVIEW

Design of Robust CAN-FD Networks An automated Model based Design - - PowerPoint PPT Presentation

Design of Robust CAN-FD Networks An automated Model based Design Flow Federico Pereira 1 Agenda Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion www.cs-group.de 2 communication &


slide-1
SLIDE 1

1

Design of Robust CAN-FD Networks

An automated Model based Design Flow Federico Pereira

slide-2
SLIDE 2

www.cs-group.de communication & systems group 2

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-3
SLIDE 3

www.cs-group.de communication & systems group 3

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-4
SLIDE 4

www.cs-group.de communication & systems group 4

Design flow introduction (1/2)

Why should I simulate?  Constant increase of quality and performance in todays requirements within in-vehicle networks (IVN) systems  Quality assurance  Further analysis compared to laboratory test  Total cost reduction We consider simulation as the most important phase in validating a modern topology

slide-5
SLIDE 5

www.cs-group.de communication & systems group 5

Design flow introduction (2/2)

3 main steps are distinguished in this kind of design flow:

  • Topology simulation

 Virtual network prototype

  • Laboratory measurements

 Real network test

  • Verification

 Comparison between the virtual measurements and real measurements

slide-6
SLIDE 6

www.cs-group.de communication & systems group 6

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-7
SLIDE 7

www.cs-group.de communication & systems group 7

Topology validation – Model development

Model development process Model development Topology verification

slide-8
SLIDE 8

www.cs-group.de communication & systems group 8

Topology validation – Model development

Model development process Model development Topology verification

slide-9
SLIDE 9

www.cs-group.de communication & systems group 9

Topology validation – Model development

Model development process Model development Topology verification

slide-10
SLIDE 10

www.cs-group.de communication & systems group 10

Topology validation – Model development

slide-11
SLIDE 11

www.cs-group.de communication & systems group 11

Topology validation – Stimulus signals (1/2)

Round robin communication

  • [Pattern generator] creates a digital input signal to the

TXD pin of each transceiver with the required data rate

slide-12
SLIDE 12

www.cs-group.de communication & systems group 12

Topology validation – Stimulus signals (2/2)

Pattern applied to each node A typical scenario is used when 5 dominant bits are followed by a unique recessive bit This combination assures the worst condition after charging/discharging the capacitances

slide-13
SLIDE 13

www.cs-group.de communication & systems group 13

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-14
SLIDE 14

www.cs-group.de communication & systems group 14

Validation criteria – Clock tolerance, safe sampling

Clock tolerance Though this rules concentrate on the bit timing only and do not involve topology effects, clock settings must respect the rules defined in “Robustness of a CAN FD Bus System – About Oscillator Tolerance and Edge Deviations” by Dr. Arthur Mutter In special, we consider the clock tolerance as 𝑒𝑔: Safe sampling Focused on the different propagation delays for a dominant to recessive edge and vice versa. “The symmetry becomes more important with the increasing of the baud rate”

slide-15
SLIDE 15

www.cs-group.de communication & systems group 15

Validation criteria – Safe sampling analysis (1/4)

slide-16
SLIDE 16

www.cs-group.de communication & systems group 16

Validation criteria – Safe sampling analysis (1/4)

𝑢𝐷𝐷_𝑈 CAN controller delay on the transmitter side 𝑢𝑈𝑆𝑌_𝑈 Transmitter transceiver delay 𝑢𝑋𝐽𝑆𝐹 Wire delays 𝑢𝑈𝑆𝑌_𝑆 Receiver transceiver delay 𝑢𝐷𝐷_𝑆 Receiver CAN controller delay

slide-17
SLIDE 17

www.cs-group.de communication & systems group 17

Validation criteria – Safe sampling analysis (1/4)

𝑢𝐷𝐷_𝑈 CAN controller delay on the transmitter side 𝑢𝑈𝑆𝑌_𝑈 Transceiver delay on the transmitter side 𝑢𝑋𝐽𝑆𝐹 Wire delays 𝑢𝑈𝑆𝑌_𝑆 Receiver transceiver delay 𝑢𝐷𝐷_𝑆 Receiver CAN controller delay

slide-18
SLIDE 18

www.cs-group.de communication & systems group 18

Validation criteria – Safe sampling analysis (1/4)

𝑢𝐷𝐷_𝑈 CAN controller delay on the transmitter side 𝑢𝑈𝑆𝑌_𝑈 Transceiver delay on the transmitter side 𝑢𝑋𝐽𝑆𝐹 Wire delays 𝑢𝑈𝑆𝑌_𝑆 Receiver transceiver delay 𝑢𝐷𝐷_𝑆 Receiver CAN controller delay

slide-19
SLIDE 19

www.cs-group.de communication & systems group 19

Validation criteria – Safe sampling analysis (1/4)

𝑢𝐷𝐷_𝑈 CAN controller delay on the transmitter side 𝑢𝑈𝑆𝑌_𝑈 Transceiver delay on the transmitter side 𝑢𝑋𝐽𝑆𝐹 Wire delays 𝑢𝑈𝑆𝑌_𝑆 Transceiver delay on the receiver side 𝑢𝐷𝐷_𝑆 Receiver CAN controller delay

slide-20
SLIDE 20

www.cs-group.de communication & systems group 20

Validation criteria – Safe sampling analysis (1/4)

𝑢𝐷𝐷_𝑈 CAN controller delay on the transmitter side 𝑢𝑈𝑆𝑌_𝑈 Transceiver delay on the transmitter side 𝑢𝑋𝐽𝑆𝐹 Wire delays 𝑢𝑈𝑆𝑌_𝑆 Transceiver delay on the receiver side 𝑢𝐷𝐷_𝑆 CAN controller delay on the receiver side

slide-21
SLIDE 21

www.cs-group.de communication & systems group 21

Validation criteria – Safe sampling analysis (2/4)

We consider 𝑢𝑆𝐹𝐷 as:

𝑢𝑆𝐹𝐷 = 𝑢𝐶𝐽𝑈𝐸 − 𝑢𝑼𝑺𝒀_𝑈𝑬𝑺 − 𝑢𝑼𝑺𝒀_𝑈𝑺𝑬 − 𝑢𝑼𝑺𝒀_𝑆𝑬𝑺 − 𝑢𝑼𝑺𝒀_𝑆𝑺𝑬 − 𝑢𝑬𝑺 − 𝑢𝑺𝑬

𝒖𝑺𝑭𝑫: Measured recessive time 𝒖𝑪𝑱𝑼𝑬: The time of a bit in data phase 𝑼𝑺𝒀 : Transceiver delay 𝑼: Transmitting side 𝑺: Receiving side 𝑬𝑺: Dominant to recessive edge (𝑢𝑋𝐽𝑆𝐹 + 𝑢𝐺𝐵𝑀𝑀) 𝑺𝑬: Recessive to dominant edge (𝑢𝑋𝐽𝑆𝐹 + 𝑢𝑆𝐽𝑇𝐹)

slide-22
SLIDE 22

www.cs-group.de communication & systems group 22

Validation criteria – Safe sampling analysis (3/4)

A safety margin before and after the sampling point shall be considered Sampling point - 1st Safety margin Can be considered as the minimal distance between the sample point and the received edge at the beginning of the ideal bit and Sampling point - 2nd Safety margin Minimal distance between the received edge at the end of the ideal bit and the sample point

slide-23
SLIDE 23

www.cs-group.de communication & systems group 23

Validation criteria – Safe sampling analysis (4/4)

For Robustness, following inequalities must be satisfied  Supposing that node A is faster than node B 𝑢𝑆𝐹𝐷 < 𝑢𝐶𝐽𝑈𝐸 + 𝑢𝑇𝑄 𝑒𝑔𝐶+ + 𝑢𝐷𝐷 − 𝑢𝐷𝑀𝐿 − 𝑢𝑇𝑁  Supposing that node A is slower than node B 𝑢𝑆𝐹𝐷 > 𝑢𝑇𝑄 𝑒𝑔𝐶− + 𝑢𝐷𝐷 + 𝑢𝐷𝑀𝐿 + 𝑢𝑇𝑁

𝑢𝐶𝐽𝑈𝐸: The time of a bit in data phase 𝑢𝑇𝑁: Safety margin including factors as EMC jitter 𝑢𝑇𝑄: Sample point time within a bit 𝑒𝑔

𝐶+/−:

Index to indicate that the frequency is deviated due to clock deviation 𝑢𝐷𝐷 : Controller processing time 𝑢𝐷𝑀𝐿 : Clock tolerance influence

slide-24
SLIDE 24

www.cs-group.de communication & systems group 24

Validation criteria – Example with 𝑢𝑆𝐹𝐷 too small

Bit time = 500 [ns] Measured value = 179 [ns], thus the minimum is not satisfied. This is reported as a FAIL condition for this topology. The same is applied if the recessive time results are too large.

Transmitter Receiver Receiver

slide-25
SLIDE 25

www.cs-group.de communication & systems group 25

Validation criteria – Example with 𝑢𝑆𝐹𝐷 too small

Bit time = 500 [ns] Measured value = 179 [ns], thus the minimum is not satisfied. This is reported as a FAIL condition for this topology. The same is applied if the recessive time results are too large.

slide-26
SLIDE 26

www.cs-group.de communication & systems group 26

Settle time can be measured in two different approaches Edge oriented measurement - Falling time of the signal from the higher threshold to the lower threshold Bit oriented measurement - Same as above but including the 5 dominant bits before changing to recessive state

Validation criteria – Settle time

𝑢𝑡𝑓𝑢𝑢𝑚𝑓 − 5 ∗ 𝑢𝐶𝐽𝑈 𝑢𝐶𝐽𝑈 > 𝑇𝑄

% → 𝑜𝑝𝑢 𝑝𝑙

> 50% 𝑏𝑜𝑒 < 𝑇𝑄% → 𝑥𝑏𝑠𝑜𝑗𝑜𝑕 < 50% → 𝑝𝑙

slide-27
SLIDE 27

www.cs-group.de communication & systems group 27

3 different verdicts are met in this example

Validation criteria – Settle time example

slide-28
SLIDE 28

www.cs-group.de communication & systems group 28

Validation criteria – Confidence level (1/4)

11 Nodes, 2 of them with low resistance termination 3 passive stars

slide-29
SLIDE 29

www.cs-group.de communication & systems group 29

Validation criteria – Confidence level (2/4)

Settle time example

slide-30
SLIDE 30

www.cs-group.de communication & systems group 30

Validation criteria – Confidence level (3/4)

slide-31
SLIDE 31

www.cs-group.de communication & systems group 31

Validation criteria – Confidence level (4/4)

  • 1. Only with optional TDC
slide-32
SLIDE 32

www.cs-group.de communication & systems group 32

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-33
SLIDE 33

www.cs-group.de communication & systems group 33

Need for automatization

  • Todays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-34
SLIDE 34

www.cs-group.de communication & systems group 34

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-35
SLIDE 35

www.cs-group.de communication & systems group 35

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-36
SLIDE 36

www.cs-group.de communication & systems group 36

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-37
SLIDE 37

www.cs-group.de communication & systems group 37

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-38
SLIDE 38

www.cs-group.de communication & systems group 38

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕!

slide-39
SLIDE 39

www.cs-group.de communication & systems group 39

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕! Keep counting, we must analyze also the arbitration phase…

slide-40
SLIDE 40

www.cs-group.de communication & systems group 40

Need for automatization

  • Nowadays implementations demand automatization
  • Each topology is evaluated independently
  • Example:
  • 11 Nodes (n=11)
  • 4 edges (Transmitter/Receiver, D2R and R2D)
  • Test at 2Mb/s and at 5Mb/s
  • 3 Temperature conditions should be evaluated (high, room,

low) 𝒐𝟑 𝒕𝒋𝒉𝒐𝒃𝒎𝒕 . 𝟓 𝒇𝒆𝒉𝒇𝒕 . 𝟑 𝒈𝒔𝒇𝒓 . 𝟒 𝒖𝒇𝒏𝒒 = 𝟑𝟘𝟏𝟓 𝒏𝒇𝒃𝒕𝒗𝒔𝒇𝒏𝒇𝒐𝒖𝒕! Keep counting, we must analyze also the arbitration phase…

What about the human error? Automatization gives quality as well

slide-41
SLIDE 41

www.cs-group.de communication & systems group 41

Need for automatization

What happens after measurements? Should we adjust the topology?

slide-42
SLIDE 42

www.cs-group.de communication & systems group 42

Agenda

Design flow introduction Topology simulation Validation criteria Need for automatization Conclusion

slide-43
SLIDE 43

www.cs-group.de communication & systems group 43

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • Automatization + Simulation gives a broader horizon to

designers

slide-44
SLIDE 44

www.cs-group.de communication & systems group 44

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • Automatization + Simulation gives a broader horizon to

designers

slide-45
SLIDE 45

www.cs-group.de communication & systems group 45

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • Automatization + Simulation gives a broader horizon to

designers

slide-46
SLIDE 46

www.cs-group.de communication & systems group 46

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • Automatization + Simulation gives a broader horizon to

designers

slide-47
SLIDE 47

www.cs-group.de communication & systems group 47

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • A
slide-48
SLIDE 48

www.cs-group.de communication & systems group 48

Conclusion

CAN FD means higher data rate and even larger payloads

  • Simulation nowadays is an excellent approach to overcome

the design problems at an early stage of a vehicle development and/or newer versions of existent designs

  • The most important factor for higher frequencies is

asymmetry and simulation is an excellent tool to evaluate it

  • Not only typical signals can be analyzed but those affected by

tolerances and specified ranges as well

  • Automatization is what makes simulation an effective way in

the Topology analysis

  • Automatization + Simulation gives a extended focus to

designers

slide-49
SLIDE 49

www.cs-group.de communication & systems group

Thank you for your attention!

49

slide-50
SLIDE 50

C & S group GmbH Am Exer 19b 38302 Wolfenbüttel Germany Tel +49 53 31 ∙ 90 555 0 Fax +49 53 31 ∙ 90 555 110 info@cs-group.de www.cs-group.de

Federico Pereira

f.pereira@cs-group.de

What can we test for you?