Okay, this is an interesting question because BeiDou (BDS) navigation messages, like GPS, have a primary structure of subframes numbered 1 through 5. "Subframe 0, 6, and 7" are not standard designations for top-level subframes.
Let's break down what these likely refer to:
- "Subframe 0": This most likely refers to the Preamble and the initial part of Word 1 of any subframe, or perhaps a misunderstanding of how the data is framed. Every subframe starts with a preamble for synchronization.
- "Subframe 6 and 7": This almost certainly refers to Pages 6 and 7 within Subframe 4 or Subframe 5 of the BeiDou D1 (B1I signal, for GEO/IGSO) or D2 (B1I signal, for MEO) navigation message. Subframes 4 and 5 are used to transmit almanac data, ionospheric parameters, UTC parameters, and health information, which are divided into multiple "pages."
Let's assume you're referring to the BeiDou B1I signal as it's the most common open service. The structure for D1 (GEO/IGSO) and D2 (MEO) messages are similar for these pages but can have slight differences. We'll focus on the common aspects.
A BeiDou B1I navigation message basic frame is 30 seconds long and consists of 5 subframes, each 6 seconds long. Each subframe contains 10 words, each 30 bits long (total 300 bits per subframe).
Understanding "Subframe 0" (Preamble & Start of Subframe)
There isn't a "Subframe 0." However, every subframe begins with a preamble and then essential framing information. Let's look at the start of any subframe (e.g., Subframe 1) for the B1I D1 signal:
Word 1 (30 bits) of any Subframe:
- Bits 1-8: Preamble (PR)
- Value:
11101011 (binary) or EB (hex).
- Purpose: Used by the receiver to detect the start of a subframe and achieve synchronization.
- Bits 9-14: Navigation Message Type Identifier (NMTI) / Frame ID (FID) for D2 / Page Number Indicator (PNI) for D1 SF4 & SF5
- This field's meaning depends on the satellite type (D1 vs D2) and subframe number.
- For D1 Subframes 1, 2, 3: These bits encode the satellite PRN (bits 9-14).
- For D1 Subframes 4, 5: Bits 9-14 contain the Page Number (1 to 63).
- For D2 Subframes 1, 2, 3: Bits 9-11 are Frame ID (SOW count / 30), Bits 12-14 are Subframe ID (1-5).
- For D2 Subframes 4, 5: Bits 9-14 contain the Page Number.
- Bits 15-20: Satellite PRN (for D1 SF1-3) / SOW (for D2) / Page Number (for D1/D2 SF4&5)
- This is part of the Handover Word (HOW) or page identification.
- Bits 21-30: Time of Week (TOW) / Alert / Parity
- The remaining bits of Word 1 contribute to the TOW (Time of Week), alert flags, and parity bits.
Specifically for Word 1 of Subframe 1 (D1 message - GEO/IGSO):
- Bits 1-8: Preamble (
11101011b)
- Bits 9-14: Satellite ID (PRN of the transmitting satellite, 1-63)
- Bits 15-17: Reserved
- Bits 18-19: Alert flag (A S ): 1 bit (0 = normal, 1 = alert)
- Bits 20-24: Parity bits (D25*-D29*) - these are complex BCH parity bits for the previous subframe's data.
- Bits 25-30: Parity bits (D30, D25*-D29*) - D30 is the last parity bit.
The receiver processes these bits first to lock onto the data stream and identify which subframe and page (if applicable) it is receiving.
Understanding "Subframe 6 and 7" (Likely Pages 6 & 7 of Subframe 4 or 5)
Subframes 4 and 5 are used for transmitting almanac data, ionospheric correction parameters, UTC parameters, and other system messages. These are organized into pages. It's highly probable that "subframe 6 and 7" refers to Page 6 and Page 7 typically found within Subframe 4.
General Structure of Subframe 4/5 (B1I D1/D2):
Each word is 30 bits. Words 1 and 2 are structured similarly across pages, while Words 3-10 contain the specific page data.
-
Word 1 (30 bits):
- Bits 1-8: Preamble (e.g., D1:
11101011b)
- Bits 9-14: Page Number (PN) for SF4/SF5 (1-63 for D1; 1-24 for D2 SF4, 1-10 for D2 SF5)
- Bits 15-22: Reserved
- Bits 23-24: Reserved
- Bits 25-30: Parity (BCH encoded over the previous subframe's data bits, similar to other subframes)
-
Word 2 (30 bits):
- Bits 1-8: Satellite ID (PRN of the transmitting satellite, 1-63)
- Bits 9-22: Week Number (WN) – BeiDou Time (BDT) week number
- Bits 23-24: SV Health (2 bits: 00=healthy, others=unhealthy/reserved)
- Bits 25-30: Parity
Content of Page 6 and Page 7 (typically within Subframe 4):
These pages primarily transmit Almanac data for other satellites in the constellation. An almanac is a reduced-precision set of ephemeris parameters that allows the receiver to estimate the position of all satellites in the constellation.
Page 6 (Almanac Data):
This page usually contains almanac data for 4 satellites. For B1I D1, it's often SVs 21-24. For B1I D2, it can be MEOs 9-12 or other ranges.
- Words 3-10: Contain the almanac parameters for these 4 satellites. Each satellite's almanac data takes up approximately 2 words (60 bits).
Page 7 (Almanac Data):
This page also usually contains almanac data for 4 satellites. For B1I D1, it's often SVs 25-28. For B1I D2, MEOs 13-16 or other ranges.
- Words 3-10: Contain the almanac parameters for these 4 satellites.
Detailed Bit Allocation for ONE Satellite's Almanac Data (approx. 60 bits, spread across 2 words within the page):
The exact bit allocation can be found in the BeiDou ICD. Here's a typical representation (values and LSBs are illustrative and must be confirmed with the specific ICD version, e.g., B1I D1 ICD v3.0):
| Parameter | Typical Bits | LSB (Scale Factor) | Unit | Description |
|---|
| Sat ID (PRN) | 6 | 1 | N/A | Satellite ID for which this almanac applies |
| Eccentricity (e) | 17 | 2⁻²¹ | Dimensionless | Eccentricity of the orbit |
| toa | 8 | 4096 (2¹²) | seconds | Almanac reference time |
| δi | 16 | 2⁻¹⁹ | semi-circles | Correction to inclination (i0 = 0.3π or 0.96 semi-circles for MEO/IGSO) |
| Ω̇ (OMEGADOT) | 16 | 2⁻³⁸ | semi-circles/s | Rate of Right Ascension |
| √A (sqrt(A)) | 24 | 2⁻¹¹ | m½ | Square root of semi-major axis |
| Ω0 (OMEGA0) | 24 | 2⁻²³ | semi-circles | Longitude of Ascending Node at weekly epoch |
| ω (omega) | 24 | 2⁻²³ | semi-circles | Argument of Perigee |
| M0 | 24 | 2⁻²³ | semi-circles | Mean Anomaly at reference time |
| af0 | 11 | 2⁻²⁰ | seconds | Clock correction polynomial coefficient |
How it's packed in Pages 6 & 7:
- Page 6, Word 3: Starts almanac for SV_A
- Page 6, Word 4: Continues/ends almanac for SV_A, may start SV_B
- Page 6, Word 5: Almanac for SV_B
- Page 6, Word 6: Continues/ends almanac for SV_B, may start SV_C
- Page 6, Word 7: Almanac for SV_C
- Page 6, Word 8: Continues/ends almanac for SV_C, may start SV_D
- Page 6, Word 9: Almanac for SV_D
- Page 6, Word 10: Continues/ends almanac for SV_D, Parity bits for the current page data.
Page 7 would follow a similar structure for the next set of 4 satellites.
The last 6 bits of Word 10 in any subframe (including these pages) are Parity bits (D25-D30) calculated over bits 1-24 of Word 1 and all 24 data bits (1-24) of Words 2 through 10 of the current subframe. These are different from the parity bits in Word 1 which are for the previous subframe.
Important Considerations:
- ICD is Key: The precise bit definitions, scaling factors, ranges, and page assignments are defined in the official BeiDou Interface Control Documents (ICDs). There are different ICDs for B1I, B2a, B3I, etc., and versions of these ICDs.
- D1 vs. D2: While the general concept of paged almanac data is similar for D1 (GEO/IGSO B1I) and D2 (MEO B1I) messages, the exact satellite PRNs covered in specific pages might differ, and page numbering might vary. For instance, D2 messages have fewer total pages for almanac.
- Data Packing: The bits for each almanac parameter are packed sequentially. A receiver needs to parse these bits according to the ICD specification.
In summary:
- "Subframe 0" is not a standard term; it likely refers to the preamble and initial framing data common to all subframes.
- "Subframe 6 and 7" very likely refer to Page 6 and Page 7, which are typically part of Subframe 4 (or sometimes Subframe 5) and carry almanac data for specific sets of satellites in the BeiDou constellation.
To get the absolute, definitive bit-by-bit explanation, you would need to consult the specific BeiDou Signal In Space ICD relevant to the signal your GNSS receiver is processing (e.g., "BeiDou Navigation Satellite System Signal In Space Interface Control Document Open Service Signal B1I (Version 3.0)").