How to make a hardware setup for monitoring BER of modbus

AI Thread Summary
To monitor the Bit Error Rate (BER) of Modbus communication between a PC and a compressor, a setup is needed that can analyze communication errors effectively. The Modbus RTU protocol includes a CRC for error checking, which can be utilized to determine packet error rates. By comparing transmitted and received data bit by bit, especially in the absence of error correction, accurate BER measurements can be obtained. It is also recommended to send numbered packets to identify any lost packets that do not trigger CRC errors. This approach will provide a comprehensive view of the communication performance for monitoring purposes.
Nikhil N
Messages
80
Reaction score
2
I have to devices in communication with modbus protocol. Master is PC and slave is compressor(100ft line,RS485 standard, modbus RTU protocol). I have to build a setup which will show how much the error in communication. I am coupling some white noise to the line and some burst signals too. I could see error has happened in communication from communication log file which is getting from the Omnimbt software that I am using in master. But instead of this I need to get the BER(bit error rate) and show persons who will be monitoring the performance of modbus communication. Can anybody suggest some possible ways for doing this?
 
Engineering news on Phys.org
If you know exactly what was transmitted and what was received, and if there was no error-correction, you can compare transmitted/received bit by bit.
 
Nikhil N said:
modbus RTU protocol
Jeeze, this is turning into a long project! :smile:

Does the RTU protocol include a checksum or CRC with each packet transmitted? How long of a checksum or CRC?
 
anorlunda said:
If you know exactly what was transmitted and what was received, and if there was no error-correction, you can compare transmitted/received bit by bit.
My doubt is how to determine the error, whether by comparing the signal with noise and without noise coupled as we can see in the noise analyzer(ref:figure below) or by determine in bit level comparison(BER)?
31174-3893607.jpg
 
berkeman said:
Jeeze, this is turning into a long project! :smile:

Does the RTU protocol include a checksum or CRC with each packet transmitted? How long of a checksum or CRC?
It has CRC with modbus signal
 
Nikhil N said:
It has CRC with modbus signal
How many bit CRC? If each packet has the CRC checked, look at the packet error rate and multiply by the number of bits in the average packet length.

Your test should also send numbered packets, so that any loss of a packet without a CRC error logged is seen also.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top