Bandwidth Requirement for OPC UA|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Bandwidth Requirement for OPC UA
Avatar
Meghnad Natekar
Member
Members
Forum Posts: 3
Member Since:
10/15/2020
sp_UserOfflineSmall Offline
1
10/15/2020 - 08:16
sp_Permalink sp_Print

I would like to understand how to calculate bandwidth for OPC UA. We have around 80000 tags to exchange and I would like to know how much network bandwidth is needed.

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/15/2020 - 09:39
sp_Permalink sp_Print

UA is exception based so no data is transmitted if the value does not change.

You can also specify deadbands for each item which can reduce data transmission even if the value changes by a small amount.

UA also allows you to suppress information such as the Timestamps which further reduces network requirements.

Lastly, datachanges are bundled into network messages. More datachanges in a single message means lower bandwidth but higher latency.

So to answer you question you need to know:

1) DataTypes of your 80K items;

2) How frequently they change;

3) The maximum delay between the change and receiving the update;

Avatar
Meghnad Natekar
Member
Members
Forum Posts: 3
Member Since:
10/15/2020
sp_UserOfflineSmall Offline
3
10/15/2020 - 20:58
sp_Permalink sp_Print

Randy Armstrong said
UA is exception based so no data is transmitted if the value does not change.

You can also specify deadbands for each item which can reduce data transmission even if the value changes by a small amount.

UA also allows you to suppress information such as the Timestamps which further reduces network requirements.

Lastly, datachanges are bundled into network messages. More datachanges in a single message means lower bandwidth but higher latency.

So to answer you question you need to know:

1) DataTypes of your 80K items;

2) How frequently they change;

3) The maximum delay between the change and receiving the update;

  

Hi Randy

Thanks for detailed explanation.

I would assume below 

1) 70% of tags are digital inputs and 30% analog inputs i.e. 56000 Digital and 24000 Analog.

2) Analog Data Change – 1 Min per signal ; Digital Data Change – 1 Hr per signal

3) Max delay between the change and receeving the update – 3 sec

 

If you can provide further guidelines, I can then create a template to calculate bandwidth requirements which can be tuned as further details are available.

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/16/2020 - 20:08
sp_Permalink sp_Print

You need 1 publish request per 3sec with about 1248 data changes per message.

Data changes per message with timestamp are 16*3 * sizeof(byte) for digital and 400*3 * sizeof(double) for analog + 8 byte timestamp + 2 byte encoding id + 4 byte client handle.

Or 27K per message not including message overhead which should be insignificant compared to the data.

This gives you ~9K/sec average bandwidth requirements.

You need to think about peak requirements as well since real systems can have bursts of changes.

However, the nice thing about UA it includes flow control which allows clients to sacrifice latency to ensure the network does not get overloaded.

Avatar
Meghnad Natekar
Member
Members
Forum Posts: 3
Member Since:
10/15/2020
sp_UserOfflineSmall Offline
5
10/18/2020 - 22:37
sp_Permalink sp_Print

Randy Armstrong said
You need 1 publish request per 3sec with about 1248 data changes per message.

Data changes per message with timestamp are 16*3 * sizeof(byte) for digital and 400*3 * sizeof(double) for analog + 8 byte timestamp + 2 byte encoding id + 4 byte client handle.

Or 27K per message not including message overhead which should be insignificant compared to the data.

This gives you ~9K/sec average bandwidth requirements.

You need to think about peak requirements as well since real systems can have bursts of changes.

However, the nice thing about UA it includes flow control which allows clients to sacrifice latency to ensure the network does not get overloaded.

  

Thank Randy for this detailed explaination.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889