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. The RANGECMP4 log should not be logged with an offset. The RANGECMP4 implementation is dependent on getting measurements at the even second. The allowable triggers are the same as other measurement logs such as RANGE, RANGECMP and RANGECMP2.

  4. 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,USB1,0,54.0,FINESTEERING,2209,512549.000,02000020,fb0e,16809;1843,e

70012090a5300000000b280e3bcf3c77be740d2fb1aa652a93f153ffce7b40f22ddbdcc060018dc

fe090078834fb2f11b379bb20b008429d3dfbe17915a80ca1b80ff1ffd9ee45e02a02700fd3ffcb

6b712ef93b55da3b7fffc4a12eedb8f09a0c0ece1df0228716fe6370208717f0b20dfbd08d60abc

a5fe1b0298746f1317599ab27898fe574c724cb71f224d01f066bf0310e3de085605fc5cfd0f00c

4bbaf19ebf6fc563064803636d24bdccf6887808923c0fecf785f337202025080fbbf077ec41613

...

f0c0164bc97e1ded4165bc259007451d5d7dccb74b201d9006033e8745f345cffef00019fbf047e

84342030ef010e82b4f710577970a10a5809201a3ec40d2bea90aaedff6be9967ffb3e626603604

700b440107c9235f88f9c019c00edf00114436060ec9f03e4bf87b8d1805701c00a00d8ef43709f

8488d890052031027801000000000000008d8087b9f657632597403427023097a17f38fbab2f165

09ffd030031ee67e67ce09cfe9f09f4b52782e4ff721bc0f90f*4fb4c740

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

Log header

RANGECMP4 header

For information about 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