Figure 1 depicts the VFB concept in simplified way. As can be seen from above figure, the SWCs in same ECU can communicate with each other and also with SWCs in other ECUs of a system. Technically, communication between the SWCs of same ECU is called Intra-ECU Communication whereas the communication between SWCs of different ECUs is called Inter-ECU Communication. Intra-ECU communication is realized virtually by defined function calls in RTE on the other hand the Inter-ECU communication is realized by using the underlying communication bus like CAN or FlexRay through COM Stack along with RTE. If the ECUs use different communication bus, then a Gateway is required for translating data from one bus type to another bus type.
As AUTOSAR provides a standardized way of ECU software development, the System Configuration Description has all the information of the SWCs of all ECUs in a system. Each ECU has customized RTE layer which implements the VFB for its respective SWCs. VFB helps in separating the SWCs and the underlying infrastructure thus making SWCs completely hardware independent.
VFB provides mechanisms for following services which are used by SWCs :
- Communication to other SWCs in the system.
- Communication with Sensors or actuators in the system.
- Providing access to standard services such as reading/ writing to memory.
- Responding to mode changes.
- Communication with external calibration and measurement instruments.
I guess I explained VFB, if you have any questions comment them in comment box below.
Thanks for reading 🙂
if you find any incorrectness in the information of this post or you want to give general feedback then please report me.