Author Topic: Humminbird .SON File format question  (Read 13983 times)

0 Members and 1 Guest are viewing this topic.

Offline jgann

  • Newbie
  • *
  • Joined: Oct 2010
  • Location: UNITED STATES
  • Posts: 3
  • Unit(s): 990C
Humminbird .SON File format question
« on: October 20, 2010, 04:13:43 AM »
Hello,

Is anyone able to answer these 3 questions about the Humminbird .SON file format?

1) Is there a bit field that indicates which channel is represented by a particular .SON record?  That is, how to tell the port sidescan from the starboard sidescan from the downlooker?  I've been trying to look at the values following type bytes 0x53, 0x56 and 0x57 but I haven't been able to work out a bit that is toggling in the order I expected.

2) How do you work out the range of the ping either in time or distance?  I know that the number of samples per record are provided by the 4 bytes following the "A0" byte.  If the A/D sampling frequency were known then one could determine the time and assuming a sound velocity compute a distance.

3) Are the echogram sample values 8 or 16 bit samples?  Are the sample values linear or in dB?

Thanks,

jgann


Offline RGecy

  • Administrator
  • *
  • Joined: Mar 2009
  • Location: Beaufort, SC
  • Posts: 1981
    • SideImagingSoft.com
  • Unit(s): 1197c SI, 997c SI & 785c2
  • Software: 4.950 & 4.510
  • Accessories: Interlink & GRHA
Re: Humminbird .SON File format question
« Reply #1 on: October 26, 2010, 11:52:21 AM »
jgann,

Welcome to the forum.  If I might ask, what are you working on?  I have more information available if you would like to PM or email me. 

1) Is there a bit field that indicates which channel is represented by a particular .SON record?  That is, how to tell the port sidescan from the starboard sidescan from the downlooker?  I've been trying to look at the values following type bytes 0x53, 0x56 and 0x57 but I haven't been able to work out a bit that is toggling in the order I expected.

Yes, its in the header of each ping at byte #35.  It will be either 00, 01, 02, or 03.  But you should know the channel by the SON file name also.  B000 is the 50/83khz, B001 is the 200khz, B002 is the Port SI, B003 is the Strbd SI.

2) How do you work out the range of the ping either in time or distance?  I know that the number of samples per record are pro
vided by the 4 bytes following the "A0" byte.  If the A/D sampling frequency were known then one could determine the time and assuming a sound velocity compute a distance.


Well, this one is a little more complicated.  Humminbird uses the Velocity of Sound in water as a constant versus computing based on temp, salinity, etc.  So basically, the unit sends out the ping, and based on the range set in the unit, it listens for a certain amount of time.  The number of bytes recorded will reflect what range was set.  Take a recording with a known range and divide the number of samples per ping by the range.  There are approx ~15.34 bytes per foot or ~33.52 per meter.

3) Are the echogram sample values 8 or 16 bit samples?  Are the sample values linear or in dB?

8 bits (1 byte).  Linear values, representative of the signal strength returned.

Hope this helps.  Please let me know if there is aything I can do for you.

Robert
Humminbird Guru and Forum Administrator

Offline jgann

  • Newbie
  • *
  • Joined: Oct 2010
  • Location: UNITED STATES
  • Posts: 3
  • Unit(s): 990C
Re: Humminbird .SON File format question
« Reply #2 on: October 26, 2010, 12:19:02 PM »
Hi Robert,

Our company produces software for acquiring and post-processing sidescan and sub-bottom profiler data.  So, I have been working on adding support for the Humminbird data format to our SonarWiz product.

Thanks very much for the information, I bought a Humminbird unit for my personal use at the end of 2009 and I've been eager to get this working for my own selfish reasons. 

Best,

John

Offline Chiboo

  • Jr. Member
  • **
  • Joined: Apr 2009
  • Location: Saratov rg.
  • Posts: 83
  • SpearFishing
  • Unit(s): Solix 10 MSI+ G3
  • Software: 4.130
Re: Humminbird .SON File format question
« Reply #3 on: October 27, 2010, 08:40:36 AM »
Hi, John.

Whether it is planned in SonarWiz to use the online data from HB Ehternet port?


Offline jgann

  • Newbie
  • *
  • Joined: Oct 2010
  • Location: UNITED STATES
  • Posts: 3
  • Unit(s): 990C
Re: Humminbird .SON File format question
« Reply #4 on: October 27, 2010, 12:23:24 PM »
I would love to add the real-time interface for the HB.  I didn't realize there was an Ethernet output.  Is that an optional item?  Do you know where I might find the technical specs on the Ethernet interface?

Thanks,

John

Offline Chiboo

  • Jr. Member
  • **
  • Joined: Apr 2009
  • Location: Saratov rg.
  • Posts: 83
  • SpearFishing
  • Unit(s): Solix 10 MSI+ G3
  • Software: 4.130
Re: Humminbird .SON File format question
« Reply #5 on: October 28, 2010, 01:51:06 AM »
HB announced inclusion Ehthernet port in models 2011 and in current 700,900,1000 models in new firmware... It is necessary to wait a little....

Offline phb

  • Newbie
  • *
  • Joined: Jan 2013
  • Location: biscarrosse france
  • Posts: 2
  • Unit(s): 788 HD DI
Re: Humminbird .SON File format question
« Reply #6 on: August 10, 2014, 09:14:50 AM »
Hi,
i am trying to decode files from my DI device HB 788.
It seems that codes and logic for SON Files from DI device  look different  for SON files out of SI device.
I found some pieces of codes in C# for  and adapted it to DI.
I succeed now to read pings but I found what I thing is position but I am unable to  decode them. It looks like encoding is integer instead of double as for SI.
I am looking for dat file format too.

