If you have ever wondered how gadgets around you work? From your Washing Machine to Boeing 787 commercial airliner, from your Smartphone to a modern-day Space Shuttle.
There is a Secret!
Every smart gadget has one or more Hidden Computers responsible for all the magic.
These hidden computers are called Embedded Systems.
Embedded systems control many devices in use today. Ranging from Portable devices such as Digital Watches and Smartphones to large stationary units like traffic light controllers.
INTRODUCTION
You might have wondered, How does a fridge know that door is open and hence turn on the light?

How does your car know that your seat belt is intact and it’s safe to move?

How does your washing machine know that it’s time to drain out the water and start spinning?

Before we answer these questions, let’s go back to School and understand first, What is a computer?
In simple terms, a computer is a machine made up of components such as:
- A Microprocessor – where all the magic happens
- A Primary Memory – RAM, ROM & Fast-accessible caches, to retain information for a short period; and
- A Permanent Memory – Hard Disks, SSD Storage
- Input Devices such as the keyboard, mouse
- Output Device – Monitor with built-in speaker
- Wifi, Bluetooth, and Ethernet Cards for Networking
- The Operating System
- Graphical User Interfaces (GUI) and
- Application Softwares – Specific features like washing, calling, braking etc.
So, a computer is a machine designed to achieve various tasks at hand. It’s a general-purpose device. It’s bulky and power-hungry and, not to mention – Super Expensive.
Just for a moment, imagine fitting your brand new MacBook Pro into an old dumb Washing Machine to control the sequence of actions like – Estimation of Water Required, Taking the water in, Washing the clothes, Rinsing, and then spinning fast enough to drain out the water.
If you have observed here, you are wasting all the other functions of this SUPER capable computer! Which otherwise could have served you well.
Here is where Embedded Systems are useful.
Embedded Systems consist of what is known as a Microcontroller.

A microcontroller is a microprocessor clubbed with Internal Memory and Interfaces to communicate to the outside world in a single package.
This microcontroller is then brought to life with Application Software to carry out specific tasks and Real-Time Operating System (RTOS), which is a very efficient BOSS, which enables the execution of these tasks — all this put together is what makes an Embedded System.
This Sub System is then embedded in a larger system like – a mechanical or an electrical device giving it computer-like functionality to sense its surrounding using its SENSORS, processing this acquired data in its MICRO and performing predefined actions through its ACTUATORS.
So, when you open your Fridge, the microcontroller inside senses the door open through a Switch, Software logic responsible here is invoked which then TURNS the light ON through a switch.
Similarly, Advanced Traffic Light controllers capture images of vehicles using a camera, feed this data to a microcontroller which then turns the traffic light ON and OFF.

Before we plunge into more details, let’s go back in time to glance at the history of Embedded Systems.
HISTORY
In 1961, the very first embedded system was used in an ICBM (Intercontinental Ballistic Missile) called Minuteman. This embedded system was the Autonetics D-17 Guidance Computer. And it was used for guidance and control of the Minuteman ICBM, which had a range of 5500 nautical miles (i.e., 10,200 km). The integration of this embedded system and the first solid fuel enabled mass production of these missiles.

