Lesson finished
Lesson finished
Lesson finished
Up next: ARM Cortex Families, Cortex-M4 Components and the CMSIS Software Package
Unlock all 12 lessons of Fundamentals of Embedded SystemsFull course ₹40,000 · paid
Embedded System Basics and Automotive ECU Case Studies
A free lesson from Skill-Lync's Fundamentals of Embedded Systems course, on Grow by Skill-Lync · Last updated 16 Nov 2026 · Session: “1.0 Embedded Systems in Mechatronic Systems”
What will you learn in this free Fundamentals of Embedded Systems lesson?
The instructor defines an embedded system and splits it into hardware and software, covering board support packages, peripherals such as I2C, SPI and UART, and how it differs from a general purpose computer. The second half introduces automotive ECUs, with a car seat controller, CAN communication and an HVAC ECU as case studies.
- How embedded systems differ from general purpose computers
- Embedded hardware and software layers and board support
- Typical components inside an automotive ECU
- Why CAN suits vehicles: fewer wires and strong EMI resistance
What comes after lesson 1?
The next free lesson is lesson 2, “ARM Cortex Families, Cortex-M4 Components and the CMSIS Software Package” (79 min). Later in Skill-Lync's Fundamentals of Embedded Systems course (paid): lesson 4, 0 Embedded Systems Development (Bare-Metal/RTOS/Linux); lesson 5, 0 Software Development Life Cycle; lesson 6, 0 Introduction to Safety Standards. The full course has 12 lessons (13 h 7 min of video); see the course overview or its price and syllabus.
Lesson transcript
Machine transcript of the lesson audio (lightly cleaned). Technical terms may contain errors; the video is the reference.
Part 1
Hi all, welcome to the course Fundamentals of Embedded System. In this session, we are going to discuss about Embedded System in Mechatronics System. Let's see the table of contents. Here we are going to discuss about Basics of Embedded System, Basics of Automotive ECUs and some of the ECUs case studies and its reference design. What are the learning objectives of this course? After going through this course, the participants should be able to understand the Basics of Embedded System Elements and Automotive ECU Basic Concepts and also they will be able to identify the components of Automotive ECUs and internal functionalities of components of Automotive ECU. These are the learning objective of this course. Let's see the Basics of Embedded System. What is an Embedded? An Embedded System, a computer system designed for a special functionality in terms of both hardware and software. Unlike general purpose computers, an embedded system developed with the restricted resources and sometimes with the restricted power usage. For the easy understanding, we are here dividing the embedded system devices into two categories. Embedded system hardware and embedded system software. So in and around, you can see a lot of embedded system device that is ranging from a small home automation device to a high highly complicated mobile devices. You can see a lot of embedded devices around in your washing machine and or in your microwave oven or in your home automation, Wi-Fi bulb or other devices in your home itself. You can see so many embedded devices. So here what we are discussing? What are the peculiarities or what are the special features of embedded system and what what are the difference between a normal computer system and the general purpose of the system and the microcontroller or microcontroller or micro processor based embedded system? So for the easy understanding and for easy learning purpose, we dividing the embedded system into embedded system hardware and the embedded system software as we discussed in the earlier slide. We are dividing the embedded system controller or embedded system devices into two categories embedded system hardware part and embedded system software part. So what are the components of the components or what are the building blocks or what are the building blocks comes in the embedded system hardware part? That's what here listed. So mostly most of the embedded system is consist of basically microcontroller or a micro processor based system. So microcontroller is the main brain of the embedded system. So microcontroller are one of the major building block of embedded system hardware. So depends on the complexity of the embedded system. There are many microcontroller are many microcontrollers also present in one embedded system unit. So one or more microcontrollers can be present in a embedded system. So microcontroller is the brain of the system and the peripheral devices. Peripheral devices as you know microcontroller alone cannot perform all the functionalities in the embedded system or a control unit. Peripheral devices are helping to achieve the functionalities of embedded system or a control unit.
microcontroller baser system for example if you have a bluetooth connectivity so a bluetooth peripheral is one of the peripheral device which will be uh help to uh data transfer between a microcontroller and another system so uh like that there are so many peripheral devices like communication communication interface referrals or level shifting peripherals or many other devices which will help to achieve the functionalities of a microcontroller based system so these peripherals are one of the components in the hardware part of the embedded system and memory as you know the functionality of memory is still but save the data so uh to store the data we have many type of memories are available in the market and in a microcontroller based system we will be using any different type of memory either ram or rom category so if you have a complex system which will run a complex software or a highly a bigger size software then you need to have a external ram in a system and in that case you need to have a external ram memory chip and your data or the size of data which you are acquiring in your system is larger in size you may need a external flash memory or external another a rom category memory in your board so different types of memory for different functionalities we are using in embedded system hardware and the communication interfaces so as you know nowadays most of the embedded system devices are not a standalone uh devices it is not uh working the functionality it's on there are so many data communication happening between embedded system or your microcontroller system and other other external devices so the communication interfaces are one of the major role in the microcontroller based system so it can be a wireless or it can be wired communication there are so many communication protocols like can lin or ur and other uh serial protocols like k-line depends on the application and that depends on the device there are so many communication protocols are integrated into the microcontroller based unit so communication interfaces are one of the major hardware part in the embedded system and then when we come to the major electronics part is a power supply so as you know all the devices are all the components in the microcontroller based system needs power to function so power supply is one of the major part in the hardware part so nowadays most of the embedded system can be work in both online or direct power supply also in the battery supply so power management in power supply electronics is one of the major part in the hardware part so battery management system and protective circuit for the reverse polarity all those uh electronics comes in the power supply electronics and the protective circuits there are so many protective electronic circuit which is accompanied with the power supply to protect the hardware part of the system these are the major components you can see in the uh embedded system or a microcontroller based system so if you take any any one of the any one of the embedded system example you can categorize all the components in that system into this category there will be a one microcontroller one or more microcontrollers and peripheral devices will be there like a display unit or display controller or keyboard for user interface input and output devices like buzzer or other display or led bulbs or so many other output input devices peripheral devices will be there and uh memory unit these are all the components or hardware components in the embedded system so these this can be i uh vary from a different embedded system based on the application on or the scale of the or size of the complexity of embedded system so these one or more components can be we you can see in any one of embedded system or a microcontroller system or a microcontroller system some system may not have external memory or it will have only internal memory in that case you may not see any external memory part or some microcontroller based mobile system will not have any external communication interfaces so but the major components like a microcontroller and power supply all this all these are present in in all the microcontroller system so these are the summary of hardware present in a microcontroller based system let's discuss about embedded systems software part so in embedded system software what are the components or how we can divide the software components into different small units so that we can understand the software architecture of an embedded system in a very easy manner so that's what we have done here so we splitted or we categorized the embedded software entire embedded software into different layers or different category and to better understanding and better learning purpose we did this so these are the components in an embedded system software first one is board support packages and bootloaders and the middleware software then autos or embedded os like embedded linux or android kind of embedded os and application software so when we discussing about the embedded software without software and none of the embedded system or microcontroller system will work so to functioning a microcontroller unit or a microcontroller hardware unit you need a proper embedded system software software which is written for that specific microcontroller which is written for that specific microcontroller to function or to achieve all the hardware functionalities in that microcontroller when we go to the first of first components it is Both support packages. Both support packages are nothing but the basic components or basic program or a software which is able to support the or which is able to access the hardware layer of a microcontroller.
So, as you know, there are so many peripherals or hardware peripherals are available in the microcontroller unit like communication protocol like I2C, SPI or UART and other DMA for data transfer and so many other peripherals like timers. Many things are there in the microcontroller apart from the processing unit. So, to access these hardware units, you need a program to run in the microcontroller. So, to access all the registers, basically, we are writing and reading data to the registers of this peripheral units. So, to support or to get the functionality of this hardware peripheral, we need a hardware abstraction layer or a board support package software which will be basically communicating to the basic layers of microcontroller.
So, this board support packages will help you to build the software system or entire application software in your board. So, board support packages is the one of the base or foundation of a microcontroller based system and then comes to the board loader part. So, there are so many functionalities are available in the boot loader. Normally, we used to use the boot loader for basic functionality checking and the basic board health checking and the firmware upgradation. All those functionalities, we are integrated into the boot loader software.
So, boot loader is also a small software package which will be helping to achieve this functionality like firmware upgrade or system health check or some basic initialization purpose, all those things. So, boot loader is also a major part in the embedded system software. So, boot loader basically will be starting in the initial or in the early stage of the system initialization. So, boot loader will comes into picture when the system is starting from the power up or from the initialization point. So, boot loader will do all the functionalities and that once everything is finished with the boot loader part, then boot loader will hand over the system control to the application layer.
So, this is a way of boot loader works and these are the functionalities normally comes in the boot loader. So, one is initialization part, some system initialization part and firmware upgrade, firmware upgrade functionality. These are the minimum functionalities in the boot loader and then next one is middleware software. In the middleware software part, it is also a software package or a software which is supporting the application development of microcontroller system. So, this middleware software component will help to interact or exchange data between the lower layer of the microcontroller and the application part.
So, normally we application or OS layer will use the middleware application or middleware package APS to exchange the data between hardware and application layer. So, middleware is also a software component in the embedded system and then autos or embedded OSs. So, if you have an embedded system with multiple tasks and so many functionalities are running parallelly, if you want to achieve real-time operation. So, then you need to have a autos or embedded OSs to perform or to get better control over the task running and better control over the functionalities or managing the memory and managing the other resources.
So, normally a embedded system will have a proprietary autos or any common autos available in the market or embedded OSs like embedded Linux or Android and some Linux-based autos system. So, these are the autos category. So, autos will give you more flexibility in creating or application software and also it will provide better handling of memory and the process and all the system resources. So, autos layer of autos program is very, very important and it will have a crucial role in the embedded system software. And the next one is the application software.
In the application software layer, normally we use to all the functionalities normally which is used for the specific devices. Suppose we are using a microwave oven, the functionalities of microwave oven is to handle all the input of input user switches and read all the switches input. And control the microwave circuit and control the microwave circuit and timers, all those things. So, these user functionalities and the user application, everything will be writing in the application layer. And so, these are the major components of embedded system software.
So, if you take an embedded system or a microcontroller based system, you have a hardware part and you have a software part. As I discussed earlier, you can see so many components or basic components in the hardware part. And in the software part, you can see the board support package. You can classify or you can differentiate the software layer into these many layers. So, depends on the size or the complexity or the scale of the embedded device, it can be very, the layers of the embedded software will be very different size.
Let's say if it is a small, very low, low complex or a very less complex embedded system like a thermometer. So, you can see in a clinical thermometer, digital thermometer, it will be having one sensor and there is one display and there is a small microcontroller which will convert this sensor value to human readable value. So, this is a perfect example of very less complex microcon based system. In this, there is no need of any RTOS because there is no more number of tasks are running concurrently or no need to achieve any kind of real-time operation.
So, this is very less complex system. So, in that case, RTOS or any middleware software may not be required. So, it depends on the size and the complexity of the system, the layer of this software or embedded software will be very from one to another.
Part 2
So the basics of embedded system, what we have explained in the last two slides, this is a pictorial representation or the block diagram representation of that embedded system. So here you can see embedded hardware, this in the software part we have application software, autos and bootloader layer, then there are so many inputs like says different kind of senses inputs will be there and user inputs like a touchscreen or buttons or keyboard or fingerprint reader kind of user input. So there are many kinds of inputs or user inputs are available and these inputs will be gathering the data from the external world and pass it on to the embedded system or the microcontroller.
So then the output as a result of analyzing and processing this input data, the microcontroller will decide or it will control some output devices like relays or solenoids or any other kind of output devices. For example, for example, LCD display LEDs, any other outputs, so inputs and outputs and a communication channel that will be used for exchanging the data between the microcontroller and other external system. It can be either wired or wireless communication, so both we can club together and we can say a communication channel.
The data exchange between the microcontroller and other external world is happening through the communication channel. So the input will be gathering the data from the external world and microcontroller will be processing that data and based on the software or the logic that is written in the software, we will be processing that data. The result of the data will be transferred either via communication or we are using output to display or transfer the data. So there are many other user interfaces also available to pass the data from the user to the microcontroller like touchpad or mouse, a camera system or retina scanner.
Many, many, many user interfaces are there to transfer the data between microcontroller and the external world. So this is the basic block diagram of a basic block diagram of an embedded system or a microcontroller based controller unit. Normally in this system, when you convert with a general purpose computer, the devices and components or peripheral devices will be different because all the embedded system hardware and software is meant for specially designed for functioning or achieving a specific functionality. For example, the microcontroller board, which is designed for controlling a washing machine, you cannot use it for microwave oven or you cannot use it for your DTH device because it is specifically the hardware and the software is specifically meant for the big purpose.
But in the case of general purpose computer, all the peripherals and all the peripherals and all the software and OSS are designed such a way that you can use it, a general purpose computer for many other purpose. You can connect so many peripherals and it depends on your application. You can connect so many peripherals and so many applications you can run on that general purpose OSS and you can achieve your goal. So in general purpose computer is designed or it is meant for depends on the application of the user, it can be customized and it can be used to be embedded system.
The system will be functioning or it can be only achieving a specific task. So these are the major difference between general purpose computer and microcontroller based system. But in the nowadays, the microcontroller is getting more advanced and the size of the data and the size of the code which can be handled in the microcontroller is more compared to the olden days. So it is close to the capacity on the capacity on the capability of microcontroller is nowadays it is close to the general purpose computer system which is used in mobile and other computer system.
So the system is getting our embedded system architecture is getting more advanced and advanced and it is the functionalities and the capabilities of the system is approaching to the abilities of a general purpose computer. But still we are using the embedded system for a specific usage that will help to reduce the hardware cost and the software cost of the system. So what are the characteristics of an embedded system? So as per the last discussion, summarizing all the characteristics of an embedded system into these many points.
So it is it will be designed for a specific function or application and it will be a microcontroller based system. It has a power constraint and resource constraint and real time operations and communication with the different peripherals and devices. We did not discuss in the last slide about power constraint and resource constraint. The embedded system which is designed with a microcontroller based control unit will have very constrained power usage. Because if that controller unit it is using a battery cell or any battery for the power input the usage of the input power will be very limited and it can be it can be used for only for as important task running in the microcontroller.
So the usage of power in this case it will be very stringent and the constraints are very very more in the case of in terms of power. So battery operated devices are devices are the most most power power optimized devices in the embedded system. So as you know the battery may not be chargeable or or it can it can one one time use also can be used in the system. But most of the small embedded system like a sensor data gathering or small devices or less complex devices are mostly it is used by a coin cell or a non rechargeable battery.
So in that case the power usage of the power usage of the system will be very stringent and it will be we cannot use the entire capability of the system full fledged manner. So you need to design and develop the software as well as the hardware in such a way that to optimize the power usage of the optimize the power usage of the battery input. So this is one of the constraints or we can say a particular characteristics of an embedded system. But in the case of the system which is using the normal power supply or inline power supply that may not be worrying too much about the power usage.
It can be use all the hardware resources and software resources without any optimization or without any kind of limited use. But here the case is different in battery operated devices. So power constraint is one of the main characteristics and resource constraint. Resource constraint as you know most of the embedded controllers are used for small devices or controlling like home appliances or machine control or very small devices and less cost devices. So in that case you cannot design your hardware or software in such a way that it will be using more resources like more memory and more hardware units and more resources in the computer system.
So the resource constraint is one of the major characteristics of an embedded system. See in the case of a home appliances control unit it can be limited to some limit of cost and it has to be limited in such a way that it can be used in any rugged conditions and it can be used in any weather condition. All this criteria will come into picture when you take an embedded system or a microcontroller system which you will be using in a normal home appliances. So designing the hardware and so it will be very important so that it will use very less resources to achieve the functionality of that system.
So this is resource constraint of embedded system and real time operations. Suppose if your controller is having many tasks running in parallel and to achieve the concurrency or the concurrency in the achievement of completing the task in a simultaneous time. All these concepts will come into real time operation of task in the embedded system. So to achieve the real time operation you need to have a real time OS or any other real time or embedded Linux kind of OS to achieve that real time operation. Again we already discussed about the different peripherals and devices.
So these are the main characteristics of an embedded system. So From this slide, what we have explained in the last few minutes, it is giving an overview of what is embedded system and what are the major characteristics of an embedded system. What are the components in terms of hardware and software? So you had already seen the different peripherals and the different building blocks of hardware and software. So now I'm assuming that you have a better understanding of what is the basic functionalities of an embedded system.
So having said that, we are moving to the next portion of this session that is basics of automotive ECU. So what is automotive ECU? So ECU stands for electronic control unit. It is nothing but a microcontroller based control unit. Automotive ECU is nothing but as the name shows that the control unit which is used in the automotive devices. It can be car or it can be truck or it can be any other automotive devices which will be running on the road or other applications like excavation or other applications like landmover.
So that kind of automotive system also included in this automotive category. So automotive electronics control units are essentially a microcontroller based system and it is responsible for controlling specific functionality in an automotive system. It receives input from different parts of the system via communication channel and also receive input from different sensors. And also it is communicated to other automotive ECUs and also it will be controlling actuators and different output drivers to perform an action based on the input. So these are the basic features of an automotive ECU.
So automotive ECU is also a basic microcontroller unit that will be used in the automotive system. It can be internal combustion engine based automotive or a battery operated or an electric vehicle or any automotive system we can take in this case. So all the ECUs are we are mentioning as automotive ECUs. So automotive ECUs will be basically focusing on each parts of the automotive system and that part will be monitored and controlled by a particular ECUs. So what are the basic components and the basic functionality of an ECU?
So normally in ECU we will have already mentioned that it is containing a microcontroller based control unit. So here we are going to discuss about a small ECU which is used for controlling the seat control of your automotive or let's say a car seat controller. So normally the functionality of a car seat controller is you can adjust the position of our driving or car driver seat with some input. You may have given with a particular button or a joystick that will be using to adjust the seat.
So that input or remote control also you can use as an input to the controller. So that buttons or remote control are used as an input that will be given to the seat control ECU. And there will be a power supply. Obviously all the system is working power supply. So all the system is powered with the power supply from the main battery of the automotive. And there is a body ECU. There is another ECU which is running in the my automotive is body ECU, body controlled controller ECU.
So there are some input which is coming from the body controller ECU that via CAN we are getting. And that command we will be getting from the CAN. And also we have a motor driver. So finally once you are getting the command or input from the user, seat control ECU will be processing that input and that will be passed on to the seat electric motor which is basically the actuator or basically the mechatronic system which is actually in real life it is moving the seat and adjusting the position of that system.
So this electric motor drivers will be driven by the seat controller ECU. So finally seat will be adjusted in such a way that as per the user input. So the position of the seat and other all the measures will be measured by different sensors and it will be given to the ECU for better feedback and control. So basically this is the normal working of an ECU. So you will be getting some commands and some input from the user. And there is some other inputs like friver or some with remote control or some other way of input from the input coming from the different unit.
And both will be read by the seat control ECU. And based on the input seat controller ECU software will take the decision. And it will drive the electric motors and it will adjust the position. And the sensors which is supporting this motors and other parts of the system will be read all the inputs and it will be given to the ECU to control a better position. So it is a feedback loop or it can be used as a different control mechanism. So this is a basic idea of a seat control ECU in a automotive.
So it will have a power supply and user input, user output and communication channel like CAN which you will be using to data transfer between seat control ECU and the body control ECU. So from the beginning the first part we are already seeing the basic structure of a microcontroller unit that can be applicable here. Because all the components are here in this block diagram or seat control ECU block diagram. Next we will see what are the components of automotive ECU. So automotive ECU will have obviously a microcontroller which will be automotive grade microcontroller.
And there are many sensor interfaces and memory units like RAM and ROM or flash game category of memory units. And the communication interfaces and output drivers and actuators and obviously the power supply. So these are the components of an automotive ECU. So what are the types of ECUs in an automotive system? Normally engine will have different kind of or different varieties of ECUs are connected. So in engine itself engine control ECU is used which ECM basically it will be controlling the operations of the internal combustion engine and the power train control module that is basically controlled and monitoring the use of power train and internal combustion engine released system.
And brake control module, central module and central timing module, body control module, suspension control module. These are the types, different types of ECUs are available. From the name itself you will be used to know that what is the functionality of that ETO. So ECU. So for example body control unit will be basically controlling all the body related operations like wind shield and the power window and the wiper. Basically the components which is connected to the body, all the body controller, body control module will be coordinating all this functionality and it is monitoring all these components.
So these are the some of the ECUs available in the normal automotive. But in the case of electric vehicle, there is another category like battery management system and motor controller device, motor controller modules and other battery charging, discharging issues. All this comes into picture. So here basically we are explaining with the conventional automotive system based. It is based on this internal combustion engine. So how ECUs are connected? As I told most of the embedded system is nowadays it is not at all a standalone system. So most of the ECUs working in the automotive unit, it is connected together.
It is not a standalone system. So here in automotive ECUs are connected via CAN network. Normally it is CAN network or advanced system will be having Ethernet connection and some other protocol. But normally the conventional all the ECUs will be connected through CAN communication. So the CAN bus system uses each ECU to communicate with all other ECUs in the vehicle. And the ECUs can broadcast information like the sensor data. So normally the ECUs, whatever a particular ECU which is connected with some sensors and it is gathering the data from the external world.
So that sensor data can be broadcasted through this CAN network to the other ECUs. So the same data which is coming from one ECU can be available in all other ECUs. So suppose engine speed, engine speed, engine control module or ECM that will be gathering the engine speed data and it is broadcasted through. All through the CAN network to the all ECUs. So whichever ECUs which is requiring that engine speed message, that will be consumed that message and it will be using that information. So ECUs are connected in a network and so all the information can be broadcasting through the CAN network.
Also that will help you to avoid the multiple usage of sensor in the system. This is the way normally ECUs are connected in the automotive units. As I told, all the ECUs are connected via CAN bus. So what is the advantages of CAN bus or CAN communication protocol in the automotive system? So the CAN communication protocol basically worked on message based data transfer and it is a network communication system. So the CAN bus, it is in the hardware wise, it is very simple and cheap. It can be, it is using only two wire tested pair to communicate or connecting between ECUs.
And the robustness of this CAN bus is very high. And compared to the other communication protocol, it is very efficient method of communication in the case of automotive. Because automotive is exposed to the extreme weather and extreme temperature and other extreme conditions like different terrains. And we need a robust and rugged system that compared to all other communication protocols and hardware layer of that communication. The CAN bus is most efficient and robust way of communication. And also it is, since it is a network communication, it is not one to one connection is not required.
So that will reduce so much hardware connection. If you have hundreds of ECU and if you need one to one connection, you need to have so many hardware connection between one ECU to another or one ECU to many ECU. But in the case of CAN bus, it is a broadcasting protocol and it is act as a network. So we need to connect one to one in the hardware level of CAN bus and that will reduce so much hardware resources. And also it will reduce the connectivity wires and reduce the vehicle weight.
And the EMI resistance of the CAN hardware is compared to all other communication protocol is very high. So in an automotive system, there are so many EMI related sources are working like a motor and other induction coils and other electromagnetic devices. So these are very high sources of electromagnetic interference. So this can cause communication loss, the communication problem in the vehicle network. So in the case of CAN, it is very less because the nature of hardware and the nature of communication protocol used in the software layer, it will be helpful to reduce the communication loss.
So the EMI resistance also very less in the case of CAN. So these are the advantages of CAN protocol in the automotive unit. These peculiarities will help CANs to select an automotive communication protocol. So all the ECUs are connected via network and these are the speciality of CAN network. Now you insight on what are the ECUs and what is the basic functionality and working of an automotive ECUs.
Part 3
So now we are going to discuss about some of the case studies and reference designs of different ECUs in the automotive system. So in automotive system normally many number of ECUs are available for controlling different parts of the automotive system. So here we have taken only five ECUs that will be mostly present in the automotive system. Normally engine fan control unit and automotive HVAC control, electric power steering, rear camera control and battery management system. So we will be discussing each and every ECUs and its components and the functionalities in the coming slides.
So engine fan control unit. So you know that the internal combustion based engine is basically burning the fuels and that will convert the chemical energy to the mechanical energy. As part of this process so much heat is generated in the engine and we need to cool that engine heat from a higher temperature to the normal operating temperature. So for this process we need a cooling system and we will have a coolant and running around this heated part and that will be absorbing all the cool heat from that engine system.
And from that it is circulating and the engine fan will be blowing the air through this coolant and coil and that will be getting cooled from the air flow. So the engine fan basically it's a part of cooling system in the engine. The operating of operating the engine fan is controlled by this engine fan control unit. So basically what are the components in the engine fan control unit? So there is a digital processing or a microcontroller, the main brain of the engine fan control unit and signal isolation, wired interfaces and power stage, current and voltage sensing, circuit, rotor positioning, sensing and safety and glue logic.
These are the major components in the engine fan control unit. We will be first explaining the block diagram of the engine fan control unit and we will then go to the functionalities and the other detailed explanation of this. So here you can see the engine fan control definitely it will have an electric motor and electric motor which is connected to a fan. So the electric motor is controlled by the motor drivers and that will be powered with the battery. So this battery is powering this motor and motor is driven by there are some different H-bridge bridge rectifier or rectifier circuit to power the motor drivers.
So this H-bridge and the different MOSFET drivers everything will drive the motors and that H-bridge circuit is controlled and it is signaled from the microcontroller. That is in the red box. Here is a microcontroller which is running the software which is controlling the motor and this motor is motor speed is controlled by the microcontroller. So to control the motor we have a closed loop control system here. So we have a motor which is powered with the H-bridge and other MOSFET circuit and the power is coming from the battery and it is signaled and it is triggered from the microcontroller.
The speed of the motor will be controlled from the microcontroller through PWM input and the position and the voltage and current of motor components like motor windings and motor stator and rotor part and the position of the rotor everything will be measured using the different sensors and that will be fed back to the microcontroller for the closed loop control system. So here the microcontroller based digital processing is using for the motor control and that will be the output devices will be the H-bridge and the H-bridge will be driving the motor and the input from the motor will be fed back to the microcontroller for processing a better control in the motor speed.
And there are some power supply related circuits are there. There is a main battery and the main battery will be having a polarity reverse protection and DC to DC isolation circuit. All those power supply related circuits will be there and that will help you to give a uninterrupted and a clean power and the voltage to the system. It will be giving all the power supply input to all the components in the system. So basically here in this fan control unit there is a microcontroller and there is a motor driver circuit and sensors which is collecting all the data from the motor and it is feeding the sensor input to the microcontroller.
So these are the major components in a fan microcontroller or engine fan control unit in the automotive. So if you take a engine fan control there will be a three phase BLDC motor with a no position sensor and phase voltage and current sensing filter and feedback for control of three phase power and operates over a wider ranges of voltage from 48V battery system. So these are the major functionality or major characteristics of a engine fan control unit in the automotive system. So this will give you a fair idea of what is happening in a ECU.
So this is the one of the very very simple and very less complex ECU in the automotive system. Also you can see there is a communication interfaces can or lean communication interfaces which is connected to the microcontroller via signal isolation circuit which will which which will be act as a isolation between the output circuit and the ECU circuit. So this scan communication or link communication also coming through this path and it will be exchanging the data between this microcontroller and the other ECU's. So this is the overall idea of engine fan control unit in the automotive system.
Next we will see automotive HVAC control. HVAC controller is nothing but a heating and ventilation of or we can say AC of automotive system. So in HVAC basically you have compressor and that will be the part of major refrigeration or we can say the AC unit that compressor will have a electric motor and there are some valves and actuators which will be using or it will be functioning as a part of our AC circuit. And there is a power supply, damper motor, blower motor, defrost driver, the AC compressor, controller, load current monitoring, communication interface, temperature sensor interface and bus.
So this is these are the components in the HVAC automotive ECU. So what is the functionalities of a AC in a automotive system? You know that when you are operating HVAC in your automotive system, you will be having control or you will be having a user input like buttons or other sliders to adjust the temperature of your body cubicle. So this is there are so many types of user inputs are available and based on this user input, there is a display which is which will be displaying the current temperature and the other fan speed, all those things.
And that is part of output interfaces. This is a major mechanical unit that will be a refrigeration unit that is consists of a electric motor. And there are some mechanical devices like compressor and valves and solenoids and other parts of the refrigeration unit. So it will have a compressor motor. And also in AC, we have different dampers available in the AC vent. So in the AC vent, you can see the different kind of dampers available and these dampers will adjust the airflow directions in the AC vent.
So damper motor is one of the component in the HVAC controller. And heating also, it is a part of automotive HVAC and defrost circuit, which is using for the shield defrosting. We have a defrost circuit that also will be controlled by the HVAC circuit. And other compressor circuit will be controlled by the HVAC controller. So normally we have damper motor and the compressor motor and other defrost or heating circuit available in the HVAC. These are the output devices or output actuators, which is connected to the HVAC system.
So these output devices will be controlled by the HVAC controller and all the motors will be controlled. All the motor speed will be controlled by the HVAC controller. So there will be a positioning system and a loadback feedback control system available in the motor controller. So there are sensors which is connected to the motor that will be keep on sensing the position and speed of the sensor, speed of the motor. Fedback to the microcontroller that will adjust the control logic and that will drive the HBridge or any other kind of motor driving circuit that will control the motor power, motor speed.
So the motor power and motor speed, it is one category of control in the microcontroller of HVAC system. And the heating part, there is a heating coil and the hot air controlling system. These also, it's a part of microcontroller which is running in, which is part of the HVAC system. So these are the output devices mostly connected to the HVAC system and input, you have a different input like a user input like a touch screen or buttons and other knobs. And you will have a output display unit and other LEDs and other kind of user outputs.
So that will be also connected. And you can see temperature sensor which will be connected across the body and that will sense the temperature, current sensor, temperature and updated temperature, everything that will be key point monitoring. This is also one main input of the HVAC controller. And obviously, the power supply unit, the power supply unit will be powering all the components and other motors and other drivers of the HVAC control. So these are the major components available or required for the HVAC control unit. So this will be functioning as a HVAC ECU.
Normally, HVAC ECU will be communicating to all other part of the engine or all other part of the automotive system via CAN or LIN system. So we have already seen these are the motors and these are the components basically available in the HVAC controller. And now we will be discussing about electric power steering of automotive system. In electric power steering also, you will be having a same system as in the last two slides like microcontroller and different motors which will be steering position. And power management ICs and there are some wired communication and different safety switches and relay.
So in the electric power steering, you see that different motors which will be basically controlling the position of the electric steering, electric power steering. And that motor will be driven by HVAC or some other MOSFET related drivers. So that will be powered with the power supply and the position and current and voltage will be sent back and data will be sent back to the microcontroller here. And there is a communication interface between this power steering ECUs and other ECUs via CAN. So this is and here you can see there are some power management ICs which will be controlling the power to the microcontroller to and fro.
So this is the basic idea of power steering ECU components. So from all these things you will be understanding and you will be familiarizing with the basic components and functionalities of automotive ECUs. So once you come across any automotive ECU, you will be able to recollect all these components and basic idea behind each component. What are the functionality of each component? Whether it is required or not in a particular ECU, that information will come to your mind. So the intention of realizing these ECUs and the reference block diagrams are just to make sure that you will have a clear idea of ECU components and the automotive ECU.
When ECU which will controlling all the automotive system. So and again for another example, we are discussing about rear camera control. You know that in rear camera basically we will be using for the parking and other mainly parking assistant and other operations in when you are taking reverse to reverse direction driving. And reverse camera will be having basically a camera CMOS sensor that will be processing the capturing the image from the outside world and that CMOS sensor output that will be digital signal processing will do.
And that digital signal process the images will be the camera module interface that will go for the decision making. So basically this digital processing is the major component in the camera module that will take the CMOS input and that will convert that CMOS input to a human readable or a specific compressed nature of images. And that images will go for the processing purpose. So in this we have a storage like flash or DDR memory unit will be there to store the images or to store the videos and obviously the power supply circuit and other communication circuit.
So rear camera control is it's a ECU which is used in the automotive system. And when you come to the electric vehicle, so till now we have discussed about all the internal combustion engine based conventional automotive system. Here we are going to discuss about the battery management system in the EVs unit. So in battery management system, we have a battery system controller and monitoring and overcurrent detection and CSC interface control supply signal isolation. These are the components or basic components which will be used for the battery management system.
So here it is a detailed view or detailed block diagram of battery management system. So to better understanding, I am not explaining each and every part of the system because it will not, our information will not help you to understand the overall idea of battery management system. So basically the battery management system functionality is to control the charging and discharging and other activities in the automotive battery pack. And it will be monitoring the health and the other temperature and other functionalities in the battery cells. So this is a major or this is a main functionality of battery management system.
So in battery management system, as you know, that there is a main microcontroller that will be controlling the battery charging and discharging circuit. And there are so many input device input communication system, which is basically the CAN network that will be exchanging the data between other ECUs and this battery management system ECUs. So in this right side of the block diagram, you can see all the cells are arranged in the series manner and there will be power switches and that will be connected to the battery management system.
So here all the functionalities in the battery charging and discharging of this unit will be controlled and monitored by the battery management system. And this battery management system also will monitor the health of the battery like temperature and other parameters, which will be leads to the efficiency of the battery charging and discharging of battery pack. So things these special features will be controlled and monitored by the battery management system in it. So this is the overall idea of ECUs, which is basically connected in the automotive system.
So as a summary, we can say that a basic understanding of automotive ECUs and subsystems, a basic understanding of automotive ECUs and subsystems are essential knowledge for an embedded system engineer. And interaction between ECU and subsystems are essential knowledge for an embedded system. And the interaction between ECUs and input interfaces, sensor data acquisition in ECUs, output drivers and the communication interfaces are basic building blocks of embedded system. This session summarizes the basic concept of automotive ECUs and the working principle and the different building blocks of the ECU system.
So from this session, you will be getting a clear, a basic idea of what, what is a automotive ECU and what is an embedded system and how it's worked. Thank you.