Skip to the content
2 layers35 × 60 mmC3 ROK, the printed circuit board in 3D

COMET rocket avionics hardware project archive.

Size
35 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
39
Nets
31
Pads
116
Tracks, vias
242, 22
Pours
138
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
25 Jun 2026
Updated
11 Sep 2026

Overview

C3 ROK is an open-source printed circuit board by caconee22, from the caconee22/COMET_Avionics repository on GitHub. It is a 2-layer board of 35 × 60 mm with 39 parts on 31 nets, routed with 242 tracks and 22 vias.

It is built around the AMS1117-3.3, L7805 and 5267-02A, with the 5267-04A and IRLML2402TRPBF among its other parts. Its parts include 13 resistors, 7 capacitors, 6 ICs, 4 connectors and 1 diode. It belongs with the ESP32 and RISC-V boards of this library.

Main components

5

README

README.md

COMET_Avionics

COMET rocket avionics hardware project archive.

This repository replaces the previous COMET_ROK_2 repository with the full COMET avionics workspace layout.

Structure

  • ROK2025/: ROK2-era module board and reference files.
  • ROK2026/: Current ROK2026 KiCad projects, shared libraries, and revisions.
  • ROK2026/ROK_3/: ROK3 small-form-factor and SMD-chip test board.
  • ROK2026/ROK_4/: ROK4 power-design research test board.
  • ROK2026/Away_1/: Current active avionics candidate version under development.

Project History

  • ROK2025/COMET_ROK_2: First ROK2 circuit and module board. It was not used because of software development staffing issues.
  • ROK2026/ROK_3: Miniaturized ROK3 version with SMD chips. It was not used because of power-section issues, but it may still be recoverable and remains a test version.
  • ROK2026/ROK_4: A further test version focused on power-section design. It is a research version for a small buck-converter power design.
  • ROK2026/Away_1: The avionics version candidate intended for actual use. It is currently under development.

Avionics Design Intent

This design intent applies to the whole COMET avionics board family.

설계 목적

COMET_Avionics의 목적은 단순한 데이터 로거가 아니라, 로켓 비행 중 필요한 항공전자 기능을 안정적으로 수행하는 것이다.

가장 중요한 기능은 최고점 판단, 지연 사출 판단, 그리고 실제 사출 작동이다. 로그 저장, 통신, GPS 전송, LED, 부저, 콘솔 출력은 모두 보조 기능이며, 이 기능들이 사출 판단과 작동을 막아서는 안 된다.

우선순위 규약

  1. 사출 판단과 사출 작동을 최우선으로 둔다.
  2. SD카드 기록, LoRa, MQTT, Wi-Fi/LTE, GPS 텔레메트리, LED, 부저, 콘솔은 사출 경로를 블로킹하지 않아야 한다.
  3. 센서 감시는 100Hz 이상을 기본 목표로 한다.
  4. 저장과 통신은 큐나 별도 작업으로 분리해 지연이 생겨도 비행 판단에 영향을 주지 않게 한다.
  5. 실제 비행 적용 전에는 회로, 펌웨어, 전원부, 사출부를 별도로 검증해야 한다.

센서와 비행 판단

기본 설계 방향은 압력 센서, IMU, 배터리 전압, 사출 감지, GPS 최신값을 함께 다루는 것이다.

Away_1의 메인 IMU는 STMicroelectronics LSM6DSO32XTR를 채택한다. 이 센서는 3축 가속도, 3축 자이로, 온도 센서를 포함하며, 가속도는 최대 ±32g, 자이로는 최대 ±2000dps 범위를 기준으로 사용할 수 있다.

비행 중에는 발사 감지, 최고점 판단, 지연 사출, 착지 판단, 회수 모드 진입을 이벤트로 남긴다. 고도, 필터링된 속도, 가속도 크기, 발사/최고점 판단 점수, GPS 속도와 방향처럼 후처리가 가능한 값은 가능한 한 뷰어나 분석 도구에서 계산한다.

어포지 판단 예비 기준

어포지 판단은 센서 하나만으로 결정하지 않고, 기압 고도, IMU 상태, 시간 조건을 함께 보는 상태머신으로 구성한다. 초기 로켓은 발사 실패, 중간 고도 이후 뒤집힘, 상하 반전, 과격한 회전, 불안정 비행이 생길 수 있으므로 정상 비행만 가정하지 않는다.

기본 상태 흐름은 다음을 기준으로 한다.

  1. PAD: 발사 전 대기 상태.
  2. LAUNCHED: 발사 감지 후 상승 시작 상태.
  3. COAST_NORMAL: 정상 상승/관성 비행으로 판단되는 상태.
  4. UNSTABLE_FLIGHT: 뒤집힘, 과격한 회전, 고도 상승 이상 등 비정상 비행 상태.
  5. APOGEE_DETECTED: 어포지 또는 하강 시작이 확인된 상태.
  6. FAILSAFE_DEPLOY: 센서 이상이나 비정상 비행으로 백업 사출이 필요한 상태.
  7. RECOVERY: 사출 이후 회수 상태.