And moving forward, in 1966, the Apollo Guidance Computer (AGC) was used in the Apollo Program, which was installed in its Apollo Lunar Module and Apollo Command Module. These modules were used in Apollo 11 mission landed astronauts — Neil Armstrong and Buzz Aldrin on Moon on July 20, 1969.
MODERN USAGE
Now, let’s discuss some of the modern usages of Embedded systems.
These tiny computers find their application in almost all modern-day applications you can think of.
For example, Modern-day cars are not just mechanical dumb machines anymore. They are getting intelligent day by day. Cars are made up of Embedded Systems known as ECUs (Electronic Control Units), which are designed to handle specific tasks in a car. For example, (Anti Lock Braking System) ABS unit that helps in effective braking and avoids skidding. Another example is an Airbag Module that deploys the airbag in the event of a crash.
If you are curious enough, the next time you take your car to a service station, check out the ECUs your car is equipped with. You will be amazed!
Embedded Systems are also saving millions of lives every year. They are an integral part of every piece of medical equipment in use today.
Have you ever heard of a pacemaker? And how it works?
No? let me explain!
The normal Human Heart has a natural pacemaker responsible for keeping its pumping action in sync. It creates electrical impulses that reach Atria (a chamber in which blood enters the heart). This impulse makes the Atria contract and pumps blood into the Ventricles. After a few milliseconds, this pulse reaches Ventricles which contract, thus pushing the blood out of the heart. If this Natural pacemaker is malfunctioning, it leads to abnormal heartbeats resulting in cardiac arrest and even death. An electronic pacemaker is implanted in patients with this problem, which has a computer and electrodes to carry out the functions of a natural pacemaker.
FAILURES
Let us now discuss some of the failures involving embedded systems.
Pathfinder
In 1996, NASA launched Mars exploration Robot — PathFinder. It was assigned to collect soil samples, take photographs, and do chemical analysis on the samples collected. After a few days of regular operation, the mission was jeopardized by software resets, interrupting its normal operations, and the risk of data loss.
After a thorough analysis, it was found that these computer resets were caused by a software bug known as Priority Inversion.
In simple terms, Priority Inversion is a scenario where a High Priority task is made to wait too long for its turn because another low priority task is being executed. This is due to bad resource management and task scheduling.
Ariane 5
Another famous failure involving Embedded Systems was on June 4, 1996. Ariane 5 rocket was launched from the coast of French Guiana. 37 seconds later, the rocket flipped 90 degrees in the wrong direction that ripped the boosters apart from the main stage, which caused the self-destruction of a (Three Hundred and Seventy Million Dollar) $370m investment.

What went wrong?
The problem was a Software Bug in the rocket’s Inertial Reference System. The rocket used this system to determine whether it was pointing up or down, known as the horizontal bias – BH value. This value was represented by a 64-bit floating variable, which was perfectly adequate.
However, the processor encountered an operand error when the software tried to stuff 64-bit value into a 16-bit integer, resulting in the engine being fed with junk data instead of actual flight data. This caused the engines immediately to over-correct by thrusting in the wrong direction, destroying the rocket seconds later.
In layman’s terms, consider a boat with people onboard way more than its capacity, which is doomed to sink!
CHALLENGES
So, there are many challenges both in HW and SW when an Embedded System is designed.

Hardware Design challenges
Hardware Design challenges start with choosing the suitable processor first. One should decide on an adequate amount of ingredients like:
- Power Consumption
- Processor type – RISC vs. CISC (which is nothing but how many complex instructions a processor can understand when developing the software)
- Word length (which is the number of bits a processor can handle in one clock cycle) — for example, an 8-bit processor can process 8 bits in one clock cycle
- Memory addressability (which is the number of memory locations a processor can point to)
- Number of Registers (Registers are very small and extremely fast memories that processor can directly access. More number of registers means more speed)
All this is just for the processor! There are similar challenges when choosing RAM, ROM, Input/Output Interfaces, Human-machine interface, etc.
Software Design challenges
Software design challenges start from RTOS selection and end with Memory testing and validation. Code optimization is also incorporated:
- to increase code efficiency
- to decrease code size
- to reduce memory usage
FUTURE
Having understood Embedded systems, let us now discuss how the future of Embedded Systems will be?
There is no doubt that Embedded systems will play a vital role in emerging technologies like – IoT, self-driving cars, smart agriculture, advanced healthcare devices, Robotics, Artificial intelligence, and even Elon Musk’s dream of putting a man on Mars.
Before we jump into the introduction to the Automotive industry, let us understand what ‘automotive’ is and why it is one of the essential parts of our modern society.
What is Automotive?
The word automotive is derived from the Greek word – autos (self) and Latin word – motives (of motion); they mean ‘self-motion’ referring to a self powered vehicle.
Now you may ask what a vehicle is?
Before we answer that question, let us discuss one of the basic needs of humankind since the dawn of time – Transport.
Transportation is the movement of people, animals, and goods from one location to another.
So, man invented the machine that fulfils this basic need of transportation known as vehicle.
Before the invention of wheels, however, humans used animals for transport. Horses were used extensively in transportation and as cavalry units during wars. Elephants were used to carry people in the jungles and used for warfare. Camels are still in use in deserts. In the hills, yaks and miles are a means of transport even today. Ravens were used to send letters and urgent messages during emergencies.
With the invention of the wheel, animal-powered transport came into existence like the bullock carts, chariots, and wagons. Kings used horses to draw chariots in wars. Tongas can be seen even today in Indian towns like Lucknow, Aligarh, and Agra.
With the invention of the internal combustion engine (ICE), motor vehicles came into existence. Automotive comprises these motor vehicles, which are self-propelled and commonly wheeled and that do not operate on rails (such as trains). And automotive industry is the collection of organisations responsible for setting up the standards for safety, security, and connectivity along with the wide range of companies involved in the end-to-end process of creating these automotive vehicles, including design, development, manufacturing, marketing and selling.
Supply Chain

