Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the role of aging counter and debounce counter in AUTOSAR while logging DTC?

Tags:

autosar

I am new to AUTOSAR and i am trying to understand how a DTC is logged but i am confused with aging and debounce counter. Please help me to understand how DTC is logged ?

like image 835
tkumar Avatar asked Sep 11 '25 21:09

tkumar


1 Answers

The Dem module offers two (among many others) important services to log the status of DTC. One "Dem_SetEventStatus" is used by SwC and another "Dem_ReportErrorStatus" is used by BSW components. Whenever a DTC fault conditions is detected i.e. non-reception of a CAN messages, depending upon the components, DTC logging request is send to DEM module by corresponding services.

Debouncing Counter In order to avoid unintentional jitters in fault conditions, debouncing may be introduced in either reporter module or in DEM module. Debouncing counter in DEM module simply counts for debounce period for the configured event before saving the DTC in memory.

Aging Counter The Dem module provides the ability to remove a specific event from the event memory, if its fault conditions are not fulfilled for a certain period of time (operation cycles). This process is called as "aging" or "unlearning".

like image 76
Arun Mishra Avatar answered Sep 16 '25 07:09

Arun Mishra