정상 어포지 판단은 다음 조건을 함께 본다.

  • 발사 감지가 완료되어 있을 것.
  • 발사 후 최소 사출 금지 시간이 지났을 것.
  • 필터링된 기압 고도 기준 최고 고도를 추적할 것.
  • 현재 고도가 최고 고도보다 일정량 이상 낮아질 것.
  • 필터링된 수직 속도가 음수 방향일 것.
  • 위 조건이 짧은 시간 동안 지속될 것.

초기 기준값은 다음 범위에서 시험하며 조정한다.

  • 최소 사출 금지 시간: 발사 후 1~2초.
  • 고도 하락 판단: 최고 고도 대비 2~5m 하락.
  • 하강 지속 시간: 200~500ms.
  • 백업 사출 시간: 예상 어포지 이후를 기준으로 별도 시험값 설정.

비정상 비행 판단은 다음 상황을 감지하는 방향으로 둔다.

  • 자이로 회전율이 일정 시간 이상 매우 큰 상태.
  • 가속도 방향이 계속 급격하게 바뀌는 상태.
  • 발사 후 고도 상승이 거의 없거나 예상보다 빨리 멈추는 상태.
  • 고도 상승 후 불규칙한 정체와 하락이 반복되는 상태.
  • IMU 축 기준 위아래 판단이 신뢰하기 어려운 상태.

비정상 비행 상태에서는 IMU 적분 고도나 자세 기준 판단에 의존하지 않는다. 기압 고도 변화, 시간 조건, 회전 이상 감지를 우선 사용하고, 필요하면 정상 어포지보다 보수적인 백업 사출 조건으로 전환한다.

개념적인 판단식은 다음과 같다.

text
if launched and time_since_launch > min_deploy_time:
    if altitude_peak - altitude_filtered > altitude_drop_threshold
       and vertical_velocity_filtered < 0
       and falling_duration > falling_hold_time:
        apogee_detected = true

    if unstable_flight and altitude_not_increasing:
        failsafe_deploy = true

    if time_since_launch > max_flight_time:
        failsafe_deploy = true

이 기준은 비행 검증 완료값이 아니라 초기 개발용 예비 기준이다. 실제 임계값은 기체 질량, 모터 추력 곡선, 벤트홀 설계, 지상 시험, 저고도 시험 결과를 보고 조정한다.

로그 규약

로그는 텍스트보다 바이너리 형식을 우선한다.

  • LOG: 고정 길이 센서 샘플
  • EVENT: 발사, 최고점, 사출, 착지, 전압 변화, SD 오류, 파일 회전, 통신 상태, GPS fix/loss, 회수 모드 진입 같은 이벤트 기록

LOG에는 시간 코드, 시퀀스 번호, 상태 플래그, 압력, 온도, IMU 가속도/자이로, 최신 GPS 위도/경도/고도, GPS 플래그, 배터리 전압, 사출 센서 상태 같은 raw/minimal 값을 저장하는 방향으로 둔다.

로그 동작 흐름

패드 대기 또는 armed 상태에서는 최근 약 3초 분량의 100Hz RAM prebuffer를 유지한다. 평상시 저장은 10Hz 정도로 제한할 수 있다.

발사가 감지되면 발사 직전 prebuffer와 발사 이후 데이터를 100Hz로 저장한다. 최고점/사출 이후 하강 구간은 짧은 시간 단위 파일로 분리하는 방향을 둔다.

착지가 10초 이상 안정적으로 확인되면 고속 로그를 닫고, 회수/저전력 모드로 전환한다. 이 상태에서는 1Hz 수준으로 로그를 줄이고 GPS 위치를 LoRa와 MQTT로 전송하는 것을 목표로 한다.

통신과 회수

LoRa 433MHz는 지상국과 회수용 통신을 위한 기본 방향으로 둔다. MQTT는 온보드 Wi-Fi/LTE 라우터를 통한 원격 모니터링 또는 회수 보조 용도로 사용할 수 있다.

통신 실패는 비행 판단 실패로 이어지면 안 된다. 통신은 가능한 경우 보내고, 안 되는 경우에는 로그와 사출 판단이 계속 살아 있어야 한다.

검증 기준

이 문서는 COMET_Avionics 전체 보드에 적용되는 설계 의도와 개발 규약이다. 각 보드는 실제 비행 적용 전 회로, 펌웨어, 전원부, 사출부를 별도로 검증해야 하며, README에 적힌 내용만으로 비행 검증 완료를 의미하지 않는다.