Have a look at the illustration to glance at the automotive industry’s supply chain.
Understanding the supply chain is essential because it gives us a clear picture of which company is operating in what part of the supply chain. And if you are planning to start a career in this industry and have a specific company or skillset in mind, then this supply chain is a high-level guide to locating where you belong in this more extensive system.
OEM
Let’s deep dive into each step of this pyramid from top to bottom.
At the tip of the pyramid is the manufacturer, synonymous with OEM.
OEM stands for Original Equipment Manufacturer. In the automotive context, OEM means the manufacturer of the original equipment, that is nothing but a new vehicle (Car, Truck etc.). The parts used to construct the car are not necessarily manufactured by OEM itself. OEM often uses modules and components from its suppliers and assembles and installs them to create a vehicle of its design and features. For example, suppose Tata uses Bosch spark plugs, Bosch fuel injectors, OSRAM headlamp bulbs, Autoliv Seatbelts and Airbags, Exide batteries, Tata Steel for body sheet metal and chassis, and Tata’s in-house Revotron petrol engine when building a car. In that case, these parts are OEM parts. Other brand parts would be considered aftermarket parts such as Blaupunkt infotainment systems, Champion Spark plugs, and Amaron batteries.
Suppliers (Tier 1, Tier 2, and Tier 3)
Automotive suppliers are the companies that provide goods that are used either in the production process of an automobile or become part of an automobile. At the same time, the supply of these is done either directly or indirectly to an OEM.
For example, Bosch supplies starter motors and generators, RCS ECU (Electronic Control Unit) with hardware to deploy airbags and battery technologies to the OEM directly to use as part of an automobile. On the other hand, Bosch uses automotive-grade microcontrollers and other semiconductors from companies such as Renesas, Infineon, Nvidia, and NXP to manufacture parts it supplies directly to the OEM. In this example, Bosch becomes a Tier 1 supplier while the semiconductor companies mentioned above become Tier 2 suppliers.
Thus, Tier 1 suppliers supply goods directly to the OEM, and Tier 2 suppliers provide goods indirectly to OEM via direct suppliers.
Tier 3 suppliers include semiconductor foundries (commonly called a fab) such as TSMC (Taiwan Semiconductor Manufacturing Company), Samsung Electronics, Global Foundries, and SMIC (Semiconductor Manufacturing International Corporation); Tier 3 supplier also includes OSAT (Outsourced Semiconductor Assembly and Test), which are, as the name implies, the companies involved in services like semiconductor assembly, packaging and testing of ICs (Integrated Circuits). Major OSAT players are Amkor Technology, ASE Technology Holding Co., Ltd., JCET, SPIL, Powertech Technology Inc.
At the bottom of the hierarchy, Tier 2 and Tier 3 suppliers can also skip levels and supply directly to the OEM. For instance, OEMs like BMW source semiconductor chips for their in-house ECUs with proprietary technologies.
