RANGECMP4

Highly compressed version of the RANGE log

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2

This log contains the RANGE data in a more heavily compressed format compared to the RANGECMP2 log.

For dual antenna receivers, a RANGECMP4_1 log can be requested to get RANGECMP4 data from the second antenna. As described in Table: Binary Message Header Structure, the message type indicates the log is from the second antenna. To request an ASCII log enter RANGECMP4A_1, and for a binary log enter RANGECMP4B_1.

  1. Channels that have been manually assigned to a PRN with ASSIGN or ASSIGNALL are not reported in the RANGECMP4 log.

  2. L-Band channels are not reported in the RANGECMP4 log.

  3. RANGECMP4 is a complex log. For more information about decoding the RANGECMP4 log, refer to Example of Bit Parsing a RANGECMP4 Log.

Message ID: 2050

Log Type: Synch

Recommended Input:

log rangecmp4a ontime 10

Example:

#RANGECMP4A,COM1,0,81.5,FINESTEERING,1921,228459.000,00000020,fb0e,32768;627,630032090851000000009200dbbf7d8306f822d0a3b2bc897f0010d350428cf31228ea9f7300040050ff5e641cb7c7463d2a00b6a4644f6e5ee2a0fe530a00fe1f829dcfe4cf30d52abaf37f94e01621cd8d8c04a0bafcaf00e43b0761690064e7bfe90f11ce8710a4eb2b573202607403fc28e647c6fe9f550118007a9d839c2680ebfedff6876be81150411adbc972feef4686c483f30a09f01773ff0b0050d8b8a843f41576b94100440e1e4f59ace54fffca2700fc1f62e14720f4facba64affbf9c52ff39ce4b3eef9f14fd0f00244387d00d80fefabfeb0fb3cf456ae97542d410fc9ffab7f601e73580e5efdaff0f00a0b33991fc072ccbaa99ff134efa9fd0dc684bfc61f0fffeff60b020000000008004c0ff3fa0b2f724f7e1eee889e9fb9f3977c0437391ab135877fe0b00301edf93f4bd63c62850fdbf8527e6e5cd438e3a208400e0ff43bb6f5fc2101c75b058daff375c5ea4378f51940022eeffff0fe1c97dcda81887c83a63007c9d5a7ed65ce6f901427bffff3f9c04f735db1d55294a3bfc5f35ccc66df318c412181400140060eedbd7285feaf6a653f9bf9fc7fe27cd653633c0b5fcffff03197b4f8228d4e59d0cfbffa731b2f73b07e9b68078f47f0000a9be7dcdcc51898da269fe839b6191ab9cc67701f21000fc3f0001a1000000008002c03fb4362793b9bfeb657dfcffe6badabb9a4375b77f5bff1fed87bce64454a98ae16c14ff4fec6f7a48f3206b03e8040138fbd0023d225492cd7679a4ffa5623b08810e42bf05fce17fa41f9a9ccfc8e2626231edf2ff208a1225ce6150204067febfef030100000000000028000ca9cc8728bb3306e68af97f921cfce3e632f0d1cf8300c8f701*6de99eb7

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

RANGECMP4 header

Log header. For information about the log headers, see ASCII, Abbreviated ASCII or Binary.

-

H

0

2

# bytes

Number of bytes in the compressed binary Range Data.

Uchar

4

H

3

Range Data

The compressed binary range data is organized into satellite system blocks which break down into measurement blocks for each active signal within each system. Refer to the following tables for more details about this format:

Table: Header (sent once)

Table: Satellite and Signal Block (sent once per satellite system bit set to 1 in the GNSS Field found in Table: Header)

Table: Measurement Block Header (sent once for each bit set to 1 in the Satellites Field found in Table: Satellite and Signal Block)

Table: Primary Reference Signal Measurement Block and Table: Secondary Reference Signals Measurement Block, or Table: Primary Differential Signal Measurement Block and Table: Secondary Differential Signals Measurement Block, Measurement Block (sent for each bit set to 1 in the Included Signals Field for a given satellite found in Table: Satellite and Signal Block)

The byte data is received MSB first so each group of bytes (as defined by the number of needed bits) must be swapped prior to processing.

Uchar

# bytes

H+4

4

xxxx

32-bit CRC (ASCII only)

Hex

4

