Lesson 1 of 3 · Unpack a satellite clock
Unpack a satellite clock
20 minute lesson · 3 checks along the way
Your goal for this lessonJoin fields that cross byte boundaries, check the GPS-validity bit and distinguish a plausible decoded clock from a complete observation time.
In this lesson 6 sections · 3 checks
Using archive links & definitions
Follow a linked name to explore its archive card. “Back to your lesson” brings you to the same part of the reading.
Read & understand
A family of learning satellites
Maya connects Philippine university engineering with the BIRDS network and Japanese partners. The family includes several related spacecraft, rather than one design repeatedly given a new number. Maya-2 belonged to BIRDS-4. Maya-3 and Maya-4 used Maya-1 bus heritage through the STeP-UP university project, with UP Diliman and Kyutech collaborating. The pair also differed: the near-infrared camera was assigned to Maya-4. These relationships help explain how experience could travel between teams without making every payload or interface identical.
The labeled flight models in the photograph identify the particular pair studied here. We will use their published specification to investigate a packed GPS clock, then use entirely invented energy and protection exercises. The bytes below are synthetic examples, not received telemetry. Before interpreting any real packet, identify its spacecraft, packet type and applicable format revision. A familiar family name is useful historical context, but it is insufficient evidence that a decoder belongs to that packet.
The Maya-3 and Maya-4 flight models, identified by their labels in DOST-ASTI’s August 2021 account. Their shared bus heritage supported different payload configurations; a photograph alone does not establish test results.
Read & understand
Join the pieces of a clock
A byte contains eight bits, numbered seven down to zero from left to right. In an unsigned binary field, the rightmost position is worth one, the next two, then four, eight and so on. The Maya-3/4 GPS layout packs several fields across bytes B4 through B7. Its month uses B4 bits 6–3; day joins B4 bits 2–0 with B5 bits 7–6; hour uses B5 bits 5–1. Minute joins B5 bit 0 with B6 bits 7–3, and second joins B6 bits 2–0 with B7 bits 7–5.
Take the invented hexadecimal bytes B3 6F 65 40. In binary they are 10110011, 01101111, 01100101 and 01000000. Select the stated positions without reversing them. Month is 0110, or 6. Day is 011 followed by 01, making 01101, or 13. Hour is 10111, or 23. Minute is 1 followed by 01100, making 101100, or 44. Second is 101 followed by 010, making 101010, or 42. The result is month 6, day 13, at 23:44:42; these fields contain no year.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep unrelated bits out of the result
The split minute field illustrates why a whole-byte conversion fails. Its leading bit contributes either zero or 32; the following five bits contribute zero through 31. In the example, 32 + 12 gives 44. Reading B6 alone as a minute would mix minute and second bits. Similarly, treating all of B7 as seconds would include five positions belonging outside this clock field. Joining the correct pieces is a distinct operation from converting an entire byte into a decimal number.
You can check the extraction with an independent method. First copy the selected bits as a string, then add their binary place values. Separately, use masks to remove unwanted bits and shifts to move the retained portions into place. Agreement on varied examples is more informative than checking only one convenient packet. Changing any of B7’s lower five bits must leave the extracted clock unchanged. That is a useful boundary test because it deliberately changes information the clock should ignore.
Read & understand
A readable clock may still be invalid
B4 bit 7 is the GPS-validity indicator in this layout. Our B3 example has that bit set. Change only B4 to 33 hexadecimal and the bit clears, while all the decoded clock fields remain exactly the same. A plausible-looking time is therefore not enough to claim a valid GPS solution. Retain the indicator with the decoded values, and apply the documented validity rules before using those values as measurement context.
Range checks serve a different purpose. Change B5 from 6F to 7F and the hour becomes binary 11111, or 31, while the validity bit remains set. That clock cannot be accepted as an ordinary hour of the day. Neither the flag nor a range check replaces the other. Calendar checks also depend on the date context: a day number that fits in five bits is not automatically valid for its month. An implementation needs documented handling for missing or inconsistent context, not a convenient guessed date.
A clock crosses byte boundaries
Original visualization of the reviewed Maya-3/4 GPS field positions with invented bytes. Bits are kept in documented order. A set validity flag and plausible ranges do not supply the absent year or establish that this schema applies to a different spacecraft.
Open full-size diagram in a new tab: A clock crosses byte boundariesCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep observation time separate from receipt time
The clock fields do not supply a year. A ground station’s receipt timestamp tells when it received a packet; it does not by itself prove when the underlying observation occurred. For example, a stored packet could be transmitted after a year boundary. Assigning the receipt year silently could produce a precise-looking but incorrect observation timestamp. Keep the raw fields, reception record and any separately established date context available so that the interpretation can be examined.
The same restraint applies to the rest of the historical specification. A field without stated rollover behavior does not justify inventing a counter history, and an incomplete conversion boundary needs clarification. Our exercise selects a documented layout and states its limits. It does not implement a flight operations decoder. A useful student result explains which bits support the answer, which checks passed and which information is still missing.
Read & understand
Carry the method across generations carefully
The Maya-5/6 team’s 2024 presentation traces its hardware heritage through Maya-2 and BIRDS-4. It also describes a different set of experiments, including onboard image classification. That is a reason to inspect the follow-on documentation, not a reason to assume that the Maya-3/4 packet map applies unchanged. The reusable skill is careful interpretation of an applicable schema; the particular field positions remain tied to the source that defines them.
A reproducible decoding note can be short and useful: identify the spacecraft and format, preserve the original bytes, show the selected bit groups, report validity and range checks, and distinguish decoded fields from inferred context. Those steps turn a stream of digits into an inspectable claim. Next we apply the same habit to a spacecraft energy plan, where a sensible-looking average can hide an impossible sequence of operating modes.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: STAMINA4Space: Maya-3 and Maya-4Project identity, university partnership and payload differences. The page’s undated status label is not used as evidence of current operation.
- Read: STAMINA4Space: Maya-2 and BIRDS-4Maya-2 belongs to BIRDS-4. Conflicting exact release times on the page are excluded from the course.
- Read: Maya-3 and Maya-4 high-level specificationsHistorical design document, especially GPS fields on page 20 and power/protection on pages 10–12. Synthetic bytes and all classroom energy/timing values are distinguished from actual telemetry and hardware qualification.
- Read: Maya-5 and Maya-6: the Filipino J-Cube experienceSeptember 21, 2024 presentation by the second STeP-UP cohort. It supports hardware heritage, subsystem roles and the UNISEC/JAXA deployment pathway; objectives alone do not establish completed payload results.
- Read: DOST-ASTI: Maya-3 and Maya-4 university developmentAugust 2021 account identifying the preserved flight-model photo and UP Diliman/Kyutech collaboration. Its historical launch-stage wording does not establish current spacecraft health.