Can anyone help?

here are the different SI and DI headers I found:
/*
 * SI Header = 62 bytes
1-4 = Always the same
5 = Spacer
6-9 = Return Key, ties back to index file
10 = Spacer
11-14 = Time in milliseconds since recording started
15 = Spacer
16-19 = Long in Mercator Meters
20 = Spacer
21-24 = Lat in Mercator Meters
25 = Spacer
26-29 = GPS Dependent, not sure what it is yet
30 = Spacer
31-34 = GPS Dependent, not sure what it is yet
35 = ?
36 = Beam #
37-39 = ?
40-43 = Frequency
44-57 = ?
58-61 = Sentence Length
62 = Spacer, or something that’s always x21
*/

/*
 * DI Header = 68  bytes
1-4 = Always the same "c0 de ab 21" meaning?
5 = Spacer - 80 meaning?
6-9 = valeur pour "80"
10 = Spacer - 81 meaning?
11-14 = Time in milliseconds since recording started
15 = Spacer - 82
16-19 = Long in Mercator Meters ?
20 = Spacer - 83
21-24 = Lat in Mercator Meters ?
25 = Spacer - 84
26-29 = GPS Dependent, not sure what it is yet
30 = Spacer - 85
31-34 = GPS Dependent, not sure what it is yet
35 = Spacer - 87
36-39 = GPS Dependent, not sure what it is yet
  = 0 = B000 50/83KHZ
     1 =  B0001 200kHz
 *   2= B0002 Si droit
 *   3 = B0003 SI Gauche
40 =  Spacer - 50 Beam #
41 = ?
42 = Spacer - 51 Beam #
43 = ?
44 =  Spacer - 92 lat? #
45-52 = lat double mercator?
53 =  Spacer - 95 lon? #
54-61 = lon double mercator?
53 =  Spacer - A0
54-67 = nombre de pings
68 = Spacer, or something that’s always x21

 * * le fichier index .idx a la forme:
0 - 7 = temps en ms? de l'enregistrement courant
8 - 17 = index de l'enregistrement suivant
*/

Offline ruiner

  • Newbie
  • *
  • Joined: Jan 2010
  • Posts: 8
  • Unit(s): 798C
Re: Humminbird .SON File format question
« Reply #7 on: October 08, 2014, 07:43:59 AM »
Does any one know that what is the unit of speed recorded?

I keep seeing values of 72-82 or so, but I have no idea of the unit (USA version, so could be anything). I am trying to do a custom SON file viewer, hence the question. I need to know the speed to correct aspect ratio of the image. I suppose I could use the lat and lon stamps as well, but it seems silly since there is speed provided...

Offline ckd022

  • Newbie
  • *
  • Joined: Feb 2014
  • Location: Chicago, IL
  • Posts: 18
  • Unit(s): 798ci SI Combo
  • Software: 5.840
Re: Humminbird .SON File format question
« Reply #8 on: October 08, 2014, 09:03:14 AM »
HB seems to use SI units, so as far as I can tell it is in "10ths of m/s".  I convert the two speed bytes into decimal and multiply by 0.223693629 to get to MPH.  At least when I do this my speed matches the one produced by Humviewer.

Offline ruiner

  • Newbie
  • *
  • Joined: Jan 2010
  • Posts: 8
  • Unit(s): 798C
Re: Humminbird .SON File format question
« Reply #9 on: October 08, 2014, 09:42:00 AM »
Thanks!

Indeed it seems so :)

Timestamps seems to be in milliseconds, ping about every 795 millisecond or so...

Offline ckd022

  • Newbie
  • *
  • Joined: Feb 2014
  • Location: Chicago, IL
  • Posts: 18
  • Unit(s): 798ci SI Combo
  • Software: 5.840
Re: Humminbird .SON File format question
« Reply #10 on: October 08, 2014, 11:06:55 AM »
Agreed, timestamps are in ms and I had the GPS heading in bytes 28-29 of the 68 byte header in 10ths of a degree for what it is worth.

Offline ruiner

  • Newbie
  • *
  • Joined: Jan 2010
  • Posts: 8
  • Unit(s): 798C
Re: Humminbird .SON File format question
« Reply #11 on: October 29, 2014, 04:20:35 AM »
Does anyone know if calculated depth information is recorded in the record files or the temperature? If they are, which fields they are exactly? Thanks

Offline ckd022

  • Newbie
  • *
  • Joined: Feb 2014
  • Location: Chicago, IL
  • Posts: 18
  • Unit(s): 798ci SI Combo
  • Software: 5.840
Re: Humminbird .SON File format question
« Reply #12 on: October 29, 2014, 09:13:42 AM »
I don't know if temp is recorded, I haven't looked for it.  But depth is recorded at 38-39 and is stored in 10ths of a meter.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
9349 Views
Last post June 29, 2009, 12:59:39 PM
by Erik
0 Replies
3537 Views
Last post October 20, 2010, 10:23:16 AM
by SpineyNole
0 Replies
3601 Views
Last post October 26, 2010, 02:43:32 AM
by burningla
17 Replies
11035 Views
Last post March 30, 2012, 10:12:31 AM
by sonar2000
2 Replies
3769 Views
Last post May 27, 2012, 06:50:19 PM
by GoldenDawn1
1 Replies
9606 Views
Last post January 24, 2013, 11:02:29 AM
by Humminbird_Greg
2 Replies
14971 Views
Last post June 14, 2013, 02:46:59 AM
by jamesunique
3 Replies
4848 Views
Last post October 28, 2017, 08:28:47 PM
by rnvinc


anything
SimplePortal 2.3.3 © 2008-2010, SimplePortal