Lesson finished
Lesson finished
Lesson finished
Unlock all 12 lessons of Fundamentals of Embedded SystemsFull course ₹40,000 · paid
Sensors, Actuators and Signal Conditioning in Automotive Embedded Systems
A free lesson from Skill-Lync's Fundamentals of Embedded Systems course, on Grow by Skill-Lync · Last updated 16 Nov 2026 · Session: “3.0 Sensor-Actuator Embedded Systems Basics”
What will you learn in this free Fundamentals of Embedded Systems lesson?
The instructor shows a block diagram of an embedded device with sensors on the input side and output drivers feeding actuators. It covers sensor properties such as accuracy and response time, signal conditioning before the microcontroller, actuator types by energy source, and an automotive example using CAN or LIN, an ambient light sensor and a temperature sensor.
- How sensors and actuators connect to a microcontroller
- Sensor properties such as accuracy and response time
- Why signal conditioning is needed before the microcontroller
- Actuator types: solenoid, stepper, servo and piezoelectric
What comes after lesson 3?
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, welcome to new session of Fundamentals of Embedded System course. In this session, we are discussing sensors and actuators in embedded system. Let us go through the table of contents in this session. In this session, we are discussing the basic concept of many type of sensors and actuators, which are used in embedded system, especially in automotive systems. sensor type and its functions and applications of different type of sensors. Next is technology behind the different sensors and the role of sensors and actuators in automotive systems. Then we will be discussing about the case study or examples in which how the sensors are using in automotive embedded system.
So these are the contents we are going to discuss further in this session. Let's discuss what are the learning objectives of this course. By learning this course, participants basically understand the basics of sensors and actuators, which are used in embedded system. Also the theoretical knowledge and the technologies of sensor, how it is working in an electronic system. In a microcontroller based system, there are so many sensors and actuators are connected. And it is working together to achieve a particular functionality. By learning this session, you will get a better understanding of how does the sensor works and how does the sensor interfacing with the microcontroller.
To interface a sensor with a microcontroller based systems, you need to have an additional ecosystem and additional electronic circuit that will help you to interface the sensor with the microcontroller. So these topics are also we are covering this session and you will be learning from the session. Let's start with the basic components of an embedded system. This block diagram is a representation of a common embedded system device. In this diagram, you can see there are a number of components apart from microcontroller. It is connected to the microcontroller and it is exchanging the data between the microcontroller and other subsystems.
Let's see there are a number of sensors are connected and the sensors are used to acquire and measure some of the physical quantities from the surroundings. And the sensors are exchanging the data to the microcontroller to a separate channel and you can see the sensors are not connected directly to the microcontroller. It is connecting through its input signal conditioning circuit where the sensors are connected and the input signal conditioning circuit will be communicating to the microcontroller or passing the data to the microcontroller. And we can see a number of user inputs in the embedded system.
There are so many user inputs available in the system. Currently, you can see a GPIO switches and that will be taking data from the user and it will be giving to the microcontroller for the process. So other many types of user inputs devices are available in microcontroller based system like normal keypad switches, touch screens, microphones, fingerprint scanners, RFID readers. All these are examples of user input. So we have seen a sensors and input signal conditioning part and user inputs. And next is output devices or actuators and output device drivers.
You can see these are some of the output devices are connected to the microcontroller. These output devices or actuators are performing some specific tasks, especially mechanical and electrical applications in the system. These actuators or output devices are not directly connected to the microcontroller. These actuators and output devices are connected to the output device drivers. And these drivers are driving this actuators. And the microcontroller will communicate the information to the output drivers. And these drivers drive the actuators and normally the actuators are high power devices. And that will be converted normally electrical signal to mechanical energy, something like that.
So these output device drivers will play a special role in this actuator interfaces with the microcontroller. And another major part of the embedded system is the communication channel that you can see. There are many communication protocols and channels are available nowadays in the microcontroller based system. And like CAN or LING or Ethernet or other Wi-Fi or wireless communication protocols like Bluetooth or SIGP. All those are comes under the communication related functionality. So these communication channels are the major role in the embedded system. So these are a communication medium which is used to communicate between the peripherals or between the devices in a embedded system or in a communication with the outside world.
So nowadays an embedded system is not only working as a standalone system. It can be connected to a distributed system and it will be a part of a distributed system. So these embedded system has to communicate with other devices in the network. So you need to have a proper communication protocol and the communication medium to exchange the data. So communication medium is our communication protocol is one of the major part in the your microcontroller based system. And the power supply and power protection circuit and if it is a battery powered device, it is battery charging, discharging and power handling circuit.
And all those power management is happening through this power controlling circuit and other electronic components of a microcontroller device. So these are the basic components you can see or you can see basic building blocks of a microcontroller based system. In all the microcontroller based system either you will have a number of sensors and that sensors will be a connecting to a input conditioning and then it will be connected to the microcontroller. So actuators also same it will be connected to output device drivers and then it will be again it will be communicate to microcontroller.
And communication channels and other user inputs. So this will makes a normal embedded system or microcontroller based system. And the major the brain of the system is ECU or electronic control unit in which you can see a microcontroller or a system on chip based IC which is having a processing power that will be doing all this computational work. So by this understanding this diagram you will get a better understanding of what is an embedded system device and what are the major components or building blocks of embedded system devices.
especially in automotive system you can see the ECUs which are using in the cars or not any other automotive devices. You can see all those components and you can identify all those blocks especially in the automotive ECUs. whatever other components, don't do that. It's nearly one of the carte sacks of the technology. I have a solution to the using the crear model and CNC model and that theチャ teumin and the Leg
Part 2
As we discussed in the earlier slide, most of the embedded system automotive electronic control unit will have sensors and actuators and the sensors are interfacing with the microcontroller through signal conditioning circuit and actuators are interfacing with the microcontroller through output drivers. So in this course, we are only interested in this topic, sensors and what are the different type of sensors and signal conditioning part of the sensor and when we come to the output devices, what are the output drivers and actuators and different type of actuators available in the automotive system.
You can see in this slide, if you take an automotive issues, there are so many sensors available. Some of the sensor names I have listed down here, temperature sensor, airflow sensor, engine speed sensor, pressure sensor, voltage and speed sensors, knock sensors, accelerometer, level sensors, radars and different type of lidars. So these are some of the sensor examples or type of sensors connected to the microcontroller or in automotive issues. There are many other sensors are also available. Just for understanding purpose, I have listed these many sensor types in this slide.
And when you come to the signal conditioning part, what are the signal conditioning circuit or electronic system available in the microcontroller unit? Normally, filter circuits, level shifters and amplifying circuit and there are some protection circuit which are available in signal conditioning system. So sensors are connected to the signal conditioning system and this signal conditioning circuit will be connected to the microcontroller. And when you come to the output devices or actuator part, the microcontroller will controlling the output drivers. So what are the output drivers? So H-bridge octocouplers and high-end low-end device drivers are some of the examples of output drivers.
And these output drivers are driving the actuators. So actuators, you can see in automotive issues, what are the actuators connected? Like HVAC activators, like there are some valves to control the HVAC system. HVAC system is nothing but heating and conditions or AC of automotive system, heating and ventilation circuit of AC and motors, different type of motors are there. So those motors are basically driven by any one of the output drivers. And relays and relays and solenoids and linear actuators and the piezoelectric actuators. These are some of the examples of actuators connected in the microcontroller system.
So in the coming slide or coming session of this tutorial, you can see more in-depth ideas of these four parts. Sensors and sensors and signal conditioning and output drivers and actuators in the automotive embedded system. Sensor basics. What is the basic concept of a sensor? So sensor is a device which converts one physical quantity to an electrical signal. So the core element of a sensor is a transducer. What is a transducer? A transducer that will convert one form of energy into another form. It can be anything.
So any form of energy coming into the transducer that will convert it into any other form of energy. The input energy type can be physical quantity like temperature or pressure. Then the output type of energy would be an electrical signal or heat or some other form of energy. So in general, the transducer is the core of a sensor. And this transducer normally, the general definition of the transducer is converting one form of energy into another form. So when you come to the specific sensor basics, this transducer, most of the sensors are using a transducer that will convert a physical energy form into an electrical signal.
So these electrical transducer we used to use in the sensor that is the core of the sensor. And so the sensor will convert one physical quantity to electrical signal. So for the convenience of measuring and calculating and interfacing purpose, normally in embedded system, all the transducers are electrical transducers. So that will be converting a physical quantity to electrical signal. So the transducer which is embedded in the sensor are basically electrical transducers. This is a basic idea of all sensors. So in every sensor, you can see a transducer inside that transducer material or a device that will be doing the conversion of a physical quantity to the electrical signal.
So the core of the sensor is a transducer. There are two types of sensors based on the nature of signal generation. One is active sensors and second one is a passive sensor. These are the two major classification of sensor based on the signal generation. First one is active sensors. Active sensors generate electrical signal on its own. So there is no extra or outside power supply is not required or it is not connected to a power supply to generate the electrical signal. So this active sensors will be generating its own electrical signal from inside.
So these are sensors which are called or which are comes under the active sensors. And passive sensors, it needs some external power supply and that external power supply will give the power to the sensor or a transducer. And based on the physical quantity or the specific visual quantity which we are measuring, the changes in that quantity will reflect the changes in the voltage or resistance or any and capacitance properties of this transducer. So we are detecting and we are measuring and from that we will be calculating the actual physical quantity measurement.
So in passive sensor we need an external power supply that is an additional to the sensor we need to connect to the sensor. So commonly measurable physical quantities like you can see there are so many biological parameters you can measure, the chemical parameters and electrical parameters like voltage, current, all those measurement we can do. And heat temperature and magnetic properties and physical motion or displacement or the vibration or velocity, acceleration, all those physical motion related quantities you can measure. And optical quantities like illuminance and other optical intensity, all those measurable quantities you can measure using a sensor.
And obviously the radioactivity measurement also you can do. So these are some of the physical quantity we use to measure in the embedded system. So you can see the block diagram of a normal sensor. A physical quantity will be the input to the sensor device and the output of the sensor device will be an electrical signal. So this physical quantity will be converted into an electrical signal according to the changes in the physical quantity. The transducer inside the transducer inside the sensor element will be converting that energy conversion from physical to electrical.
So these are the common measurable quantities we are using in sensor technologies. So we are going to discuss some of the sensors working principle. How it is working inside the transducer. Transducer level. So that will give you a idea of how does the transducer work. We will be taking one temperature sensor. One of the major temperature sensor type is thermistor. So the thermistor where we can see the working principle of thermistor. So the name of thermistor originated from the thermal resistor. So these two words combined together and it became thermistor. So thermistor sensor is a sensor whose resistance changes with the temperature change. So thermistor sensors will give you an output electrical signal that will be vary according with the varying the temperature in the input.
So this the basic energy conversion or transducer working is whenever the temperature changes happens, the transducer's resistance will change. So this operation is happening inside the thermistor. And there are two types of thermistor. One is negative temperature coefficient NTC thermistors and the positive temperature coefficient BTC thermistors. So the temperature changes is inversely proportional to its resistance value. That is called a negative temperature coefficient. That means you can see in the graph whenever the increase in the temperature that will lead to the decrease in the thermistor resistance.
So temperature versus resistance. So temperature versus resistance curve is plotted here. So this is temperature and the resistance properties are inversely proportional. Whenever this orange line is NTC curve, so this will be decreasing whenever the temperature is getting increased. So in the resistance. So in the resistance. So in the resistance. So in the case of positive temperature coefficient thermistors, resistance will be increasing with the increase of temperature. So these are the symbols of thermistor in the circuit diagram. When you see this NTC notation or IEC notation like this, this indicates the negative temperature coefficients or NTC thermistors.
So we are discussing currently the thermistor type temperature sensor. So this is one of the example or passive sensor. It needs an external power supply to work and the input temperature will give to the sensor transducer and the transducer resistance will change according to the temperature change. So this resistance change will measure using a microcontroller and from that we will be calculating the temperature value. Now we are going to discuss some of the sensor terminologies we are using in the embedded design. So these terminologies mainly you will be coming across whenever you are designing and interfacing of sensors with microcontrollers or during the selection process of sensors, these terminologies will come into picture.
So when you take a sensor. So when you take a sensor and its characteristics of the sensors, these terminologies are playing a vital role. So knowing these terminologies will give you more understanding of the nature and characteristics of a particular sensor. So first one is accuracy. What do you mean by accuracy of a sensor? So as per the definition the maximum difference that comes between the actual value and the converted value at the output that difference in the actual value and the output value is known as the accuracy.
So if you have a minimum difference then it will be the highly accurate sensor and if you have a huge difference between the output and the actual value then it is less accurate sensor. So accuracy is the first characteristics of a sensor. For example, the temperature, if you take a temperature sensor, the actual value is indicating that 10.5 degrees Celsius and the output value we are getting from the sensor is 11.5. Then there is a 1 degree Celsius difference in the output and the actual value.
So these difference is called accuracy. This if you have a huge difference then it is a less accurate sensor and if you have a very less difference in the actual and the output value then it is a highly accurate sensor. And the next is response time. What is response time of a sensor? The time required to change the output state of a sensor with respect to a change in the input. So all the sensors are measuring some physical quantity and the changes in the input that is the changes in the physical quantity.
The time required to reflect that changes in the output is called response time. For example, a position sensor. So a position sensor will measure the position of a particular physical or a mechanical object. So this position sensor will be keep on monitoring the particular position of a particular mechanical part. So any changes in that particular part that will be measured by this position sensor and it will be reflected in the output. And any changes happening in the input how fast it is capturing that changes in the input and how fast it is reflecting in the output that will show that response time of that sensor.
So if you have very fast response time then it will be very good. You will get a better measurement or you will get a better sensor with a highly accurate response time. So response time is also another characteristic of a sensor. So less response time means the output will reflect the changes in the input in a faster way and huge response time or a larger response time indicate that any changes in the physical quantity or measuring quantity that changes will take more time to reflect in the output.
So these parameters will help you to design the other electronic circuits and your microcontroller interface with the sensor. And linearity of the sensors. So linearity is nothing but the relation between these input parameters and the output electrical signal. If these changes is linearly proportional then these response we can say as a linear response in the sensor. So this dynamic linearity shows that measure of the ability to follow the sudden changes in the input value. And next is sensitivity. Sensitivity shows the minimum input of physical parameter that will create a significant output change.
So sensitivity of a sensor will show you how fast and how much minimum input change can measure using that sensor. So this sensitivity property is one of the major properties in a sensor technology. This will clearly shows that the quality of the sensor. So everyone is looking for highly sensitive sensor and that will help you to measure even small and very minor changes in the physical quantities. Then is range. So maximum and minimum values of signal parameter is called range. So let's say in the case of temperature sensor.
In temperature sensor we can say if you can measure the temperature from 0 degree Celsius to 200 degree Celsius. Then that range is called range of the sensor. So that will indicate that the amount of or the bandwidth of the physical parameter that can be measured from the sensor. Now what pompe, for the sensor 보이는 heißt nano nordicату is calling 15100, Year 30mm, New wünscheAP, F1, H2, H2, H3, H3 GO, DG3, H2, H2, H3, H3, H3C, W3, H3, H4, H3, H4ク1, H324, H4, H3, H1. H3, H2, H4 VxH, H3, HSO, H4, H6, H2, H4, H4, H2, H snapshotsgewak, H4, H2 300, H1, H3. H4, H1, H2 12, H4, H3, H4L. H4, H2, HH3. H3, H5 h1 The precision. Precision is nothing but the ability to duplicate of a physical value.
That the exact amount, how much exactly we can duplicate that physical value is called a precision. And resolution. The resolution value is nothing but the smallest detectable changes in the input value which can be detected in the output signal. That is called the resolution of the sensors. So, these parameters or these sensor terminologies used in the sensor technology are important to know and this will help you to selecting a sensor and understanding the nature and the quality and the characteristics of a sensor. These are some of the sensors we are connected in the automotive issues.
This is a mass air flow sensor. This sensor will measure the air flow of automotive system intake. So, this will help you to precisely measure the air flow and then that can help the automotive systems to use air fuel or mixing ratio and all those functionality. so the air flow sensor is one of the sensor which is using in automotive issues and engine speed sensor that will be measuring the speed or rpm of the engine and oxygen sensor that will be sharing the amount of oxygen presence in the air and knock sensor and coolant sensor absolute pressure measurement sensor these are some of the major sensors are connected in the issues of electrical or electronic control unit and automotive system again other type of sensors like fuel temperature fuel level a voltage sensor in automotive system there are so many electronic control unit that will be powered with the different power sources so the voltage sensors and the position sensor throttle position sensor grams shaft position sensor and speed sensor the rpm or the speed of the vehicle so these are the common sensor which is connected to the automotive issues
Part 3
In the last session, we had seen different type of sensors and it's working and it's technology behind the sensors. And now we are going to see the signal conditioning part of the sensor. So all the sensors are not directly connected to the microcontroller because as I know the physical quantity which is converting in the sensor to an electrical signal. And this electrical signal we are measuring using microcontroller. But this electrical signal is not behaved ideally in the case of a sensor output. So the output of a sensor mostly an electrical signal that will be non-linear and it will be very less amplitude or less voltage.
And some sensor will give a high voltage or a high amplitude output. And most of this time this will have a noisy signal and some are a non-isolated signal with the microcontroller. So these are the nature of electrical signals coming out of the sensors. So non-linear and amplitude may not be in the range of a microcontroller. So either low amplitude or high amplitude and the signals will be highly noisy. And isolation between the sensor circuit and the microcontroller may not be isolated properly. So these features or these nature of electrical signals coming out from the signal is conditioned properly.
And we are converting these properties of the electrical signals coming from the sensor. And we are giving a proper electrical signal to measure the actual sensor values. So a non-linear sensor output will go through the signal conditioning circuit and it will become a linear voltage. And if it is a low voltage signal, the signal conditioning circuit will amplify that signal and it will become the proper voltage range of a microcontroller measurement. And if it is a high voltage electrical signal, the attenuator of signal conditioning circuit will reduce the voltage level.
And the noisy signal part will be filtered by the noise free signal will be the output of the signal conditioning. So this signal conditioning part will give a proper electrical isolation between this sensor circuit and the microcontroller input. So these are the properties of a electrical signals mentioned in the left side of the picture. This non-linear low amplitude or high amplitude and noisy or non-isolated signal. So these properties of a electrical signals of sensors and that will be conditioned with the signal conditioning circuit. So there are many types of signal conditioning circuits depends on the nature of electrical signal.
So to linearize the signal, there is a linearizing and attenuator and amplification circuit. And to avoid the noisy signal, we have a filtering circuit and a proper decoupling circuit or an isolation circuit for isolating between a signal circuit and a sensor circuit and a microcontroller circuit. So there are so many different types of signal conditioning electrical or electronic circuits are available. These signal conditioning units will make your improper and unshaped electrical signal from the sensor and it will become a proper range electrical signal that will be go to the microcontroller.
So the left side you can see the block which is mentioning the properties of a sensor signal. And the middle part will show you a signal conditioning part and the right part will show you the properties of a output of signal conditioning circuit. So this output of signal conditioning circuit is a electrical signal which will be properly linearized and attenuated. And if it is required, amplification will do and less noise and or noise free signal. In this slide, we are discussing how the sensor is interfacing with the microcontroller.
A sensor, as you know, sensor will convert a physical quantity to electrical quantity. And that electrical quantity, we will be conditioning or we will be cleaning up with a signal conditioning circuit. Then you will get a cleaned and proper in range electrical signal. So from that electrical signal, we are measuring the proper or accurate physical quantity. So this electrical signal, we will be connecting to a microcontroller. So there are two ways of interfacing sensors with the microcontroller. One is through ADC circuit or in some sensors, they have a proper communication channel to give the data to the microcontroller.
So in this slide, we are seeing how the sensor is interfacing with the microcontroller using an ADC circuit. So there are different components. Sensor element is the first component that will give you the electrical signal of a physical quantity. And that electrical signal will go to the signal conditioning circuit. And that will give you a proper electrical signal or a proper voltage and less noisy electrical signal will give you. And that electrical signal will be fed to an ADC of a microcontroller. That ADC circuit in the microcontroller will be converting that electrical voltage to a digital value.
So that digital value will be going into the processing part of microcontroller. So from the initial input will be a physical quantity. And this physical quantity will be converted to the initial stage of sensor part in dual electrical signal. And then that will be conditioned with a signal conditioning circuit. And then that electrical signal will be converted to a digital value. And this digital value will be taken for processing in the microcontroller. So this shows you the data flow or the different step-by-step conversion of a physical quantity to the microcontroller digital value.
So this is one of the way of interfacing a sensor with a microcontroller circuit. And some sensors will have a proper communication channel between a microcontroller and the sensor IC. So this block, the pink block, entire pink block is having or it is a sensor element. And that sensor element or sensor IC will have a sensor transducer or a sensor element inside that. And a signal conditioning circuit also integrated inside the sensor IC. And a data analysis or communication converter will convert that electrical signal condition, the electrical signal to digital value.
And that digital value will be transferred through this communication channel to a microcontroller. Either it is I2C or SPI or another channeling kind of communication channel. So the entire pink block comes with integrated all these three elements of a sensor and it comes in a single sensor IC. For example, some accelerometer ICs. In accelerometer ICs, you can see the sensor element will be inside the IC and the signal conditioning of that signals. And that electrical signal that will be converted to a digital value and it will be converted to a proper communication data.
And that accelerometer IC output will be a communication interface. So through I2C or SPI, you can read the accelerometer value into the microcontroller. So this is the second type of sensor interfacing with the microcontroller. Sensor will be having integrated into a sensor IC. Inside that sensor IC, all the components are coupled together. Sensor element or transducer and sensor signal conditioning circuit and data converter. These blocks are integrated inside a single IC. This is where I'm going to push you. It's the second type of sensor IC system dealing with different HP systems.
I2C is approximately 90 feet both Climate Archery. Next, we are going to see the sensor selection criteria. We had already seen there are some properties and characteristics of a sensor. So, from using that values or using that data, during the selection criteria, how do you select a particular sensor with a proper justification? So, there are some factors which is depending or which we are considering during the selection of a sensor. Environmental factors and the economic factors and the characteristics of a sensor. So, environmental factors like temperature range, humidity effect, corrosion, size, over range protection and susceptibility to EM electromagnetic interface and its ruggedness and power consumption.
All these factors are comes under environmental factors. So, what are the temperature range it can work? So, depends on the climate, ambient temperature will change. So, in very extreme conditions, your sensor is exposed and the working range if it is not in that environmental temperature, then the sensor will fail. So, the ambient temperature, temperature range and its humidity effect when you expose to humidity, when you are exposing one sensor to the humidity of atmosphere, what is the effect on that? sensor and the corrosion effect of the sensor and the corrosion effect of the sensor and particularly if you are integrating sensors in the microcontroller system, size also will matter because if you are fabricating that sensor or connecting that sensor on a PCB, then the component size will matter.
So, all these mental factors will matter. So, all these mental factors you are considering for selecting the sensor and next factors are cost and availability and lifetime. These factors comes under economic factor. So, cost of the sensor and the availability of the parts and lifetime of that part. So, availability of sensor is very important. So, you are designing and developing a system. So, you are designing and developing a system and to maintain that system for a longer period of time. If any faulty components comes, it has to replace.
So, the components and other parts of the hardware system should be available throughout the lifetime of that devices. So, availability plays a major role in the selecting a sensor and the cost. Obviously, that will determine the cost. So, selecting a sensor with a proper cost or cost in a particular range also will be considering during the selection and the lifetime of the sensor is basically determines the complete lifetime of or complete warranty of that particular device. So, these are the factors. So, these are the factors comes under economic factors and sensor characteristics like sensitivity, range, stability, repeatability and response time and frequency response and errors.
These are the factors which is basically considering during the selection criteria of the particular sensor. So, you need to figure out what are the proper characteristics we are required to design a particular system. So, the sensitivity depends on the sensitivity. So, if you are not able to convert a particular changes or a minimum changes in the physical quantity, the sensitivity is not that good. So, the application may fail. So, according to the application requirement, the sensitivity and other sensor characteristics will play a major role for selecting a particular sensor.
Next is electric actuators. The basic principle behind the actuators are transducers that convert an electrical signal to mechanical motion. So, mechanical motion. So, mechanical motion has either a rotatory or in the case of a different type of motors or a linear motion in the case of a linear actuators. So, these actuators are working exactly opposite of a sensor. So, in sensor normally a physical quantity will give us the input and the transducer will convert that physical quantity to electrical signal. So, in the case of actuators. So, in the case of actuators. So, in the case of actuators, electrical signals are the input to the transducers and that transducer will convert that electrical quantity to either mechanical motion or like a linear or rotatory motion.
So, this is a basic working principle of actuators. So, normally we are classifying the actuators based on different criteria. So, based on the energy source, we are classifying the actuators into electromagnetic actuators, AC to DC servomotors, stepper motor actuators or solenoid actuators. So, this is based on the energy source and there are some other type of actuators like piezoelectric actuators and shape memory alloy actuators, supercoiled polymer actuators and hydrogel actuators. These are different, these are different type of actuators and the physical output or physical quantity output will be different in different actuators.
So, normally in automotive system, we used to use different type of motors, either a rotatory motor or a linear actuator and there are some other electromagnetic actuators we will be using in the ECUs. So, in the right side picture, it is an electromagnetic actuator. Basically, an electrical signal will be given to the coil winding. That coil winding will be energizing with an electromagnetic field and this electromagnetic field will move the plunger or the mechanical part of the system in a linear way. So, this is an electromagnetic field. So, this is an electromagnetic actuator that will be working in the principle of electromagnetics theory.
So, the actuators are not directly connected to the microcontroller. So, the microcontroller actuators interface or interfacing between the microcontroller is through output drivers. So, what are the different output drivers are available in the automotive system? So, H-bridge is one of the major output drivers for driving the linear or rotatory motors. So, this H-bridge is basically connecting to a motor and there are four MOSFETs are there, Q1, Q2, Q3 and Q4. These MOSFETs act as a switch and we will be having a power source in the top and these switches will be controlled by the microcontroller.
And these switches will be turned off and turned on in a particular manner to run the motor. For example, Q1 and Q3, say Q1 and Q4 will be on state. The power will be flowing from the Q1 and through the motor and through the Q4 it will come out. So, this direction of power flow will rotate the motor in a particular direction and when it is switched off Q1 and Q4 and then Q3 and Q2 is switching on, then the power flow will be coming from Q3 to motor and the motor to Q2.
So, this power flow is happening in an opposite direction. So, in this case, motor will rotate in an opposite direction. So, this kind of driving of motors is in the devices are controlled by output device drivers like H-bridge. So, H-bridge is normally driving the motor and it will control the direction of rotation of the motor. So, this Q1, Q2, Q3, Q4 MOSFET high powered and high power rated MOSFET that can handle more electrical power than a microcontroller system. So, there is no need of powering the motor with a motor using a microcontroller directly.
Instead of that, H-bridge will power the motor with high power switches and the switches operation. So, obviously, when you do the power supply and the motor with a motor whilstSet formation, this indication of the tension of the motor transition. And signaling of switches is only controlled by the microcontroller. So this will achieve high power drives in the actuators. Optocouplers. Optocouplers is another kind of output drivers. So this will give you a proper isolation between input and output circuit. So the optocoupler is working based on a semiconductor LED.
That will be in the middle part you can see in the picture. There is a light emitting diode and this light emitting diode will emit the light and it will switch on the transistor in the other part of the circuit. So this when you give the power in the right side of the circuit, this right side circuit will input circuit will energize the LED inside the optocoupler. And that inside light will energize or switch on the collector part of the, sorry, the base part of the transistor.
And this transistor will switch on and the output circuit will be complete. So the changes in the input circuit or activating the input circuit will drive the output circuit. It is through a optocoupler. So this is electrically, this is isolated and it is coupled through a light source. So there is no power conversion or power transfer between these input circuit and the output circuit. So this will give you a complete isolation of input and output circuit. So any fluctuations or any changes or any abnormalities happening in any one of the circuit will not affect the other part of the circuit.
So if any changes in the input circuit over voltage or over current or any kind of spikes, anything happening in the input circuit, that will not directly affect the output circuit. So it will be coupled through an optocoupled circuit. So till now we had seen a different type of sensors and its theory behind the sensor and how the sensors are interfacing with the microcontrollers. Also we had seen actuators and how the actuators works in the automotive system. And some of the output drivers are available in the ECUs like H-bridge and optocouplers kind of output drives.
So then we are coming to some of the case studies in the automotive embedded system. So in this picture, you can see there are some of the sensors and actuators integrated into this ECUs. So basically this ECU is a side mirror control module. So this ECU will be controlling the side mirror or rear view mirror of automotive unit. So in cars and all both sides, you will get two side mirrors. So this will help you to see the vehicles and other passengers coming from the back side.
So the adjustment of the side mirror is using a joystick or any other buttons is available inside the car. And the driver can be controlled the position of these mirrors to get the proper visibility of outside area. So this control unit will control the position of the two side mirrors in the car or any other automotive. So when you go to the control unit, the major brain of the system is an MCU that is a microcontroller or a microprocessor based system. And this is getting the power from the car battery.
And this car battery will be connected to a power supply. In this power supply, there are so many components are integrated like reverse battery protection or voltage regulator. And there are some watchdog timer to get the security part of the power supply. And the power supply and supply voltage supervisor. This will keep on monitoring the power supply status and its parameters to avoid any unwanted changes and dangerous fluctuations in the power supply. So this power supply circuit and the units will be controlled and monitored by the microcontroller.
So there are different type of sensor voltage and current and other temperature, battery temperature sensors will be attached to this power supply module. And this module is basically controlled by the microcontroller. And the communication channel, which is connected to the microcontroller, you can see there are some communication channel like CAN or LIN. It is connected to the microcontroller that will give you a provision to exchange the data to the body controller module. So normally the joystick control or switch control from the user will comes to the body controller module that input information we are passing through a communication interfaces using CAN or LIN communication channel.
And there is an ambient light sensor and that will be integrated to the microcontroller. And this will help you to measure the exact light condition and the intensity of ambient light. And this will decide to give a proper positioning of the side mirror. So these are the some of the sensors connected to the ECU. And another is temperature sensor. And to protect the mirror from overtemperature and other temperature changes, there is a temperature sensor attached to this. And to heat the mirror, we need a heater circuit that in the mirror.
So that heater circuit will be driven by the output drivers of a microcontroller. So in western region, there are so many countries will have snowfall and a very extreme weather condition, very extreme cold condition. In that case, the mirror should be heated to avoid the covering of ice on the mirror. So the heater circuit will be driven by the microcontroller. And there are so many motors attached to the mirror to basically to adjust the position of the mirror. So these motors are connected to DC motor drivers like H-Bridge and other different MOSFETs circuit in the motor driver.
So this motor driver is signaled by and controlled by the central processing unit of ECUs. And also you can see there are some LED indicators like blind spot warning, control switch light, turn indicator light and party light. All these lights also controlled by this ECUs. So these depends on the mirror position and mirror conditions. There are some warning lights and other lights are activated. And these information will be passed to the other part of the system also. So this is a overall block diagram of a side mirror control of a automotive system.
In this, we are mostly interested in different type of sensor, which is integrated into the ECU and what are the actuators, different actuators are integrated into the system. Basically here, different type of voltages, sensor, power sensor and current and voltages in the case of power supply and light sensor in the case of ambient light sensor and other temperature sensor and other thermal protection, thermal protection, thermal protection unit will have a temperature sensor sensor. So these are the normal sensors connected to this microcondola and the actuators like a DC motor drivers are the major actuators in the system and mirror heater system.
There is a heater driving circuit will be there that a driver circuit will be giving proper power to the heater. So these are the major actuators connected to this system. So this will give you a brief idea of how many sensors and how many actuators are connecting in different different ECUs of a automotive system. In the second case study, we are having an instrumentation cluster block diagram. In this block diagram, you can see there are so many subsystems are integrated with the microcontroller. There is a central microcontroller and there are so many load drivers and actuators, sensors and the communication channel.
And there are some power management blocks also in this block. So this is a typical entry-level instrumentation cluster block diagram in an automotive system. So in an instrumentation cluster, you know that it will be displaying different parameters. Automotive system like engine RPM speed and auto-meter reading and other so many indicator light which will indicate different parameter like engine coolant temperature and different type of warnings that will be displayed in the instrumentation cluster. So this block diagram will give you a rough idea of what are the building blocks or what are the substance systems are included in a entry-level instrumentation cluster.
So there is a processor or a microcontroller SOC will be having as a brain of the system and with the microcontroller there is a so many sensors are connected to that that will be having getting the information. like temperature and all other kind of sensor inputs and button switches and keypad all these are one of the major input to this microcontroller and you can see the memory interface and communication channel interfaced with the microcontroller. So that will give you a proper communication channel and data transfer between ECU and instrumentation cluster ECU and other part of the automotive system ECU.
So all the sensors like temperature engine RPM and coolant temperature and other oil level all other engine parameters and other sensor inputs are communicating through here CAN transceiver or CAN communication channel to this controller. And the output will be there are some stepper motor which will be showing the RPM of the system or RPM of the engine that will be displayed with a needle. So this needle will be driven by the stepper motor so the stepper motor will be connected to a motor driver that is basically a pump based motor driver and that will be signaled by the microcontroller.
So in instrument cluster you can see there are some buses and there are some warning indicators in the form of sound also there so that will basically it is a speaker based indicator. So there is an audio system or audio circuit that will help you to get the proper warning signals in the speaker so audio DAC and pump related drivers will connected to the speaker for driving the audio related indications. And the LED there are so many LEDs will be connected or light indicators are connected in the instrumentation cluster maybe that will indicate different type of warnings.
So this LED drivers will drive the different warnings LEDs and the display there are some electronic LCD displays will be there and that displays will be displaying different parameters like tachometer speedometer and in temperature or air pressure so many different parameters of other part of the engine or other part of the automotive system will be displayed here. So these informations are displaying in the display this display will be driven by the microcontroller circuit and the finally the power management and the power supply circuit will have a proper input battery and power management controller.
And there are some protective circuit like over voltage and under voltage protection and there are some regulators and the DC DC converter this kind of blocks will comes under the power management of the ECUs that will help you to provide a proper clean protected power supply to all these subunits. So all these subunits are connected to the power supply and it is powered from the power supply. So this is another example of automotive ECU that will be functioning as a instrumentation cluster in the automotive system.
Summary of this session. Summary of this session. Sensors and actuators are the basic essential part of a control system. Electronic control unit interfaces with the sensors and actuators in most embedded system. Sensors or actuators interfacing and its control development with the microcontroller system play an important role in the embedded software development. So knowing this sensor basics and the technology behind the sensor are very important in the case of embedded system development. Basic understanding of sensors or actuators interface with the microcontroller is an essential skill, essential skill set for an embedded engineer.
So these are the major points I wanted to convey from the sensor and actuator session. So I hope this session will help you to give a proper understanding of basics of sensors and actuators and how these sensors and actuators are plays different roles in the automotive ECUs. Thank you.