Thursday 29 September 2022

Basics of Autosar Module - DEM [Diagnostic Event Manager]

 

DEM is a software component in Autosar BSW responsible for managing the diagnostic events reported by other software components. When I say other software components its can be an application SW-C or an software component of BSW. We will understand the term Diagnostic Event later.

So a software component detects an diagnostic event. If it wants that event to be managed, then it reports it to DEM module. Then DEM module manages the event for the software component. The Sw-C can check the status of the event it reported with DEM at anytime. And depending on the status of that event either DEM module or the software component can take some action.

I mentioned many interactions between Sw-C and DEM module. And DEM provides API for each of them as listed below:

Interaction

API

Report Event to DEM

Dem_SetEventStatus(EventID, EventStatus)

Check Event Status

 

 

 

 

 

 

Note: The Event is detected inside the Sw-C only and the function which checks for occurrence of the event is known as Monitoring function.

 

What is an Diagnostic Event?

Each component in automotive software must behave according to its specifications so as to serve its purpose. But sometimes due to some problem, it may deviate from its expected behavior and this may result in some malfunction and cause problems like accident also. So it is necessary to have some mechanism which checks continuously if a component is behaving as expected or if some mal-function is happening. This is called as diagnosing the component and the function which performs a particular diagnosis on the component is called a monitor function.

            Each monitor function checks for a particular behavior and if it identifies some significant deviation, then we say a diagnostic event occurred. An event in English means something occurring which is of a significance. Here also this is an event of diagnostics and is significant and demands some kind of an action. Hence the term Diagnostic Event.

            So each critical component has its own monitors and they check the behavior of the component and raise diagnostic events. A diagnostic event is identified by EventID(number) or its EventName(string).

 


All the events which can be reported will be configured in DEM module beforehand. Each Diagnostic Event is configured as DemEventParameter. Every time the monitor function performs the check, the result of the check is reported to DEM. The result of diagnostic event check is called Event status.

Configuration of Diagnostic Events is shown below in DaVinci Configurator:


Example of an Diagnostic Event:

Imagine there is a software component responsible for reading the battery supply voltage. The battery voltage must be between 3.3volts to 4.5 volts which is the valid range. There can be a monitor function to check for Short-to-ground. It keeps checking if the value of battery voltage read is zero or not. If anytime the battery voltage becomes 0volts then it raises Diagnostic event and reports it to DEM.

 

Why Diagnostic Event

Diagnostic Events are the means by which the Software performs self diagnosis and stores the status of its health in fault memory. But these diagnostic events are internal to the system and not visible to the outer world. All this self diagnosis is part of On-Board Diagnostics where the system diagnoses its health and stores it so that a technician can read it via tester tool and fix the problems. He uses UDS services for this and those tester diagnostic communication is handled by another Autosar module called DCM. But As said before, diagnostic Events are not visible to either DCM or Tester tool. For that purpose we have DTCs. DTC stand for Diagnostic Trouble codes and we will learn about it in next section. 

Note: Autosar provides possibility of disabling an event configured in two ways.
  1. Configuration parameter : DemEventAvailable
  2. API : Dem_SetEventAvailable( )
With this we can mark an Dem Event as not available. An event which is not available is treated as if it was not included in the Dem configuration.

Diagnostic Trouble Codes [DTC]

A ‘Diagnostic trouble code’ defines a unique identifier (shown to the diagnostic tester) mapped to a ‘Diagnostic event’ of the Dem module. The Dem provides the status of ‘Diagnostic trouble codes’ to the Dcm module

The link between Dem Event configuration to the DTC configuration is shown in below diagram:



There are two different kinds of DTCs:

  • Non OBD-relevant DTCs (UDS DTCs) 
  • OBD-relevant DTCs

 In DEM, DTC number is represented as UINT32. In General, OBD related DTCs are 2 byte long [WWH-OBD has 3 bytes DTCs] and non OBD DTCs are 3 byte long. Non OBD includes UDS[ISO14229] and J-1939 protocols. They are represented as shown in below diagram.


DTC Groups:

    You know DTC is 3 bytes length and each DTC represents a particular fault in the system. Imagine when some problem occurs in the car, then upon diagnostics, system logs some DTCs in its fault memory. The technician checks that and fixes the problem and now he must clear all those DTCs in the system as the problems no longer active in the system. So it is a tedious job to clear each DTC one by one. So Autosar and UDS protocol allows to group a range of DTCs and the group is identified with a similar 3 byte code as well. If the ID for DTC group is used in UDS services like clear DTC or DTC settings etc, then same operation is performed for all the DTCs in the range. 

    Now by default, all the DTCs configured is grouped together in a group with ID 0xFFFFFF. If you need to create more DTC groups then you can. The DTC ID for the group can be chosen from range 0x000100 to 0xFFFE00. The DTC group can be created in DEM configuration in "DEM >> DemGeneral >> DemGroupOfDTCs" 