Temporary extraction/work folders such as tmp/ and tmp_pdf_kmg/ are not tracked.

Parts

39
QtyValueFootprintReferences
100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3, R4, R5, R6, R9, R10, R11, R12, R13
40.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3, C6
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
1100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7
110kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
110uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC4
110uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC5
122uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC7
147kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
15267-02AConnector_Molex:Molex_SPOX_5267-02A_1x02_P2.50mm_VerticalJ2
15267-04AConnector_Molex:Molex_SPOX_5267-04A_1x04_P2.50mm_VerticalJ1
15267-06AConnector_Molex:Molex_SPOX_5267-06A_1x06_P2.50mm_VerticalJ3
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Conn_01x03Connector_Molex:Molex_SPOX_5267-03A_1x03_P2.50mm_VerticalJ4
1ESP32-C3_SUPERMINI_THesp c3:MODULE_ESP32-C3_SUPERMINI_THU3
1IRLML2402TRPackage_TO_SOT_SMD:SOT-23_HandsolderingQ1
1L7805Package_TO_SOT_THT:TO-220-3_Horizontal_TabDownU1
1LED_RGBLED_SMD:LED_RGB_5050-6D1
1LOGOLOGOG***
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmSW1
1~Library:BMP280U5
1~Library:MPU6050U6
1~Library:ds3231U4

More from caconee22/COMET_Avionics

2
  • 2 layers50 × 75 mmROK 3, the printed circuit board in 3D

    ROK 3

    caconee22/COMET_Avionics

    COMET rocket avionics hardware project archive.

    62 parts
  • 2 layers50 × 75 mmROK 4, the printed circuit board in 3D

    ROK 4

    caconee22/COMET_Avionics

    COMET rocket avionics hardware project archive.

    50 parts

Similar boards

  • 2 layers145.4 × 112.6 mmGauss, the printed circuit board in 3D

    Gauss

    cr3eperall/partialgauss

    An hybrid hall-effect/mechanical split wireless keyboard

    54 parts30
  • 2 layers59.3 × 24.5 mmAnchor, the printed circuit board in 3D

    Anchor

    WaltTeb/BareTag_Tool_Tracker

    PDR draft of SDP final report

    35 parts3
  • 2 layers123.2 × 85.1 mmCabinetcontrol1, the printed circuit board in 3D

    Cabinetcontrol1

    ene9ba/IoT-3D-Printer-Control

    Control Unit with ESP 8266 to control enclosure LED, cabon filter and analyse Temperature, Fan-Spee, Flamesensor, Smokesensor

    27 parts
  • 2 layers233.6 × 177.8 mm608-olfactory assay arena vC V1.2, the printed circuit board in 3D

    608-olfactory assay arena vC V1.2

    iBehave-eLab/RGB-LED-Module-for-Olfactory-Assay-Arena

    The RGB LED Module "Model 608 revC V1.0" is specifically designed for use with the "Olfactory Assay Arena" Revision C and enables precise optogenetic control in behavioral experiments.

    765 partsMIT
  • 4 layers34 × 45 mmCryosub power converter top v03, the printed circuit board in 3D

    Cryosub power converter top v03

    uob-hep-cad/cryosub

    Design information for DUNE vertical drift readout of photon detectors over fibre ( cryo submarine )

    59 partsGPL-3.0
  • 2 layers120 × 90 mmBobbycontroller, the printed circuit board in 3D

    Bobbycontroller

    bobbycar-graz/Bobbycar-FOC-hardware

    Our own dual BLDC Motorcontroller

    328 parts23
  • 2 layers84.3 × 56.9 mmEbus, the printed circuit board in 3D

    Ebus

    piwko28/smart-home-ebus-adapter

    eBUS adapter PCB for use with ebusd-esp firmware as well as with other UART devices.

    51 parts18GPL-3.0
  • 2 layers90.9 × 38.4 mmSnaaur v1, the printed circuit board in 3D

    Snaaur v1

    duongngochoan/Self_balancing_robot_PID

    Used a PID control algorithm and MPU605 sensor to balance a two-wheeled robot.

    58 parts7

Questions

How big is the C3 ROK PCB?

It measures 35 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the C3 ROK use?

39 parts, built around the AMS1117-3.3, L7805, 5267-02A and 5267-04A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the C3 ROK KiCad files?

From the caconee22/COMET_Avionics repository on GitHub, at the commit this page was made from: the board is ROK2025/COMET_ROK_2/C3_ROK2/C3_ROK.kicad_pcb and its schematic ROK2025/COMET_ROK_2/C3_ROK2/C3_ROK.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the C3 ROK design in my own project?

Its repository states no licence, so its author keeps all rights: ask caconee22 before reusing the design.