4

I'm a rookie in Adaptive AUTOSAR.

I can't imagine why Time Synchronization(Tysnc) is needed. System time of ECUs can be synchronized by PTP.

Could you explain why Tsync is needed even though PTP synchronize time across a distributed system? Or I welcome any documents or materials for me to understand Tsync's usages or use-cases.

Gerhard
  • 6,850
  • 8
  • 51
  • 81
Sean
  • 51
  • 2

2 Answers2

2

The reason for the existence time sync along with the definition of time domains is that you need to be able to define different time domains across different bus systems within the vehicle. One example for a not directly obvious definition of a time domain could be the metering of operation-hours.

On top of that, the time domains can cross AUTOSAR platforms, i.e. a time domain may consists of both CP and AP nodes.

You can find explanations for time sync in (e.g) the AUTOSAR documents TPS Manifest and TPS System Template.

Uwe Honekamp
  • 2,478
  • 1
  • 17
  • 15
  • I am also trying to explore tsync, but what exactly TimeDomains in ECU.Why we need different time domains in ECU, As per my understanding entire system will maintain the same time value so one time-domain is not sufficient. – goodman Feb 22 '20 at 14:05
  • No, the time values in the different time domains are not the same. That‘s why we need time domains. For example, one time domain represents the system time, one time domain represents the GPS Time, one time domain represents the operation hours. and so on. – Uwe Honekamp Feb 22 '20 at 14:33
  • Thanks for your reply back, I have one more query why offset timebase is required.As per my understanding it's used to set the offset value of different timezones.This we can achieve using Offset slave but why we need offset master except the timezones use case is there any other major usecases are there ? – goodman Feb 23 '20 at 12:26
1

There need to be different time bases in vehicle. Examples of Time Bases in vehicles are: • Absolute, which is based on a GPS based time. • Relative, which represents the accumulated overall operating time of a vehicle, i.e. this Time Base does not start with a value of zero whenever the vehicle starts operating. • Relative, starting at zero when the ECU begins its operation.

rjhcnf
  • 762
  • 6
  • 12