H+4+(# bytes)

5

[CR][LF]

Sentence terminator (ASCII only)

-

-

-

Header

Data Name

Description

Bits

Scale Factor

GNSS

Indicates which satellite system data is encoded and in what order. When the bit is set the satellite data is included. Data for each system is encoded sequentially:

Bit 0 = GPS

Bit 1 = GLONASS

Bit 2 = SBAS

Bit 5 = Galileo

Bit 6 = BeiDou

Bit 7 = QZSS

Bit 9 = NavIC

16

1

Bit Sum:

16

This block is sent once per message

Satellite and Signal Block

Data Name

Range

Description

Bits

Scale Factor

Satellites

0… 1.84467E+19

Indicates which satellites are present for this system and their order in the message. Each PRN is represented by a bit. (Bit 0 = PRN 1, Bit 1 = PRN 2, …)

Notes:

  • GLONASS Satellite: This value represents the Slot ID of the satellite (range of 1 to 24 where Bit 0 = Slot ID 1). In the event the Slot ID is between 43 and 63, the actual GLONASS Slot ID has not yet been determined and has been replaced with a temporary Slot ID calculated using the GLONASS Frequency Number. See the GLONASS Frequency Number field in Table: Measurement Block Header for more details.

  • SBAS Satellite PRNs 120 to 158 are offset by 120. (Bit 0 = PRN 120, Bit 1 = 121, …)

  • SBAS Satellite PRNs 183 to 191 are offset by 130

  • QZSS Satellite PRNs are offset by 193

64

1

Signals

0… 65535

Indicates which signals are present for this system and their order in the message. Each signal is represented by a bit as defined in Table: Signal Bit Mask.

16

1

Included Signals

0… mxn

A two dimensional field to tell the decoder which signals are present for each of the satellites.

m = The number of rows equals the number of bits set to 1 found in the Satellites field. (Maximum number of PRNs in the satellite system)

n = The number of columns equals the number of bits set to 1 found in the Signals field. (Maximum number of Signals in the satellite system)

mxn

 

Bit Sum:

80 + mxn

This block is sent once for each bit set to 1 in the GNSS field found in Table: Header.

Measurement Block Header

Data Name

Range

Description

Bits

Scale Factor

Data Format Flag

0… 1

Identifies what type of Measurement Block will be used:

0 = Reference
(Table: Primary Reference Signal Measurement Block and Table: Secondary Reference Signals Measurement Block)

1 = Differential
(Table: Primary Differential Signal Measurement Block and Table: Secondary Differential Signals Measurement Block)

1

1

Ref Data Block ID

0… 7

This ID identifies to which reference data the Differential Data is linked. This value is incremented by 1 each time a new Reference Measurement Block is used.

3

1

GLONASS Frequency Number

0… 20
(-7 to +13)

These bits are only present for GLONASS satellites in the Reference Data. This represents the GLONASS Frequency Number which identifies the frequency offset of the carrier frequency. The value will appear as a number between 0 and 20 which directly translates into a frequency offset number between -7 to +13.

If the GLONASS Slot ID is unknown, a temporary Slot ID for this satellite will be set between 43 and 63 based on the GLONASS Frequency Number:

PRN = 63 – GLONASS Frequency Number

The GLONASS Frequency Number used in this calculation is the 0 to 20 value, not the adjusted -7 to +13 value.

5

1

Bit Sum:

4 (Non-GLONASS)

9 (GLONASS)

This block is sent once for each bit set to 1 in the Satellites field found in Table: Satellite and Signal Block.

Primary Reference Signal Measurement Block

Data Name

Range

Description

Bits

Scale Factor

Parity Flag

0… 1

0 = Parity Unknown

1 = Parity Known

1

1

½ Cycle Flag

0… 1

0 = Half Cycle Not Added

1 = Half Cycle Added

1

1

C/No

0… 63.95

C/No

11

0.05 dBHz

Lock Time

0… 15

The Lock Time – See Table: Lock Time

4

1

Pseudorange Std Dev

0… 15

The Pseudorange Standard Deviation (m) – See Table: Pseudorange Std Dev

4

 

ADR Std Dev

0… 15

The ADR Standard Deviation (cycles) – See Table: ADR Std Dev

4

 

Primary Pseudorange

0… 68719476.74

The Pseudo Range of the 1st signal (Signals field in Table: Satellite and Signal Block).

If this value equals (237-1) = 137438953471, it represents a signal that is not locked.

37

0.0005 m

PhaseRange – Primary Pseudorange

±419.4303

(2’s Complement)
If this value equals –(223-1) = -4194304, it represents the signal is not locked.

23

0.0001 m

Primary Doppler

±3355.4431

(2’s Complement)
If this value equals –(226-1) = -33554432, it represents an invalid Doppler.

26

0.0001 m/s

Bit Sum:

111

This block is sent once for the first bit set to 1 in the Included Signals field found in Table: Satellite and Signal Block.
For any bits set to 1 after the first bit set to 1, refer to Table: Secondary Reference Signals Measurement Block.

This table is for Reference blocks only, as indicated by the Data Format Flag (see Table: Measurement Block Header).

Secondary Reference Signals Measurement Block

Data Name

Range

Description

Bits

Scale Factor

Parity Flag

0… 1

0 = Parity Unknown

1 = Parity Known

1

1

½ Cycle Flag

0… 1

0 = Half Cycle Not Added

1 = Half Cycle Added

1

1

C/No Indicator

0… 63.95

C/No

11

0.05 dBHz

Lock Time

0… 15

The Lock Time – See Table: Lock Time

4

1

Pseudorange Std Dev

0… 15

The Pseudorange Standard Deviation (m) – See Table: Pseudorange Std Dev

4

 

ADR Std Dev

0… 15

The ADR Standard Deviation (cycles) – See Table: ADR Std Dev

4

 

Pseudorange – Primary Signal Pseudorange

±262.1435

(2’s Complement)
If this value equals –(220-1) = -524288, it indicates the signal is not locked.

20

0.0005 m

Phaserange – Pseudorange

±419.4303

(2’s Complement)
If this value equals –(223-1) = -4194304, it indicates the signal is not locked.

23

0.0001 m

Doppler – Primary Doppler

±0.8191

(2’s Complement)
If this value equals –(214-1) = -8192, it indicates an invalid Doppler.

14

0.0001 m/s

Bit Sum:

82

This block is sent once for each bit set to 1 after the first bit set to 1 in the Included Signals field found in Table: Satellite and Signal Block.

This table is for Reference blocks only, as indicated by the Data Format Flag (see Table: Measurement Block Header).

Primary Differential Signal Measurement Block

Data Name

Range

Description

Bits

Scale Factor

Parity Flag

0… 1

0 = Parity Unknown

1 = Parity Known

1

1

½ Cycle Flag

0… 1

0 = Half Cycle Not Added

1 = Half Cycle Added

1

1

C/No

0… 63.95

C/No

11

0.05 dBHz

Lock Time

0… 15

The Lock Time – See Table: Lock Time

4

1

Pseudorange Std Dev

0… 15

The Pseudorange Standard Deviation (m) – See Table: Pseudorange Std Dev

4

 

ADR Std Dev

0… 15

The ADR Standard Deviation (cycles) – See Table: ADR Std Dev

4

 

Pseudorange – Predicted Pseudorange

±131.0715

(2’s Complement)
If this value equals –(219-1) = -262144, it indicates a signal that is not locked.

The Predicted Pseudorange = reference pseudorange plus (the reference doppler x time difference between the reference log and the differential log). The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

19

0.0005 m

Phaserange – Predicted Phaserange

±3.2767

(2’s Complement)
If this value equals –(216-1) = -32768, it indicates the signal is not locked.

The Predicted Phaserange = reference phaserange plus (the reference doppler x time difference between the reference log and the differential log). The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

16

0.0001 m

Doppler – Reference Doppler

±13.1071

(2’s Complement)
If this value equals –(218-1) = -131072, it indicates an invalid Doppler.

The Reference Doppler is the Doppler for that PRN and for that signal from the Reference log. The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

18

0.0001 m/s

Bit Sum:

78

This block is sent once for each bit set to 1 after the first bit set to 1 in the Included Signals field found in Table: Satellite and Signal Block.
For any bits set to 1 after the first bit set to 1, refer to Table: Secondary Differential Signals Measurement Block.

This table is for Differential blocks only, as indicated by the Data Format Flag (see Table: Measurement Block Header).

Secondary Differential Signals Measurement Block

Data Name

Range

Description

Bits

Scale Factor

Parity Flag

0… 1

0 = Parity Unknown

1 = Parity Known

1

1

½ Cycle Flag

0… 1

0 = Half Cycle Not Added

1 = Half Cycle Added

1

1

C/No

0… 63.95

C/No

11

0.05 dBHz

Lock Time

0… 15

The Lock Time – See Table: Lock Time

4

1

Pseudorange Std Dev

0… 15

The Pseudorange Standard Deviation (m) – See Table: Pseudorange Std Dev

4

1

ADR Std Dev

0… 15

The ADR Std Dev (cycles)– See Table: ADR Std Dev

4

1

Pseudorange – Predicted Pseudorange

±131.0715

(2’s Complement)
If this value equals –(219-1) = -262144, it indicates the signal is not locked.

The Predicted Pseudorange = reference pseudorange plus (the reference doppler x time difference between the reference log and the differential log). The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

19

0.0005 m

Phaserange – Predicted Phaserange

±3.2767

(2’s Complement)
If this value equals –(216-1) = -32768, it indicates the signal is not locked.

The Predicted Phaserange = reference phaserange plus (the reference doppler x time difference between the reference log and the differential log). The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

16

0.0001 m

Doppler – Reference Doppler

±13.1071

(2’s Complement)
If this value equals –(214-1) = -8192, it indicates an invalid Doppler.

The Reference Doppler is the Doppler for that PRN and for that signal from the Reference log. The Reference log and Differential logs used must contain matching Ref Data Block ID references (Table: Measurement Block Header).

14

0.0001 m/s

Bit Sum:

74

This block is sent once for each bit set to 1 after the first bit set to 1 in the Included Signals field found in Table: Satellite and Signal Block.

This table is for Differential blocks only, as indicated by the Data Format Flag (see Table: Measurement Block Header).

Signal Bit Mask
  GPS GLONASS SBAS Galileo BeiDou QZSS

NavIC

Bit 1

L1CA

L1CA

L1CA

E1

B1I

L1CA

L5SPS

Bit 2

   

L5I

E5A

B1GEO

 

 

Bit 3

 

L2CA

 

E5B

B2I

L2C

 

Bit 4

L2Y

L2P

 

ALTBOC

B2GEO

L5Q

 

Bit 5

L2C

   

E6C

B3I

 

 

Bit 6

L2P

L3

   

B3GEO

 

 

Bit 7

L5Q

     

B1CP

 

 

Bit 8

         

L1C

 

Bit 9

       

B2AP

 

 

Bit 10

         

 

 

Bit 11

       

B2bI

L6P

 

Bit 12

     

E6B

   

 

Bit 13

           

 

Bit 14

           

 

Bit 15

L1C

         

 

Lock Time

Indicator
(i)

Minimum Lock Time
(ms)

Range of Indicated Lock Times
(t represents the Lock Time)
(ms)

0

0

0 ≤ t < 16

1

16

16 ≤ t < 32

2

32

32 ≤ t < 64

3

64

64 ≤ t < 128

4

128

128 ≤ t < 256

5

256

256 ≤ t < 512

6

512

512 ≤ t < 1024

7

1024

1024 ≤ t < 2048

8

2048

2048 ≤ t < 4096

9

4096

4096 ≤ t < 8192

10

8192

8192 ≤ t < 16384

11

16384

16384 ≤ t < 32768

12

32768

32768 ≤ t < 65536

13

65536

65536 ≤ t < 131072

14

131072

131072 ≤ t < 262144

15

262144

262144 ≤ t

ADR Std Dev

ADR Std Dev (cycles)

0

≤ 0.0039

1

≤ 0.0052

2

≤ 0.0070

3

≤ 0.0093

4

≤ 0.0124

5

≤ 0.0165

6

≤ 0.0221

7

≤ 0.0295

8

≤ 0.0393

9

≤ 0.0525

10

≤ 0.0701

11

≤ 0.0935

12

≤ 0.1248

13

≤ 0.1666

14

≤ 0.2223

15

> 0.2223

Pseudorange Std Dev

Pseudorange Std Dev (m)

0

≤ 0.020

1

≤ 0.030

2

≤ 0.045

3

≤ 0.066

4

≤ 0.099

5

≤ 0.148

6

≤ 0.220

7

≤ 0.329

8

≤ 0.491

9

≤ 0.732

10

≤ 1.092

11

≤ 1.629

12

≤ 2.430

13

≤ 3.625

14

≤ 5.409

15

> 5.409