当前位置:网站首页>Hongke share | FPGA implementation of pass through and store and forward switching delay
Hongke share | FPGA implementation of pass through and store and forward switching delay
2022-07-29 06:40:00 【Hongke Industrial Communication Division】
In this article , We will show two kinds of available in FPGA Implemented on the COTS IEC 62439-3 Switch IP Comparison of nuclear delay . The first is to mix pass through switching and storage - Forwarding switching architecture , The second is based only on storage - Forwarding switching technology .
Reliable technology ——HSR&PRP
Now ,HSR/PRP And other reliable Ethernet networks are being recognized by many industrial automation applications . A strong evidence of this evolution is that the International Electrotechnical Commission has adopted seamless redundancy based on high reliability (HSR) Ethernet protocol and parallel redundancy protocol for Substation Automation (PRP) (IEC 62439-3 The first 5 and 4 strip ). Both protocols provide zero handover delay , Do not lose frames in case of failure , And be regarded as in the 2 Layer is a powerful means of network supervision .
chart :HSR Unicast traffic ring configuration example
HSR Frames are incompatible with traditional Ethernet infrastructure , and PRP Then it is allowed to send repeated frames through two traditional Ethernet Networks . therefore ,PRP The application field of , Although it is not specifically for “ real time ” Ethernet environment design .
“ real time ” It means responding to the signal within a predictable time after it occurs . for example , Modern digital control loops need to be lower than 10µs Reaction time . The latest Ethernet based control protocols such as EtherCAT or Sercos III It is often based on hardware to achieve predictable synchronization behavior and extremely low delay time .
- HSR Designed to meet Process Bus Set strict communication requirements .HSR Connect the intelligent electronic devices in each compartment (IED) interconnection .
- PRP Apply to Station and Inter-Bay Buses. Due to the flexibility of the agreement , It can connect many heterogeneous devices .
In order to maintain redundancy in communication ,PRP and HSR Interconnection between networks is performed using redundant gateways . Every HSR The link uses two gateway devices to connect to each PRP LAN. therefore , Avoid potential “ A single point of failure ” problem .
chart : adopt HSR and PRP Substation network communication
Pass through and store and forward
Pass through and store and forward L2 Switches are based on the destination of packets MAC Address makes forwarding decisions . The main difference between them is :
- The store and forward switch makes a decision after receiving the entire packet .
- The pass through switch is analyzing the target MAC Make a forwarding decision after the address , The address is in the first part of the frame .
In the store and forward switch , The delay time includes the time required to receive the whole frame . therefore , Compared with direct exchange , Longer delay .
Forwarding delay time
stay Xilinx FPGA Hongke on HSR-PRP IP These two methods are implemented in the kernel ( A hybrid pass through and store and forward , The other is pure store and forward ), give the result as follows :
therefore , It can be said that Hongke HSR-PRP IP The nuclear implementation is designed for PRP and HSR Exchange architecture of protocol design .
The theoretical minimum delay time is calculated by considering the forced field of Ethernet frame , This means that these fields must be analyzed to make exchange decisions . under these circumstances , In pass through , Time is independent of frame length , So it will be constant .
In the case of pure store and forward method , You need to store the whole frame before starting retransmission , So the delay depends on the frame length . It can be seen that , It is one order of magnitude larger than the optimized direct switching architecture .
Conclusion
- The analysis shows that , The custom architecture that combines pass through and store and forward methods can provide the best delay time in any case .
- FPGA Its role in these new agreements is crucial . One side , They allow low latency 、 Flexible and scalable solutions to meet the stringent requirements set in these Standards . On the other hand , When industrial manufacturers combine new agreements and specific agreements to provide equipment for the market ,FPGA It can reduce the time to market and risk .
If you want more information , Welcome private message 、 Comment or contact [email protected]
边栏推荐
- Thinking about MySQL taking shell through OS shell
- day06_类与对象
- 2022 summer second day information competition learning achievement sharing 2
- TCP socket communication experiment
- Merkle tree existential function modified for the first time
- 【面试题】2022年最新软件测试面试题(400道)【附带答案】持续更新...
- FIR滤波器设计(1)——利用matlab的fdatool工具箱设计FIR滤波器参数
- Advanced socket programming (options and control information)
- 基于TCP的在线词典
- 浅谈缺陷描写样式
猜你喜欢
随机推荐
FIR滤波器设计(2)——Vivado调用IP核设计FIR滤波器
day04_数组
Ultra low cost DDoS attacks are coming. See how WAF protects Jedi
FIR filter design (2) -- vivado calls IP core to design FIR filter
Joint use skills of joiner.on and stream().Map
Traffic characteristics of webshell management tools
Thinking about MySQL taking shell through OS shell
[leetcode skimming] array 2 - binary search
9、 Networking technology
day02_基本语法
NoClassDefFoundError processing
虹科教您 | 想进入TSN领域?虹科教您如何搭建TSN测试系统
Vivado IP核之复数浮点数乘法 Floating-point
网站被挂马的解决方案
6898 changing matrix problem solution
六、 网络互联与互联网
day06_ Classes and objects
MerkleTree 构建QT实现UI
Phishing mail disposal
Personal views on time complexity