Embedded Software Development, Reuse Your Code
What are the benefits of platforming your embedded software development?
Embedded market pace has been notably affected by end-user expectations and high level market competition. In that context all tech makers want to launch better products on the market, at a faster pace and at a lower cost. The one who can offer that will please customers, CTOs, CFOs and CEOs all at the same time! Dream scenario? Well, maybe not.
You actually have many ways of succeeding here (not exhaustive): implementing lean startup methodologies, looking for new innovation frameworks, use intensively UX design to reduce functional scope while focusing on key features, reduce product line for better focus, use off-the-shelf products or software bricks and reuse your own code/create your own embedded software platform. Our focus today is on the last two options.
As the R&D manager or director of innovation, you probably have several products that you develop and maintain.
What if you could reuse 60 to 90% of your R&D effort from one product to another?
Let’s say you have 5 products you want to develop. And each product in stand alone would cost 1 M€ in software development. Let’s say you found a trick that allows you to re-use 75% on average. That would mean you will spend 1 + 0,25*4 = 2 M€ instead of 5*1 = 5 M€. That means up to 250% saving on your R&D effort!
That is the principle of embedded software code reuse and what I call embedded software platforming. Well, it’s not exactly as profitable as that. Your first product’s embedded software development will cost you more. Building a software platform is more expensive than just doing stand-alone products. You need to include features for your whole product line. But still, it looks like there is a huge potential return on investment here!
Now, let’s see what is behind a “living product” (smart and/or connected) and see what can be platformed:
- Firmware and OS
- Embedded Business application
- Embedded UI and Remote UI
- IT platform and it’s business applications
Mechanical platforming is being intensively used by car manufacturers with success for years: Ford Motor Co. builds the Ford Explorer, Mercury Mountaineer, and Lincoln Aviator on the same platform, covering the mass-market, near-luxury, and luxury SUV segments. The Chrysler PT Cruiser is built on the Neon platform and the Toyota Matrix is built on the Corolla platform. Logic is simple. It is an art of creating several visibly different models from a common platform. It is like creating various pots from the same clay. We can easily imagine the same approach with “living product” even if the form factor can vary more (a car always has 4 wheels!).
On the other hand, in IT, anyone who has been working in the embedded field has seen the “leading IoT platform”, “plug and play”, “tailored to your use”, “time and cost saving”, right ? These off-the-shelf IT platforms are indeed very powerful, and they just make you pay a reasonable amount of money per month or year instead of millions of investments on your own to get the same level of quality, features and security. As IT applications remain pretty much the same for all embedded markets (data management, dashboard, digital twins, AI, device management), these platforms have clearly a good chance to succeed on the market, even if the world is too small for that many “leaders”.
What I would like to focus on now is the embedded device scope.
What makes platforming in embedded a tricky but exciting problem is the variety. Everything is custom! “It depends” is the answer I have heard the most in the embedded software industry. Indeed, what is there in common between a coffee machine, an ultrasound scanner and a mobile-POS?
In that context, can off-the-shelf software platforms cover the main features of your product so that you can focus as much as possible on the business applications? The answer is: “not really”.
Market is creative on all dimensions: use cases, features, form factors, HW technologies, protocols, inter-operability, lifetime.
The embedded software field is covering so many markets and “settings” that it’s hard to see leaders as in IT. There are some technologies that can be seen as technology platforms, as Qt, FreeRTOS, MicroEJ, Sigfox, Lora, Linux Yocto, but no one owns the full software stack.
However, we see that platforms generally win in the long term, as they provide unequaled cost and time savings on product innovation. Who would restart development from scratch for each new car model? This is where an interesting scenario emerges:
What about building your own embedded software platform, reusing some of your code, taking the best of customization and economy of scale?
Embedded software code reuse or platform approach is the best fit whenever you have a roadmap for the next several years, with a product line close to each other in terms of usage, ie: being in the same “setting”. A setting can be: home appliance, medical devices for hospitals, public vending machines, a production line, analyzer, etc. Usually a company has at least one setting including several products, and giant OEMs have many settings with many products in them.
One embedded software code platform for your product range has high potential R.O.I.
Maximize code reuse from one product to another brings:
- Economy of scale on embedded software development
- Shortened new product time to market, thanks to software and hardware developments limited to specific product customization
- Mutualized features improvement on all product line
- No lock-in to one tech provider thanks to a software common code managing a high level of abstraction and compatibility (HW, connectivity, UI, etc.)
- R&D effort becomes a long-term asset, CAPEX versus OPEX.
- Complete ownership of the IP and no “black-box” effect.
Common code testing framework that allows time savings and constant robustness improvement on the core embedded software platform (any fix benefits to the whole product line)
What are the challenges of an embedded software code reuse approach?
Embedded software code reuse can create inertia
Technically, one of the key downsides of this platforming is the inertia that it creates. It is indeed harder to make a embedded software code platform evolve since it has a lot of dependencies with existing products. Therefore, you will need a powerful software factory to manage that “core” software/hardware and its variations.
Platform everything that is not visible
On the market side, if you push too far the platforming approach, your products may look too similar to each other, weakening your product line appearance and effect to some of your target customers. As for cars, the question is how to create different levels in your product offer with the same basis? To address that stake, you will need to focus your code reuse on non-visible parts of your product (back end, low level, middleware, connectivity, security, OTA, etc.) while keeping a good level of customization on UI and UX.
Choose technologies that have a future
Plus, as a wise and visionary R&D leader, you need to select carefully the technologies you will use, as they will be the backbone of all your products for years. That technology choice phase must take into account: maintainability, penetration in the developer community, pro-active support, roadmap for new features!
High complexity requires experts gatekeepers
Finally, you should work on your embedded software platform with several and experienced architects and product managers, as it required a wide set of technical/business experiences. It is the highest level of complexity to design and develop such a key asset for your company. Having senior architects supporting closely during the complete development cycle is key to ensure the maximum consistency between high level architecture and real software code being developed!
Proven outcomes of an embedded software platform
From our embedded software development experience, creating such code reuse platforms for many different industries, we see that the vast majority of embedded systems with graphical interface are Linux based.
On this kind of embedded systems, developing a platform of common embedded software is always a winning move, even in the worst scenario.
These are the key outcomes that you can expect developing successfully your multi-product embedded software platform (ie: working with Witekio ;-)):
- From 60 to 90% re-use from one product to another
- Secured and up-to-date software on 100% of a product line.
- Average time to market moved from 15 months to 5 months for a new product
Figure 1 : Share of code reuse thanks to embedded software platforming
Building your own embedded software platform creates a strong asset for your company
A platform approach for the embedded software development of your products is the best fit whenever you envision a roadmap for the next several years, with a line of products that are in the same “setting”.
Building your own embedded software platform will create a strong asset for the company and enable from 60 to 90% code reuse from one product development to another. This will allow cost saving and will for sure shorten time to market for your innovations.
But beware that it is easier said than done. You will have to deserve it. You will have to work with experienced embedded software architects and product managers. No doubt it is the highest level of complexity to design and develop such a key asset for your company!
If you want to more about embedded software platforms:
- The 9 types of software platforms : https://medium.com/platform-hunt/the-8-types-of-software-platforms-473c74f4536a
- Inspiration from automotive industry : https://www.frost.com/sublib/display-market-insight-top.do?id=20843788
Wants to assess your potential ROI in a platform scenario?
You don’t know were to start your platform approach?