When the microprocessor is cancelled
Instead of replacing an old microprocessor 1:1 with a new one, it is often worthwhile using a System on Module (SoM) with a Linux operating system. Thanks to modern interfaces and additional computing power, completely new possibilities open up.
-
Initial situation
In industry, the service life of systems is often significantly longer than the electronic components and processors in particular are available. A retrofit is therefore necessary after a certain period of time. However, it is often uncertain how long the new processor will be available.
-
SCS solution
SCS recommends using a small computer, a System on Module (SoM), for many retrofits for industrial devices. This runs a Linux system with software that is abstracted at a higher level and is therefore independent of the hardware.
-
Added value
Thanks to the standardised interfaces, the SoM can be replaced in future without having to adapt the software or electronics. The modern interfaces and greater computing power enable new functions for the upgraded devices.
Hardware retrofit
The tried and tested Motorola 68HC12 ran for decades in simple industrial applications. Now it is no longer available and a replacement is needed, because in industry, for example in machine tools, the service life of the mechanics is much longer than that of the electronics. Customers expect the manufacturer to supply spare parts for the electronics. Manufacturers are therefore faced with the question: How do we replace the discontinued processor? This applies not only to the 68HC12 or 68HC08, but also to various processors such as the 8051 derivatives, the MSP430 or the C167xR.
The first, pragmatic reaction of many manufacturers is to replace the processor and its function 1:1 with a current, low-cost microprocessor. As the software has to be rewritten and the electronic print re-layouted, this results in development costs of several hundred thousand francs – without the machine having any new functions afterwards. In the worst case scenario, the new processor is also discontinued 5 years later.

System on Module
SCS therefore suggests to many manufacturers not to replace the processor 1:1 in a retrofit, but to use a miniature computer with a Linux system, which not only implements the existing functions, but also enables new features for customers thanks to modern communication interfaces.
Such systems on modules (SoM) are widely used as miniature computers, a typical example being the Raspberry Pi. They are plugged into the electronics via standardised interfaces. The advantage is that they already support various interfaces such as USB, Bluetooth, Ethernet and WLAN and provide enough computing power to take on more complex tasks.
Many compatible alternatives
Thanks to the widespread use of Raspberry Pi, many manufacturers have already brought alternatives onto the market that copy the form factor and interface positions. Even the Raspberry Pi’s own pin header is adopted by the manufacturers for compatibility purposes, so that you are not tied to one manufacturer. While some manufacturers of these competing products concentrate on differentiating themselves from the original with more computing power (up to 8 times), others focus on lower prices (up to a fifth). This battle for market share means that the end customer has a wide choice of modules and can switch to other modules in the event of supply bottlenecks without incurring development costs. This drastically reduces dependence on specific suppliers.
The Linux system runs on all these products, the application is abstracted at a higher level and does not need to be customised. The Linux operating system takes care of the physical interfaces.
Manageable costs
In terms of costs, an SoM is somewhat more expensive than a single processor: while a processor may cost CHF 8 per unit, an SoM is more likely to cost CHF 13. The development costs are also typically around 20% more expensive. This opens up opportunities for new applications. For example, machines can be operated via a nearby PC (Ethernet) or via an app on a tablet/mobile phone (Bluetooth, WLAN). If the display/touch panel on the machine can be minimised or omitted, the slightly higher costs for the SoM are already saved again.

Retrofit of old interfaces
Old interfaces are often a challenge for retrofits: These can be the common serial and parallel interfaces (RS-232 or LPT), but also devices with IDE and ISA bus. Linux computers can emulate these interfaces without any development effort. They are already integrated into the Linux operating system as device drivers.
At SCS, proprietary interfaces for retrofits are also implemented time and again. Sometimes this requires reverse engineering if the documentation for the interface is missing. The implementation of such special interfaces through software brings advantages for the future: on the one hand, backwards compatibility is established and, on the other, it facilitates the integration of new ideas and possibilities. Switching to newer interfaces is also greatly simplified without jeopardising backwards compatibility. This means you are not restricted by existing, old hardware interfaces.

Hard real time
There are electronics that support hard real-time and sometimes have to react within microseconds. A Linux operating system is too slow for this, even if the software is executed in “real time”. Here, SCS recommends isolating the relevant functions/machine parts and separating the real-time capabilities from the business logic. Even for machines where this approach does not seem possible, it is worth analysing and segmenting the functions in detail. In this way, the advantages of an SoM can be utilised, while the parts that absolutely must comply with real-time capabilities can be covered by traditional microprocessors.
This approach also has advantages for further developments: A much smaller processor can be used for this delimited area, which reduces production and development costs. It increases machine security, as the real-time processor does not communicate and cannot be compromised via Bluetooth, for example. This means that security mechanisms can be realised with little effort without having to use the SoM. In the event of a power failure or other events, it can simply be switched on. Meanwhile, the real-time processor, supported by a small battery or capacitors, continues to control the machine until it comes to a standstill.
Retrofits open up new possibilities
Machine manufacturers should bear in mind that a retrofit is an opportunity to provide customers with new functions. With a solid platform, you are also well positioned for future standards/customer requirements. While every centime counts with consumer electronics, the service life and customer relationship take centre stage with machines. If you replace an outdated microprocessor with an SoM and a Linux operating system during a retrofit, you will have a stable platform in future that is not dependent on the hardware. This not only facilitates the further development of your own product line, but also makes it easier and quicker to respond to customer requests. This makes new functions possible that are not even thought of today.