Example of configuration is shown in below diagram

Here range of  DTC group is starting from the ID of group DTC till ID of next DTC group. In this example the range of NewDTCGRoup is 0xD80F01 till 0xD80F3F.

 

 

 

Friday 29 January 2021

Refer Your Autosar Friends and Earn [Win-Win Situation]

 

Yes Refer your friends and Earn if he joins the company. Its a win for us, win for you and win for your friend too. 

Referral Form : CLICK_HERE



What Candidates we are looking for?
    We are looking for Autosar Candidates in Automotive domain with at least 3 years experience. The candidate should have hands on experience with any one of the configurator and know autosar. Any one stack like comstack or DCM or diagstack or memstack or IO stack or MCAL experience or even bootloader. 

Which locations?
    The work locations are Bangalore and Pune. Right now Work from home option is available but Not sure till when will this be available. 

What is the project?
    We are Bolgatty team [Award winning stable startup MNC company. We are in collaboration with Wipro Automotive sector. [Collaboration doesn't mean outsourcing]. Wipro recently acquired the automotive sector or Marelli group. So a new project for infotainment ECU is starting. So Bolgatty is building a core Autosar team in India. So this is a platform project where you can learn Autosar architecture and flow and various aspects from beginning and become an Autosar expert. 
    
    In other companies the Autosar BSW and stacks are almost freezed and only configurations need to be done so there is no good opportunities to learn Autosar in its complete essence. But here there is a good chance to learn Autosar and createour own SIP and start from meta-model level. We have Autosar engineers with over a decade to 2 decades of experience and so there is good hand holding and training available to learn the concepts clearly.

    So its basically a Infotainment ECU Autosar project in its initial stages. Learning is good and we have good support. If you want to have good learning in work along with good payroll then this is the job to join. 

Why Join Bolgatty?
    We know that the project and work location belongs to Wipro and Bolgatty is providing the Autosar Core team for this project. SO why join Bolgatty for this project and not Wipro directly? 

    I can answer this in multiple points:

  • Career Growth: Bolgatty is a stable startup MNC with multiple projects and collaboration and hence the risk factor is none but the opportunities to climb the career ladder is good. Wipro is a big organisation with lot of hierarchy and so climbing up the ladder is much difficult. 
  • Onsite Opportunities : Due to Covid situations the Visa rules are tightened and travel abroad is very difficult. But after one to one and half years time, the onsite opportunities in Bolgatty will be very good and you can choose to work in or onsite in European countries. You can opt to work for Wipro project or even in house projects then. 
  • Additional Learning : The Bolgatty provides additional training plans and resources apart from Wipro project to improve your knowledge. It provides training and resources to fulfill your aspirations. But this is optional choice depending on individual candidates interest. 
  • Very Friendly Management : In Bolgatty, the management is really very friendly and supportive. It provides various resources for you to learn new things. If you have an idea it provides the network and help you in realizing it. If you have some personal problems then they understand and support you in any way they can. And also they are understanding and helpful. 


How to refer?
    Its very easy to refer a Candidate. You can just fill the google form and resume with the below link. Once you fill the form, you can submit and a notification will be sent to your email ID. Please just make sure you refer only your friends and known persons. The link to the referral Form is : https://forms.gle/nHFtoyxg1TFSsnyt6 


Why do you have to refer. Whats in it for you?
    Yes this is a very valid question. First of all its a very good deed to help your friends and colleagues who are looking for a job. ts gives a special satisfaction which no words can explain. But that's not enough. There is a referral bonus scheme too here. 

Referral Bonus Scheme Rules

  • Referred Candidate if he is selected and joins the company then the referrer [One who referred the candidate]  will be eligible for the referral bonus.

  • If the candidate is experience of 3 years to 6 years then referral bonus is Rs 5000/- . If the candidate is 6 years to 10 years experienced then the bonus amount will be Rs 10,000/-.

  • If the candidate referred is already been referred by someone else then the later referrals will be considered as duplicate and the first referrer will be eligible for the referral bonus and not later referrers.

  • There is no limit for the number of candidates you can refer. But remember to refer only one candidate per google form. And the Resume must be under 10MB size and in word format or PDF format only

  • If the candidate fails the interview, or doesn't join the company then the referrer is not eligible for referral bonus.

  • Once the candidate clears the interview process and joins the company, the referrer will get the referral bonus along with the first salary of the candidate. 

  • Here the referral bonus amount mentioned is the base amount. If the candidate referred is really good and the organisation is happy, the the referral bonus can be much more than this amount mentioned here. 


So what are you guys waiting for? 
REFER-HELP-EARN
Hurry up. This referral scheme is for a limited period as we are on a ramp up pace. 








Tuesday 22 December 2020

Automotive Udemy Courses [BestSellers with Discount Coupon Code]

 

Hello Automotive Enthusiasts,

It is very important to be updated with knowledge and concepts in any industry. Especially if you are in Automotive industry which is being revolutionized, you have to be update. So for that having complete grip on the basics is very important. So for that, Shyam Bhat who is an expert in Automotive domain and is Senior Technical Specialist has taken a step and making Automotive courses in Udemy and they have become best sellers with 93% satisfaction rate. The instructor has very good presentation skills and not only he teaches the concepts from scratch in a easy to understand manner but also uses various analogies to make you get complete grasp of the topic.

“Education is a process of learning new things on basis of what we already know.”  says the instructor and that’s what he does so well in these Udemy Courses. Below you can see the promo videos of each course and title and also the discount Coupon code. Please enroll in Udemy for these courses in browser as you cant apply coupon code in mobile Limitation from Udemy side). You can even click here to send these course details and link to this post to your email ID. (Your email ID wont be saved so that no spams or selling of your email ID is not possible so don't worry) -Link will be posted soon


Course 1: Autosar Basics


Course Title: Learn Autosar from Scratch (Beginner to Intermediate)

Course Link: https://www.udemy.com/course/learn-autosar-from-scratch/?referralCode=845E0798D424741AA737  

Coupan code: CUSTOMDISCOUNT24

-----------------------------------------------------------------------------------------------------------------------

Course 2: DCM Module and Diagstack [Tester Diagnostics]


Course Title: Learn Autosar DCM and Diagstack from scratch

Course Link: https://www.udemy.com/course/learn-dcm-from-scratch/?referralCode=3C23B55C1D3A417CFAEE 

Coupan code: CUSTOMDISCOUNT24

-----------------------------------------------------------------------------------------------------------------------

Course 3: CAN protocol, CAN-FD Protocol and  Canalyser tool


Course Title: Master CAN protocol completely from Scratch (CAN + CAN-FD)

Course Link: https://www.udemy.com/course/master-can-protocol-completely-from-scratch/?referralCode=3DA9EBDB06E13416F00E

Coupan code: CUSTOMDISCOUNT24

-----------------------------------------------------------------------------------------------------------------------

YOUTUBE FLOW CONTROL PLAYLIST

You can even watch Flow control course with all needed pre-requisites free in this YouTube playlist. It will help you in getting a feel of Instructors presentation and teaching skills before enrolling to a course in Udemy. <Click_Here> for the Flow control playlist.   

-----------------------------------------------------------------------------------------------------------------------

 


Whatsapp Group Link: CLICK_HERE   



********************************************


YouTube Channel Link : CLICK_HERE 



********************************************


Blog Home Page : CLICK_HERE 



*****************************************
You can share this blog post link by pressing on the share icon below. Happy learning. All the best!!!

Wednesday 16 December 2020

Impact of Corona Pandemic on Job Industry - What you need to know

 

        Corona Pandemic hit the world in 2020 hard and along with creating a havoc and damage to the health of people, it also has impacted the job industry and overall economy of the world. According to a survey conducted by BBC, around 3,70,000 members lost their jobs by October 2020 due to Covid pandemic. See the below graph




Also many people, who have not lost their jobs have experienced reduction in their salary or no salary being paid at all on time. So this Covid19 situation has give a major blow to economy on an individual and organization level. You can have a look at below diagram to understand which industries have experienced what level of economic damage due to corona.


If you browse through LinkedIn, you might find so many connections of yours posting such request posts and expressing their sad stories and tight situations and requesting you to share details of any openings or at least like or comment for better visibility. The registrations to job portals like naukri, Monster India, LinkedIn Job portal, hirist etc exponentially increased. 

Because of this, the the number of candidates applying for a job increase dramatically. By this process ultimately the supply of human resource is greatly increase where as the demand is still the same or in fact reduced. So an imbalance occurs between demand and supply chain. When such an imbalance exists, the filtering and recruitment process and selection procedures all will become highly stringent. This creates a bottleneck in Job Supply-Demand stream. 

This increases the competition, challenges, everything. So how do you prepare yourself to be better than others so that you get a good job even in this difficult times? Yes In this post we discussed and realised the situation and problem due to CoVid. How to cope up with this and some guide to moving forward and a plan to prepare and equip yourself to meet this problem head-on will be discussed in next post. 


Saturday 5 December 2020

Revolution in Automotive domain. Let us understand its impact on Job creation

Automotive domain is revolutionising rapidly. Engine cars to Battery operated cars, Driver driven to Driverless Autonomous cars, Fuel based to Green energy and Electric cars, Standalone to Connected cars which is bringing in the cyber security technology to automotive domain and it is impossible for you to not have noticed this revolution and change happening in the Automotive industry. Also you notice lot of comforts and luxury features being implemented in a car and more luxury is incorporated day by day. So how does this revolution impact the job industry and how is this coping with the Corona Pandemic? Some light and analysis in this regard will be shed on this aspect in this article.

 

            It is expected that 110 million vehicles will be produced by 2025. Asia has become the hottest market in terms of passenger vehicle production. And it will increase by 7 million and by 2030 around 117 million cars will be produced annually. Also the technology is drastically changing or rather increasing day by day. Cyber security is entering automotive domain. Energy alternatives like solar, and electric vehicles and super capacitors etc are gaining relevance and role. The number of embedded systems controlling the vehicle parts called ECUs are increasing. The software architecture is standardised called Autosar and becoming more complex day by day with multiple upgrades and releases. You can know about the various releases and learn more about autosar from its official website: www.autosar.org . Understanding about autosar and its need and its various aspects is very important if you are or want to work in automotive industry because Autosar has got a monopoly over automotive industry and will continue to do so for a foreseeable future.

            It is obvious that since lot of developments and advancements are happening in automotive industry, a high demand for employees will be there. New skilled engineers are obviously needed. So the demand is obviously more compared to demand previously in Automotive world. Also we have to consider the impact of Covid pandemic. Due to corona effect, lot of engineers have lost their jobs and now since the effect is on downhill and social structure is correcting, the number of engineers looking for job is very high. So the supply also has increased drastically than the demand. Now what does the engineers have to do to get the job in such a high level of competition and work in such an exciting domain? The answer is simple. You have to improve your skillset. Become better than the competition. If you have a job in a automotive domain also if you don’t update your knowledge and skillset and remain on the edge, it is difficult to climb up the career ladder and you will have to miss out on various career opportunities.

 

Now how do you improve your skillset and be updated? Online courses is best option. Also you can dedicate a certain amount of time daily to improve yourself which will work wonders for your knowledge as well as confidence. Make investment in yourself and it is sure to pay off in time. I am saying this with my personal experience and it is repeated by many successful people.

Whats the plan then? I would suggest that always start with choosing the list of skills you want to learn and improve. Then on each topic start with a good online course. It is better to choose online platforms like Udemy than youtube. The main reason being in udemy you will get complete courses with quiz and tests and certification and also possibility of getting your queries answered. You can get full refund if you are not satisfied with the content and also its lifetime access. Also since the content is made by an expert and reviewerd by an expert before becoming live online, these courses are more reliable compared to some blogs and youtube videos.

Once you complete the course on these topics and skillset, you will have a good motivation and understanding of the topic, so now sit with tools and practice the practical aspects of the skill. This will help you in mastering the skill. Once you et hands on experience you can make study groups and discussion groups to share and learn more on it and do mock inter views amongst yourselves and this will really give you a understanding of how much of an expertise you have on the matter compared to others in the industry.

So this much must surely help you in mastering any topic and update your skillset and make you accelerate in your career growth.

 

I myself am a Udemy instructopn in automotive domain and below are the links to my 3 best seller udemy online courses.

Course Name: Learn Autosar from Scratch (Beginner to Intermediate)

Course Link: https://www.udemy.com/course/learn-autosar-from-scratch/?referralCode=845E0798D424741AA737   

Coupan code: ARDECEMBER2020

 

Course Name: Learn Autosar DCM and Diagstack from scratch

Course Link: https://www.udemy.com/course/learn-dcm-from-scratch/?referralCode=3C23B55C1D3A417CFAEE

Coupan code: DCMDECEMBER2020

 

Course Name: Master CAN protocol completely from Scratch (CAN + CAN-FD)

Course Link: https://www.udemy.com/course/master-can-protocol-completely-from-scratch/?referralCode=3DA9EBDB06E13416F00E

Coupan code: CANDECEMBER2020

 

You can watch the promotial videos of all  this courses here on youtube

Youtube playlist link: https://www.youtube.com/watch?v=TY88AIRMLxk&list=PL7RbKI2JHDnJlcPQjIHhVXXLBmtJuOmfq  

 

Also Link to my blog: https://vichara-manthana.blogspot.com/

 

You can see the promo videos before enrolling. Also I have a group in whatsapp for discussion and sharing the knowledge: https://chat.whatsapp.com/K7mirFMnc8VHuJUOjR691e

 

Happy learning!! Enjoy