How boraayhan/depressurization-research-guadaloop works
This repository combines research datasets with an embedded depressurization-control testbed. Its shown control loop reads pressure and temperature, computes pressure and temperature PID commands, weights them by pressure range, and sends the combined command to a solenoid interface. PID implementation and weighting policy are separate internal layers. Sensor acquisition and solenoid actuation are still stubs; the Smith predictor is also a stub and is not called in the shown loop. Dataset files are present, but no runtime link to them is shown.
Main entry points: main.cpp Control loop · pid.cpp PID controller · constants.h Pressure weighting
Components 14
Control logic
- Control loop
Guadaloop Testbed/src/main.cpp - Pressure differential
Guadaloop Testbed/src/main.cpp - PID controller
Guadaloop Testbed/include/math/pid/pid.cpp - Pressure weighting
Guadaloop Testbed/include/constants.h - Control settings
Guadaloop Testbed/include/constants.h - Control data types
Guadaloop Testbed/include/data_structs.h - Smith predictor
Guadaloop Testbed/src/main.cpp
Hardware interfaces
- Pressure reading
Guadaloop Testbed/src/main.cpp - Temperature reading
Guadaloop Testbed/src/main.cpp - Solenoid command
Guadaloop Testbed/src/main.cpp
Research data
- Sensor logs
data/sensor_logs/sensorlog.csv - Tuning results
data/tuning/tuningResults.csv
Other components
- Testbed environment
- Solenoid valve
Connections 9
- Control loop → Pressure reading: reads
Guadaloop Testbed/src/main.cpp - Control loop → Temperature reading: reads
Guadaloop Testbed/src/main.cpp - Control loop → Pressure differential: computes
Guadaloop Testbed/src/main.cpp - Control loop → PID controller: calls
Guadaloop Testbed/src/main.cpp - Control loop → Pressure weighting: selects weights
Guadaloop Testbed/src/main.cpp - Control loop → Solenoid command: sets duty
Guadaloop Testbed/src/main.cpp - Testbed environment → Pressure reading: would supply
- Testbed environment → Temperature reading: would supply
- Solenoid command → Solenoid valve: would actuate