This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CAN bus CRC - Probability of Undetected Failure

I wonder if anyone could help me please.

I am writing an assessment of the safety implications of functions that are reliant on a CAN bus.  

More specifically, I am interested in the Probability of Undetected Failure of the CAN bus CRC-15 Cyclic Redundancy Check.  I have found some figures and graphs for some specific CRCs, for some Bit Error Ratios, but not for the specific CRC of interest.  I know there are ways of calculating these figures given the CRC polynomial, packet length, and BER, but in the papers I have seen, the maths looks a bit beyond me.  Also, as it is a commonly used CRC I am interested in, I was hoping to find a source of pre-calculated values, ideally for a range of BERs.

Any assistance or guidance would be appreciated. 

Thanks

Bill

Parents
  • Hmm the question seems to be about the CRC specifically, just applied to the slightly thorny problem of variable length CAN packets. There is a lot written about the chances of errors being missed under a CPC, but there are real situations, such as bursts of interference or periodically repeating  interference that complicate the answer relative to the white noise normally considered in the text books.

    Certainly it  is  possible to have far more un-spotted errors than the simple case suggests, if the errors are non-random. My maths is not really good enough to go far beyond this.

    Mike

  • The main point for me is the relevance to safety. If it is a safety-related calculation then the piece of kit is being used in a safety-related application. That will necessarily have been assessed - or is being assessed - against some standard (IEC 61508; IEC 61511, ISO 26262, etc). The manufacturer of the kit will have the kind of information that allows users to use their kit in safety-related applications according to that standard. As a matter of due diligence, you have first to ask them for their HRA, or data relevant for yours. That is why I suggested it.

  • Mike

    Thanks for your response to my query.  I must apologise for the delay in responding.

    You are correct that the question is specifically about the CRC.  Regardless of the safety integrity to which the network nodes were developed, there is still a possibility that a frame on the CAN bus could be corrupted in transmission in such a way that the CRC does not detect it.  Our customer has asked us very specifically to include that failure in our safety case.  This will involve including the failure “message corruption in transmission, undetected by CRC” in a Fault Tree.  I therefore need to assign a probability to that failure.  This is why my question is very focused on the probability of undetected failure of the CAN 15-bit CRC, and not on any other failure mode of the network, as those other modes are accounted for elsewhere.

    I can find information on the probability of undetected failures for some other CRCs, dependent on packet length and BER, but I can’t find this information for the CAN 15-bit CRC.

    I understand your point about your maths not being good enough to try to calculate these failure rates yourself: I am in the same situation, which is why I am trying to find a pre-existing source of this data.

    If you could provide any pointers to where I should look next, I would really appreciate it.

    Best Regards

    Bill

Reply
  • Mike

    Thanks for your response to my query.  I must apologise for the delay in responding.

    You are correct that the question is specifically about the CRC.  Regardless of the safety integrity to which the network nodes were developed, there is still a possibility that a frame on the CAN bus could be corrupted in transmission in such a way that the CRC does not detect it.  Our customer has asked us very specifically to include that failure in our safety case.  This will involve including the failure “message corruption in transmission, undetected by CRC” in a Fault Tree.  I therefore need to assign a probability to that failure.  This is why my question is very focused on the probability of undetected failure of the CAN 15-bit CRC, and not on any other failure mode of the network, as those other modes are accounted for elsewhere.

    I can find information on the probability of undetected failures for some other CRCs, dependent on packet length and BER, but I can’t find this information for the CAN 15-bit CRC.

    I understand your point about your maths not being good enough to try to calculate these failure rates yourself: I am in the same situation, which is why I am trying to find a pre-existing source of this data.

    If you could provide any pointers to where I should look next, I would really appreciate it.

    Best Regards

    Bill

Children
No Data