Skip to main content

Good Practices

These good practices come from the guides already on the wiki and from lessons learned in past missions. Follow the links for the details.

General

  • Back up everything. Code and design projects go to GitHub, and documents and data to your project's NAS share. Work that only exists on your laptop is lost when you leave.
  • Keep your task updated on Kanboard.
  • Document as you go. Write it on the wiki, not only in a thesis. The next student starts from your page.
  • Ask early. Subsystem responsibles and coordinators would rather answer a question than redo a board.
  • Search before you build. C-3PO searches every NAS share and the wiki. Someone has very likely done it before (look at 3Cat-4, RITA, PoCat).

Files and documents

  • Use the lab's document naming: <MISSION>_<DOCTYPE>_<SUBJECT>_<YYYYMMDD>_v<X.Y>, e.g. 3C4_TSTP_TVAC_20210601_v1.4.docx. Add _rev<Name> for a reviewed copy.
  • Keep old versions in an Old/ folder instead of overwriting them.
  • Use the Templates for design documents and test plans and reports.

To fill: confirm the naming convention and the list of document types (PAP, TSTP, TSpec, TRPT, ARPT, DDF, SDMR…) as the official lab standard, and the folder structure every project share should follow (Repository / Internal / …).

Electronics (PCB design)

Software

  • Version everything in Git (GitHub nanosatlab), with a README that explains how to build and flash.
  • Embedded C tips, CMake and cross-compilation: Programming chapter of NanoSat Lab Guides.

Hardware handling and testing

  • ESD: handle boards on anti-static benches, wearing a strap.
  • Flight hardware stays in the clean room once subsystem verification is finished.
  • Before any test, write (or reuse) a test procedure. During the test, fill in the as-run record. Afterwards, write the report.
  • Use each machine's checklist (e.g. Vibration test checklist, How to perform a TVAC test).
  • Before storing a satellite or dev kit for more than ~2 weeks, disconnect its batteries so self-discharge does not damage them.
  • Check voltage and polarity before powering anything from a lab supply.

Lessons learned from 3Cat-4

From the 3Cat-4 Lessons Learned webinar (22 Nov 2024), NanoSat Lab common/3Cat4_Lessons_Learned_Web.pptx. Read the full deck. These are the points that apply to almost any project:

Requirements and testing

  • Separate requirements from specifications. Start from the requirements and derive the specifications. A component's rated temperature is not the test temperature; that comes from the thermal analysis.
  • Look at standards and existing solutions before reinventing the wheel.
  • Keep test specifications lightweight enough that you actually test. Always check test reports for coherence and human errors.
  • If a test can't be done with our facilities, decide whether it is really needed and find another way to verify that requirement.
  • Test solar panels like space: a realistic sun simulator, or direct sun at noon on a clear day. Don't blame the set-up for a bad result; chances are something really is wrong. (3Cat-4 was lost to bad back-contact bonding of its cells. Conductive silver epoxy fixed it in later missions.)

Software

  • Use version control properly, including for debugging. Write readable, modular code rather than "black magic", and use established libraries.
  • printf debugging can hide timing bugs.
  • For large transfers between subsystems, use a real file-transfer protocol with a CRC, retries and a retry limit.
  • Implement FDIR (fault detection, isolation and recovery): automatic recovery where possible, and operator action only where needed.
  • Give scheduler loops an exit for when their conditions are never met, and test them with anomalous events.

Hardware

  • Track every change made to each PCB/model (KiCad + Git), including components swapped after a failure, and how many times each mechanism or thermal knife has been actuated.
  • Put configurable SMD resistors on UART TX/RX so a swapped pair doesn't cost a new board, and keep pin labels consistent between subsystems.
  • Check whether a datasheet drawing is top or bottom view before making a footprint, to avoid mirrored parts.
  • Thermal knives: isolate SMD heater resistors thermally, make sure the melt line touches the heater, make deployment feedback reliable, label and colour multiple melt lines, and keep live wires away from everything else.
  • Make deployment sequences safe on the ground (jumpers that cut thermal-knife power, fail-safe modes).
  • Handle solar panels with care. Photograph the hardware before and after every manipulation.
  • Rehearse integration with mock-ups. Leave clearances, because connectors and cables take space.

Team

  • Students rotate fast. Hand work over with overlap, break long tasks into small ones, give tasks to small teams, and avoid "hero developers" that only one person understands.
  • Schedules are always optimistic, so add margin. Two years is short for a complex satellite.