The 6 problems with standardized interfaces

Standardized interfaces can be a blessing for systems engineers, as they offer many advantages. They allow the purchase of ready-made components, for example a monitor that is connected via an HDMI interface. New technologies can be easily integrated, for example LED technology instead of LCDs. In the event of a problem, the component can be replaced quickly and the defective component can be repaired at leisure. However, standardized interfaces also harbour risks.
Physical and electrical interfaces - and then there's software
First of all, a distinction must be made between physical, electrical and software interfaces. Physical interfaces have been in use for hundreds of years, for example the track gauges in railroads. Automobile manufacturers also successfully introduced vehicle platforms 20 years ago, but these primarily standardized the physical form and provided them with interfaces. This then affected elements such as screws, hinges, etc. In short: we have long since mastered the physical interfaces.
We have also mastered electrical interfaces for a long time. But here it is less visible whether something fits or not. Just because a plug fits into a socket does not mean that everything is working properly at the electrical level. Anyone who has ever used a Hollow plug has been connected to a small appliance with too high a voltage.
Finally, there is the software interface, or Application Programming Interface (API). These are generally orders of magnitude more complex than those described above.
Mixing the interfaces
The three types of interfaces just described can of course also be combined. With a normal socket, we are dealing with an interface that has both physical and electrical characteristics. With a standard such as USB, all three interact.
This is a challenge, especially with regard to the Internet of Things, which is why I recently wrote about it in the article The sum is greater than the parts: Orchestration for the Internet of Things.
Standardization
Standards are "standardized" - hence the name. But there are differences here too. In the best case, a non-profit organization is responsible for the standard, such as the Object Management Group (OMG), which has also standardized SysML and ReqIF. The standards are open and either free of charge or accessible for a fee.
Companies also create and maintain standards. For a long time, Java, for example, was maintained by Sun (now Oracle), but is now also in the hands of a foundation.
Finally, standards can also be formed implicitly or derived from an implementation. In the case of several programming languages, there is a reference implementation that is then binding for the standardized behaviour. It is helpful here if this implementation is open source.
The problems with interfaces
Unfortunately, things don't always work out the way we want them to. And we have certainly all experienced this in one form or another. The following is not about trivial problems: For example, that an American plug won't fit into a German socket without an adapter. This is about the more subtle problems.
It often happens that there is more than one standard. Sockets are another wonderful example of this. This problem can be solved with adapters, but this is not always as easy as with power supplies. This is because more complex standards in particular often have a specific characteristic for certain applications, meaning that not all functions can be mapped. Mathematically speaking, two standards may have a common intersection, but there are functions that the other standard cannot perform. This was the case in the 1990s with character sets that only had the western character set in common (ASCII), but contained other characters that could not be mapped to each other. Today, this problem has been solved with the Unicode standard.
Such situations can lead to an attempt to create a new standard that covers all scenarios. It worked for Unicode, but it often goes wrong, as this cartoon shows:
Image source: xkcDE, CC-BY-NC
To take the example of the hollow plug again: although the shape has been standardized, the voltage has not. If you are not careful, you can connect a 24V power supply unit to a device that is designed for 5V. In this example, the device would most likely be destroyed.
A similar problem existed (and still exists!) with the European Train Control System, a standard for cross-border train traffic. Markus Boll reported on the problems at TdSE 2016.
The problem with software in particular is that it is constantly being developed further. The new features should then be passed on to the outside world via the interface if possible, but this would change the interface.
Nowadays, software interfaces are typically versioned, which greatly mitigates the problem. This was not always the case, and in the early days of Windows, program libraries were not standardized, which was seen as DLL hell was labeled.
Ideally, a component should be a "black box" that is described via the interfaces and whose inner workings cannot (or should not) be recognized. In practice, however, properties from the inner workings do occasionally make their way to the outside. One example of this is Transformer and switching power supplieswhich can behave very differently depending on the load.
Especially with software (APIs), implementation details are often leaked, which is often misused by crackers for illegal activities.
Sometimes standards are created and controlled by companies. This doesn't have to be a problem, but it can become one. It depends a bit on why the company created the standard. For example, many softwares provide interfaces for integration. Since an invitation for integration was made here, it can be assumed that the standard is properly maintained. But perhaps the company is acquired and the interface is decommissioned by the new owner in order to serve the integrator market itself?
Even more extreme is the case where the manufacturer does not actually want to publish the interface, for example with ink cartridges for printers. There is often a cat-and-mouse game between the manufacturer of the device and the manufacturer of white label cartridges.
Under this term, the Technology from Microsoft This is the term used to describe extending standards in such a way that an open standard becomes a proprietary one. Or to let the standard die.
Conclusion
This list is probably not complete, but gives an overview of the most important problems that can arise with standards. Nevertheless, standardized interfaces are an enrichment and an extremely useful tool for the systems engineer.







