Lecture 1 -- Introduction to embedded systems Flashcards
What is an embedded system?
It is a **computing system **that does a specific, dedicated task inside a machine or larger electrical system, hence the name embedded since its embedded inside something larger.
It often has real-time computing constraints. This computing system is a combination of computer hardware and software (either fixed in capability or programmable, designed for a specific function or functions within a larger system)
Test4
Computing system
Specific, dedicated task,
Real-time computing constraint
Within Larger system
What is an embedded system?
- It is a computing system that does a (specific, dedicated) task inside a machine or larger electrical system, hence the name embedded since its embedded inside something larger. It often has real-time computing constraints.
- This computing system is a combination of computer hardware and software (either fixed in capability or programmable, designed for a specific function or functions within a larger system)
When people say embedded systems, what might it mean?
When people talk about embedded systems, sometimes they are referring to IOT or CPS (Cyber Physical Systems)
What differentiates Embedded Systems from General Purpose Computers
- Operating Systems
- ADC
- Resource constraints
- Does one thing and one thing only
- Ability to connect to the analogue world.
For example, Raspberry pico has no OS, has an ADC and is resource constrained. Raspberry Pi on the other hand has an OS, has no ADC and is not resource constrained.
(What aobut does one thing and one thing only?)
(Are PCs, laptops, servers general purpose or embedded?)
- Is the human world analogue and continuous? Or digital and discrete?
The human world is analogue and continuous
Is the computer world analogue and continuous? Or digital and discrete?
The computer world is digital and discrete
- Do embedded systems use analogue or digital?
Embedded systems must use a mix of analogue and digital electronics to represent the corresponding signals.
One of the key features of embedded systems is its ability to connect to the analogue world. Difference between general purpose and embedded, also ADC. (Only embedded systems have that)
There are 6 properties
What are the properties of embedded systems?
- They are an **embedded or integral **part of a device, often including hardware and electromechanical parts.
- They are dedicated to handle **specific **tasks that are known and assigned to them at design-time.
- They use sensors (input) and actuators (output) to interact with the real world.
- They have strict timing constraints (deadlines) due to their interaction with the physical world in a safety-critical environment. (General purpose might not be able to manage strict deadlines, but embedded systems will be able to)
- They use limited resources(e.g. memory, processing power, power, etc.) compared to general-purpose computers.
- They are based on microcontrollers (i.e. CPUs with integrated memory and / or peripheral interfaces)
What is real-time?
Real-time is the ability to service a request on time. if deadline is 1 second, i take 1 second, i am able to meet the constraint.
What is a real-time system? (System with real-time constraints)
A real-time system is one in which the correctness of the application depends on both their functional and temporal results (the time at which the result is produced). In other words, a late answer is a wrong answer.
How do we classify real-time systems?
Consequences of tasks missing their deadlines help to classify real-time systems.
What are the 3 different classifications of a real-time system?
- Non real-time constraints
- What are the properties of Non real-time constraints?
- Tasks have no deadlines
- A late response usually does not significantly affect the performance and functionality
- A late response causes no danger
- What are the properties of Non real-time constraints?
- Soft real-time constraints
- What are the properties of Soft real-time constraints?
- Tasks are allowed to miss deadlines occasionally
- A late response can degrade the system performance
- A missed deadline causes no significant danger
- What are the properties of Soft real-time constraints?
- Hard real-time constraints
What is the difference between a microcontroller and a microprocessor?
- A microcontroller CONTAINS a microprocessor.
- In addition to that, microcontroller has other things like flash, RAM, timers, other IO and more. A microcontroller is like a mini-PC.
What is the difference between SOC and microcontroller?
- SOC is kind of like a microcontroller, but it has more complex peripherals.
- We have a GPU within the chip itself.
- It has specific ASICs on the chip itself.
- It basically has more complex add ons.
- You can think of it as like a microcontroller on sterioids.
- It has more advanced components and modules inside.
- It typically has more COREs, bigger flash and RAMs.
What device typically uses SOCs?
Mobile phones