Communication protocols
DNP3: Communication Protocol for Control Centres and Energy Systems
DNP3 explained: How control centres and energy systems exchange measurements, events and commands, plus key requirements for integration and security.
Definition
- DNP3
DNP3 stands for Distributed Network Protocol 3 and is an open communication protocol for remote monitoring and control, standardised as IEEE 1815.
DNP3 connects control centres and SCADA systems (Supervisory Control and Data Acquisition) with remote terminal units, plant controllers and field devices. It is particularly widespread in the North American electric utility sector.
DNP3 at a glance
Key points
- It transmits measurements, operating states, events and control commands between control centres and energy systems.
- In addition to regular polling, the protocol supports event-based reporting, depending on device capabilities and configuration.
- Successful integration requires coordinated data point definitions and security functions; DNP3 support alone is not sufficient.
How does DNP3 communication work?
Master and outstation
A master, such as a control centre, communicates with an outstation, such as a remote terminal unit or plant controllerData Loggers and Controllers Data loggers collect and transmit system data. Controllers process measurements and control PV systems, BESS, and other connected components. at the site. Communication can use serial connections or an IP network.
The outstation provides information such as power, voltage, current, meter readings, switch positions and fault indications. Depending on the data object, timestamps and quality flags accompany the values. This allows the control centre to determine, for example, when a state change occurred or whether a measurement is flagged as valid.
Polling, events and unsolicited responses
The master can request current values and stored events. Events occur, for example, when a switch changes state or a measurement changes by a sufficiently large amount. If both sides support and enable unsolicited responses, the outstation can also report changes without a preceding individual request.
Commands with Select before Operate
In the opposite direction, the master sends switching commands or setpoints. With Select before Operate, a command is first selected and then triggered by a separate operate command. This procedure replaces neither authorisation checks nor electrical protection functions.
One exchange between control centre and plant controller
The master asks, the outstation answers with timestamped values and, where enabled, reports events on its own. Commands go the other way in two steps, and the plant controller still checks every setpoint against its limits.
The master polls current values
The control centre requests current values and stored events from the outstation, over a serial connection or an IP network.
The outstation answers with flagged values
It returns power, voltage, current, meter readings, switch positions and fault indications. Depending on the data object, timestamps and quality flags show when a value changed and whether it is valid.
A switch changes state
The outstation records an event, as it does when a measurement changes by a sufficiently large amount. Event buffers have limited capacity: long outages or too many events can make them overflow.
The change is reported without a request
If both sides support and enable unsolicited responses, the outstation sends the event immediately. Otherwise the master collects it with its next request.
The master selects a command
To change the power of a PV system or a BESS, the master first selects the setpoint or switching command. SAv5 can authenticate such security-critical messages and check their integrity, but does not encrypt them.
A separate operate command triggers it
Only the second command executes the selected one. Select before Operate replaces neither authorisation checks nor electrical protection functions.
The plant controller checks and implements the setpoint
The local control system checks the setpoint against plant limits and implements it through the device interfaces. It also needs a defined response to communication failures and missing or outdated setpoints.
A simplified sequence. Which functions are available depends on the devices, their configuration and the coordinated data point list.
Read as text
- 1 · The master polls current values
Monitoring · Master → outstation
The control centre requests current values and stored events from the outstation, over a serial connection or an IP network.
- 2 · The outstation answers with flagged values
Monitoring · Outstation → master
It returns power, voltage, current, meter readings, switch positions and fault indications. Depending on the data object, timestamps and quality flags show when a value changed and whether it is valid.
- 3 · A switch changes state
Events · Outstation
The outstation records an event, as it does when a measurement changes by a sufficiently large amount. Event buffers have limited capacity: long outages or too many events can make them overflow.
- 4 · The change is reported without a request
Events · Outstation → master
If both sides support and enable unsolicited responses, the outstation sends the event immediately. Otherwise the master collects it with its next request.
- 5 · The master selects a command
Control · Master → outstation
To change the power of a PV system or a BESS, the master first selects the setpoint or switching command. SAv5 can authenticate such security-critical messages and check their integrity, but does not encrypt them.
- 6 · A separate operate command triggers it
Control · Master → outstation
Only the second command executes the selected one. Select before Operate replaces neither authorisation checks nor electrical protection functions.
- 7 · The plant controller checks and implements the setpoint
Control · Plant controller
The local control system checks the setpoint against plant limits and implements it through the device interfaces. It also needs a defined response to communication failures and missing or outdated setpoints.
Where is DNP3 used?
Power grid operations
In power grid operations, DNP3 connects control centres with geographically distributed stations. Operators can monitor operating states, detect faults and remotely switch suitable equipment.
Photovoltaic systems and battery storage
For photovoltaic systems and battery energy storage systems, DNP3 can provide the interface between the installation and a supervisory control centre. For example, a plant controller reports the current active power and receives a new power setpoint. The local control system checks the setpoint against plant limits and implements it through the relevant device interfaces.
DNP3 transports data and commands. Operational optimisation, local control and electrical protection remain the responsibility of the connected systems.
Technical requirements and limitations of DNP3
Events and timestamps
Event reporting can reduce data traffic compared with frequent polling of all current values. Timestamped messages also help reconstruct the sequence of operating events and faults.
Reliable timestamps require a dependable time reference. Event buffers have limited capacity. Extended communication outages or excessive event volumes can cause buffers to overflow and event data to be lost.
A coordinated data point list
A coordinated data point list is essential. Both sides must consistently configure:
- data point types and indices,
- scaling and units,
- command meanings,
- sign conventions: a positive active power setpoint must not be interpreted differently by the sender and receiver.
Independently of event buffering, the plant control system needs a defined response to communication failures and missing or outdated setpoints.
Communication security
Important
DNP3 alone does not ensure communication security
The security functions actually supported and enabled must be checked for the devices used and the entire communication path.
Secure Authentication Version 5 (SAv5)
SAv5 provides authentication and integrity checking for security-critical messages but does not encrypt the payload data.
DNP3 Security Layer (DNP3-SL)
The newer DNP3-SL, formerly SAv6, additionally supports message encryption. This does not imply automatic availability in existing devices.
What role does DNP3 play in EcoPhi projects?
DNP3 in summary
DNP3 enables structured remote monitoring and control of distributed energy systems. Its practical value depends on correctly coordinated data point mapping, suitable event handling and secure communication. Implementing received setpoints remains the responsibility of the plant control system.
Frequently asked questions about DNP3
Is DNP3 a SCADA system?
No. DNP3 is a communication protocol that a SCADA system can use to exchange data with energy installations. Visualisation, archiving and operator interfaces are provided by the respective system.
Does DNP3 require an internet connection?
No. DNP3 can operate over serial connections or private IP networks. A connection to the public internet is not required.
Can existing systems be connected through a protocol converter?
In principle, yes, provided the converter supports the required functions of both protocols. In particular, it is necessary to verify that measurements, quality flags, timestamps and commands can be mapped correctly.
Continue reading
Controllers & field devices
Data Loggers and Controllers
Data loggers collect and transmit system data. Controllers process measurements and control PV systems, BESS, and other connected components.
Controllers & field devices
SCADA System
A SCADA system monitors and operates PV plants, BESS and other energy installations. Learn how it works, how it differs from other systems and how EcoPhi can be integrated.
Communication protocols
API
An API connects software and energy data. Learn how APIs support monitoring and energy management, and what to consider when using them for system control.
Communication protocols
Modbus TCP and RTU
Modbus TCP and Modbus RTU connect devices to EMS and SCADA systems. Learn about registers, differences, applications, and technical requirements.
Communication protocols
MQTT (Message Queuing Telemetry Transport)
MQTT transfers measurements, statuses and control commands through a broker. Learn about topics, QoS, security and the use of MQTT in an EMS.
Power quantities & power quality
Reactive Power, Apparent Power and Active Power
What distinguishes reactive, apparent and active power? Learn about the power triangle, power factor, measurement and reactive power control.