This assignment is about writing down what I learned in Embedded Programming, like the basics such as architectures, memory, peripherals, word size, microcontroller families, packages, and doing a group project comparing performance and development workflows for different architectures, along with an individual assignment and group assignment.
Embedded System Programming
An embedded system is like a special-purpose computer made up of both hardware and software. It's built to do a specific job, either on its own or as part of a bigger system. These systems can be set up to be programmed for different tasks or have a fixed job. They're found in lots of things we use every day, like industrial machines, smartphones, cars, and even toys.
Some embedded systems are super simple, with no fancy screens or buttons, while others have more complicated interfaces like touchscreens. These systems are expected to keep growing, with predictions saying they'll be worth a lot of money by 2025. Big companies like Apple and Intel make the chips used in these systems, and the growth is happening because more people are using things like AI and mobile devices that need powerful chips.
An embedded system is a computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system.It is embedded as part of a complete device often including electrical or electronic hardware and mechanical parts. Because an embedded system typically controls physical operations of the machine that it is embedded within, it often has real-time computing constraints. Embedded systems control many devices in common use.In 2009, it was estimated that ninety-eight percent of all microprocessors manufactured were used in embedded systems.Modern embedded systems are often based on microcontrollers (i.e. microprocessors with integrated memory and peripheral interfaces), but ordinary microprocessors (using external chips for memory and peripheral interface circuits) are also common, especially in more complex systems. In either case, the processor used may be types ranging from general purpose to those specialized in a certain class of computations, or even custom designed for the application at hand. A common standard class of dedicated processors is the digital signal processor (DSP).Since the embedded system is dedicated to specific tasks, design engineers can optimize it to reduce the size and cost of the product and increase its reliability and performance. Some embedded systems are mass-produced, benefiting from economies of scale.
Embedded systems range in size from portable personal devices such as digital watches and MP3 players to bigger machines like home appliances, industrial assembly lines, robots, transport vehicles, traffic light controllers, and medical imaging systems. Often they constitute subsystems of other machines like avionics in aircraft and astrionics in spacecraft. Large installations like factories, pipelines and electrical grids rely on multiple embedded systems networked together. Generalized through software customization, embedded systems such as programmable logic controllers frequently comprise their functional units.
Embedded systems range from those low in complexity, with a single microcontroller chip, to very high with multiple units, peripherals and networks, which may reside in equipment racks or across large geographical areas connected via long-distance communications lines.
For more information click on link
Here
Embedded Systems
Embedded Systems Classification
Embedded Systems Classification
Type |
Characteristics |
Mobile Embedded Systems |
Small and portable systems, like digital cameras. |
Networked Embedded Systems |
Connected to a network, interact with other systems, such as home security systems or point of sale (POS) systems. |
Standalone Embedded Systems |
Operate independently and perform specialized tasks, like calculators or MP3 players. |
Real-time Embedded Systems |
Provide outputs within defined time intervals, crucial for time-sensitive tasks like traffic control systems. |
Embedded Systems Performance Requirements
Performance Level |
Microcontroller Type |
Small-scale Embedded Systems |
Simple microcontrollers, typically 8-bit. |
Medium-scale Embedded Systems |
Larger microcontrollers (16-32 bit) allowing multiple connections. |
Sophisticated-scale Embedded Systems |
Complex algorithms, software, and hardware, often requiring configurable processors and programmable logic arrays. |
Common Software Architectures for Embedded Systems
Architecture Type |
Description |
Simple Control Loops |
Manage hardware and programming with subroutine calls. |
Interrupt Controlled Systems |
Main and secondary loops where interruptions trigger tasks. |
Cooperative Multitasking |
Simple control loop within an API. |
Preemptive Multitasking/Multithreading |
Used with real-time operating systems (RTOS), featuring synchronization and task-switching strategies. |
Embedded Systems Applications
Application |
Description |
Telecommunications |
Telephone switches, cell phones, routers, network bridges |
Consumer Electronics |
MP3 players, television sets, mobile phones, video game consoles, digital cameras, GPS receivers, printers |
Household Appliances |
Microwave ovens, washing machines, dishwashers, HVAC systems, home automation devices |
Transportation |
Aircraft avionics, spacecraft systems, electric motors, automotive safety systems |
Medical Equipment |
Monitoring equipment, medical imaging devices (PET, SPECT, CT, MRI) |
Aerospace and Defense |
Safety-critical systems, fire safety systems, security systems |
Wireless Sensor Networking |
Motes, networked wireless sensors |
Basic Structure of an Embedded System
Sensor System Components
Component |
Description |
Sensor |
It measures the physical quantity and converts it to an electrical signal which can be read by an observer or by any electronic instrument like an A2D converter. A sensor stores the measured quantity to the memory. |
A-D Converter |
An analog-to-digital converter converts the analog signal sent by the sensor into a digital signal. |
Processor & ASICs |
Processors process the data to measure the output and store it to the memory. |
D-A Converter |
A digital-to-analog converter converts the digital data fed by the processor to analog data. |
Actuator |
An actuator compares the output given by the D-A Converter to the actual (expected) output stored in it and stores the approved output. |
For more info refer this site Click Here