Skip to content

rocketproplab/phoenix-gs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phoenix-gs

Phoenix ground station with Arduino
Works with the launch box to send valve control signals with protected logic

Ground station finite state machine

  • One of the following mode will be ran during each void loop() call

Binary encoding of the buttons/switches

Launch sequence encoding

PRE_ARM = 0b0000000; // Safe: all valves closed
ABORT     = 0b0010101; // Abort: open all vent valves
ARMED    = 0b1100000; // Armed: ready to launch, waiting trigger
LAUNCH  = 0b1101010; // Launch: ignition/flight started

Individual valve masks

lng_pressure_mask = 0b1000000;
lox_pressure_mask = 0b0100000;
gn2_vent_mask = 0b0010000;
lng_flow_mask = 0b0001000;
lng_vent_mask = 0b0000100;
lox_flow_mask = 0b0000010;
lox_vent_mask = 0b0000001;

null_mask = 0b0000000;

Launch Mode (Risk: Low)

Launch sequence has four stages \

PRE-ARM (0000000)

  • default state, nothing happens
  • all valves closed

ARMED (1100000)

  • lng_pressure open
  • lox_pressure open

ABORT (0010101)

  • open vent valves for all
  • emergency break, abort the mission
  • gn2_vent open
  • lng_vent open
  • lox_vent open

LAUNCH:(1101010)

  • after arm flow valve is opend
  • open the flow valevs for both fuels
  • lng_pressure open
  • lox_pressure open
  • lng_flow open
  • lox_flow open
  • rocket launching, no way back

Buttons/Swithces

  • Abort (button): has highest priority, open vent valves for all
  • Arm (switch): open/close arm flow valve
  • Launch (button): open fuel 1&2 flow valves
  • NOTE: The diagram is not up to date (only 6 digits) because we added a new switch. But the flow logic is correct.

My Image

Launch Control - Fueling Mode (Risk: Medium)

  • In fueling mode, all flow valves are locked in OFF mode
  • all vent valves can be controlled by individual switch
  • NOTE: GN2 Flow is now split into: LNG Pressure and LOX Pressure

My Image

Launch Control - Dev Mode (Risk: High)

  • This mode is intended for testing valve openings before fueling
  • All valves are free to be switched on and off
  • Be very sure of what you are doing when using this mode
  • NOTE: GN2 Flow is now split into: LNG Pressure and LOX Pressure

My Image

Fuel and valve diagram

drawing

Draw.io Link

Launch Terminal Physical Specifications

Ethernet

W5500 Ethernet LAN Network Module

Resource

About

phoenix ground station with Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •