Gaps in waveform

Hi. I have a Raspberry Jam over Raspberry PI 3.

I have gaps in waveform every 1 minute approx.
The device is in the field connected over internet. I have access to it through a VPN connection.
The RJAM hasn’t a GPS device connected. The time is synchronized with NTP server over Internet.

The RJAM hasn’t a GPS device connected. The time is synchronized with NTP server over Internet.

The odf_SL_plugin.info log file show me the following:
2021 204 13:28:22>> Time adjustment M0: HARD RESET. This will result in a one-time time-tear.
2021 204 13:28:22>> 5.0: NTP Time (Init): NTP: 1627046902.542339087
2021 204 13:28:22>> 5.2: NTP Sync (HARD): VEL Before: 1627046900.486000061 After: 1627046902.282000065 Diff: 1.796000004

And the seedlink log file shows:
Fri Jul 23 13:40:31 2021 - seedlink: R04F6 : EHZ time gap 1.798 seconds (detected) every 1 minute approx.

The output of ntpq -p command show me the following:

 remote           refid      st t when poll reach   delay   offset  jitter

==============================================================================
+181.93.10.58 (h 186.33.227.175 4 u 210 256 377 57.896 17.239 28.729
+a.ntp.br 200.160.7.186 2 u 170 256 377 176.381 -24.927 9.831
*b.ntp.br 200.160.7.186 2 u 225 256 377 179.502 -4.527 13.780

For the moment, I can’t travel to the place where the device is installed. I have access to it, only through VPN connection.
What could be the problem?

Regards,

Hello ricardogabriel5,

The error you have highlighted

2021 204 13:28:22>> Time adjustment M0: HARD RESET. This will result in a one-time time-tear.
2021 204 13:28:22>> 5.0: NTP Time (Init): NTP: 1627046902.542339087
2021 204 13:28:22>> 5.2: NTP Sync (HARD): VEL Before: 1627046900.486000061 After: 1627046902.282000065 Diff: 1.796000004

is related to unsynchronized timing between the Shake and the associated NTP server data or GPS time data. When these hard reset happen the data will display a tear (or, sometimes, a spike) like you are experiencing.

Could you please attach the entire log package, which are all the files present in the /opt/log folder inside the Shake? Thank you.

Also, how is the Shake connected to the internet when in the field? Via GPRS/3G/4G modem or in another way? This may be the cause of the issue, but I’ll need more information to be sure.

Hi!

The Shake connected to the internet when in the field via router 4G. The router is time synchronized through an NTP server.

Attachment the entire log package.

Regards,RSH.R04F6.2021-07-26T13_19_31.logs.tar (3.1 MB)

Hello ricardogabriel5,

Thank you for the complete logs. From them, I can see that there are many hard resets such as this one

2021 204 17:55:08>>	odf_SL_plugin: Program Starting...
2021 204 17:55:08>>	UDP Config: Registering host:port (172.17.0.2:8888)
2021 204 17:55:08>>	UDP Config: Registering host:port (192.168.88.2:8888)
2021 204 17:55:08>>	FW settings:
2021 204 17:55:08>>	               MCU Version: RJm-4-4.4
2021 204 17:55:08>>	           Instrument Type: R-JAM
2021 204 17:55:08>>	          Hardware Version: V4
2021 204 17:55:08>>	          Firmware Version: 4.4
2021 204 17:55:08>>	 DP Transmission Frequency: 250 msecs
2021 204 17:55:08>>	           Sample Interval: 5 msecs
2021 204 17:55:08>>	        Number of Channels: 3
2021 204 17:55:08>>	5.0: NTP Time (Init): NTP:	1627062908.614201546
2021 204 17:55:08>>	5.1: NTP Time (Init): VEL:	1627062908.354000092
2021 204 17:55:58>>	Time adjustment M0: HARD RESET.  This will result in a one-time time-tear.
2021 204 17:55:58>>	5.0: NTP Time (Init): NTP:	1627062958.639491081
2021 204 17:55:58>>	5.2: NTP Sync (HARD): VEL Before: 1627062958.354000092	After: 1627062958.378999949	Diff: 0.024999857

which, even after a Shake reboot, seem to appear again.

These are the reasons for the gaps in the waveforms. Every time a NTP server time synchronisation issue happens a hard reset happens, so I would advise to check the connection of your 4G router in the field and its time synchronisation effective connection to a NTP server. Once these issues are solved, then the hard resets will disappear, and the gaps in the waveform will too.

If it can be of use, this is our dedicated page on our manual: NTP and GPS timing details — Instructions on Setting Up Your Raspberry Shake

Hi!
A few days ago, the gaps disappeared.

Thaks!

1 Like

You’re welcome, that’s great to know!

Glad that everything is working fine again!