top of page

Virtualization

Smart meter software has long been a prisoner of its hardware. We're changing that.

One stack. Any platform. Fully certifiable..png
One stack. Any platform. Fully certifiable..png

A New Reality for Smart Meter Software

Smart meters have become far more than measurement devices. Today, they are permanent nodes in critical national infrastructure ; expected to remain operational and maintainable for 15 to 20 years, across multiple regulatory cycles, hardware generations, and evolving cybersecurity requirements. Yet the software powering these devices has largely remained trapped in an architecture designed for a simpler era: monolithic firmware, tightly coupled to a specific hardware platform, where every functional update carries the risk of triggering a full re-certification process.
 

This model is reaching its limits. Utilities face growing pressure to update security mechanisms, adopt new communication protocols, and integrate new services ; all on deployed infrastructure they cannot easily replace. Meter manufacturers must maintain multiple firmware branches for different hardware variants, multiplying development costs and certification timelines. System integrators struggle to validate client applications before physical hardware is even available. The entire ecosystem is absorbing a hidden cost that grows with every product generation.

Andrea Software SRL has built its R&D program around a direct response to this challenge: virtualizing and modularizing the core software components of smart meters, so that the same validated, certified logic can be deployed, reused, and evolved across any target platform ; without starting from scratch each time.

What Virtualization Means in Practice

In the context of smart metering, virtualization does not mean cloud infrastructure or hypervisors in the traditional IT sense. It means something more precise and more demanding: the ability to encapsulate critical software modules ; DLMS/COSEM communication stacks, metrology algorithms, IDIS interoperability layers, security services ; into self-contained, hardware-independent components that expose stable interfaces and can be ported across platforms without modifying their internal logic or compromising their certified behavior.

This is technically difficult. Smart meter platforms operate under severe constraints: limited RAM and flash memory, strict real-time requirements for metering and communication scheduling, low power budgets, and long-term reliability expectations. Virtualization techniques that work well in server or desktop environments are often far too resource-intensive to apply directly to an embedded microcontroller. The research challenge is to design abstraction mechanisms that are genuinely lightweight ; adding minimal overhead in terms of memory footprint, execution latency, and energy consumption ; while still providing meaningful isolation between software modules.

Andrea's approach is built around two fundamental architectural principles: a rigorous Hardware Abstraction Layer (HAL) and Operating System Abstraction Layer (OSAL) that decouple protocol logic from the physical platform, and a modular boundary design that enforces strict separation between functional domains. Together, these allow the same DLMS/COSEM library to run on a bare-metal microcontroller, a FreeRTOS environment, a Zephyr-based platform, or a Linux system ; with no functional change to the protocol stack itself.

Virtualization.png

DLMS/COSEM Libraries: Portable and Decoupled by Design

The DLMS/COSEM protocol suite is the backbone of smart meter interoperability across Europe and beyond. It governs how meters expose data, how they authenticate communications, how they respond to read and write commands from head-end systems, and how they handle encryption and access control. For Andrea, DLMS/COSEM is not just a supported protocol ; it is the core of the company's software expertise, developed and refined over years of deployments across electricity, gas, and water metering.

The virtualization effort applied to DLMS/COSEM aims to produce libraries that are fully portable across hardware architectures, entirely decoupled from physical communication interfaces (PLC, RF, NB-IoT, LoRaWAN), and designed with security as a structural property rather than an add-on. A single certified DLMS/COSEM library can then be reused across meter types and hardware generations, dramatically reducing the development effort required for each new product variant and giving manufacturers a stable, maintainable foundation for their entire product line.

The research also addresses the evolution of security requirements ; one of the most pressing challenges in smart metering today. By encapsulating security mechanisms within isolated, replaceable modules, Andrea's architecture allows cryptographic updates and new authentication mechanisms to be integrated without destabilizing the certified metering or communication functions that surround them.

Metrology and Interoperability: Isolating What Must Not Break

Metrology functions ; the algorithms that perform actual energy or fluid measurement ; are among the most regulated components in any smart meter. They are subject to legal metrology frameworks, type approval procedures, and national certification requirements that vary by market. Any modification to metering logic, even an indirect one caused by a change in an adjacent software layer, can invalidate an existing approval and require a full re-certification campaign. This is one of the main reasons why meter firmware has historically resisted modularization: the risk of unintended coupling between layers is simply too high.

Andrea's research directly targets this problem by designing strict functional isolation for metrology modules. The goal is to define clear, controlled interfaces that prevent any unauthorized or unintentional interaction between the measurement logic and the surrounding application layers ; ensuring that metrology behavior remains stable and certifiable even as other parts of the firmware evolve. This isolation is not merely a software architecture choice; it is a prerequisite for enabling the kind of long-term, incremental evolution that utilities and regulators increasingly require.

The same modular philosophy applies to IDIS interoperability. For markets where multi-vendor interoperability is mandatory, Andrea encapsulates the IDIS compliance layer as an independent module that tracks evolving IDIS profiles without impacting the underlying DLMS/COSEM or metrology components. This makes it possible to support multi-generation, multi-vendor deployments from a single, maintainable codebase.

Early Results: What the Research Has Already Demonstrated

Andrea's virtualization program is an active R&D effort, and while the work is ongoing, early prototypes and experimental campaigns have already produced concrete, actionable results. Porting exercises carried out on representative DLMS/COSEM components across multiple hardware targets have confirmed that selective, well-scoped virtualization is technically feasible ; and that its benefits are measurable.

Early findings include a significant improvement in DLMS/COSEM component reusability across hardware targets, a meaningful reduction in the volume of platform-specific code that must be maintained and re-tested with each new hardware variant, and a substantial improvement in module testability ; allowing individual software layers to be validated in isolation, without requiring a fully integrated system. The research team has also demonstrated that certain services, including security update mechanisms and protocol configuration logic, can be evolved independently without triggering a complete firmware re-qualification cycle.

These results are not yet the conclusion of the research program ; they are the foundation it is building on. The next phases will focus on broadening the experimental campaigns, refining the abstraction interfaces, and extending the modular architecture to additional protocol stacks and communication technologies. The objective is to build a reusable, industrially deployable know-how base that can support Andrea's customers through the next generation of smart metering deployments.

Integration with Andrea's Tool Ecosystem

The virtualization work does not exist in isolation ; it is directly integrated with the rest of Andrea's software portfolio. The portable DLMS/COSEM libraries produced by this research program are the same libraries that power the DLMS Client Toolkit, the DLMS Server Toolkit, and the M-Bus components available through Andrea's product range. This means customers adopting these toolkits benefit directly from the portability and modularity that the research program is establishing.

The virtualization layer also connects naturally with PHENIX, Andrea's DLMS/COSEM conformance testing platform. Virtual meter instances ; software-only emulations of DLMS/COSEM Server devices ; can be used as test targets within PHENIX, enabling fully automated conformance test sequences to be executed without physical hardware. For teams building or qualifying DLMS/COSEM client applications, this combination dramatically compresses the integration timeline and reduces dependence on hardware availability during early development phases.

Unlock the Future of
Smart Metering Today!

bottom of page