What Is an Embedded System?
Who's to say, really? I am.
By Eric Beppler onThis is one of the questions I get asked the most frequently. Half of the time my mother is the one asking (sorry Mom!), but the rest of the time, itâs being asked by a client. Itâs almost always followed by: âWhy is that going to take so long?â or âWhy is that going to cost so much?â (or if itâs my mother âIs there any money in that?â).
Itâs easy to assume that thereâs a âsimple answerâ but really, there isnât. Embedded systems look and perform like a lot of things. We donât see the vast majority of the embedded systems we interact with on a daily basis. We have to take a deeper look and pull back the âplastic curtainâ to get to the heart of what an embedded system is. Letâs do it in stages: âsimpleâ, âless simpleâ, and âmaybe too much detailâ.
If, at any point, you decide youâve heard enough of me rambling and want help building your embedded system, reach out to us at hello@ringtaillabs.com.
The Simple Explanation
Embedded Systems are the electronics, firmware, and software inside of the devices you interact with every day.
If that was unsatisfying, keep reading.
The Less Simple Version
Pick something youâve interacted with todayâââ your electric kettle, your coffee cup, or the microwave thatâs still heating up your breakfast burrito (itâs early when Iâm writing this, can you tell?).
Here, we hit our first requirement to be an embedded system: it takes power.
So the coffee cup is out â but we still have the microwave and the kettle in the running. (Is your refrigerator running? If so, you better go catch it.)
If you asked five engineers which of these are embedded systems, you might get six different answers, and youâd definitely regret asking. Since you asked me, Iâll give you one question and let you come up with the answer: Is it doing more than turning off and on?
For me, this is the line between electronics and embedded systems. There has to be some level of âaugmentationâ beyond a switch (thatâs right, Iâm saying your overhead lights are not an embedded system). An embedded system does some sort of processing.
In the case of the coffee maker, it waits for a button push (or two if yours is as complicated as mine) and outputs beautiful coffee by heating the water to the right temperature, dripping water until itâs gone, and then keeping the carafe hot. As another example, your microwave takes some really complex instructions (Anyone else have a âsensorâ button they donât understand?) and yields, well, hot food.
So there you have it, the less simple definition of an embedded system: Itâs a powered device that does some sort of processing.
Now I know you have more questions than you started with, so keep reading!
The Complicated Version
In practice, an embedded system is pretty easy to classify, and very difficult to specify. We did a good job with the basics aboveâââits powered, it controls something, and its inside of something. Now we are going to dig into these and add one more: Itâs a system.
Itâs Powered
An embedded system is powered. It might be powered from the wall, a battery, or your carâs alternator, but at some point, it is taking in power. Usually, this involves filtering and regulating the power to ensure that everything inside the device performs in exactly the same way every time. The power makes heat, light, decisions, or something else entirely.
It has an Element of Control
Something in the device has to make decisions. It might be simple, like a 555 timer turning on your Christmas lights. It might be absolutely tiny, like the new SiLabs BG27. It could be insanely complex like, well, the new SiLabs BG27 running an RTOS and Dynamic Multi-protocol (Iâm really dying for an excuse to put the BG27 into a product). There is an entire article to be written about what this control looks like and if itâs hardware control, software control, or firmware control. There are entire books to be written on how to make this step efficient, performant, and safe. When itâs time to make these decisions, connect with Ringtail Labs! Weâd love to help you make them.
Itâs behind the âPlastic Curtainâ
That âPlastic Curtainâ line in the first section wasnât a throw away. Embedded systems are (almost) always hidden behind some kind of housing. In our cars theyâre hidden behind the dash and under seats, but in ways that donât interfere with their function. In our devices theyâre under the keyboards, behind the screen, or under a pretty layer of plastic. These beautiful wrappings are the plastic curtain, and they augment the utility of these devices, enhance the beauty of them, or generally make their operation possible. Thatâs rightâââItâs a system.
Itâs a System
Each of these elements has to be designed in careful harmony with the others to ensure it works as intended. You canât connect your car battery directly to your cell-phone and expect good results. You canât expect a microcontroller to know what you want it to do without adding firmware to it. This is the heart of an Embedded Systemâââa system embedded in some housing that consists of hardware and software elements that work in harmony.
In the next article, Iâll talk about how to start the process of designing these intricate systems. For now, if you still have questions, need an expert, or better yet, a team of experts, please reach out at hello@ringtaillabs.com