Skip to content
Projekte

brunnojob/pid-pressure-control

Auf GitHub ansehen

Über uns

C++ pressure regulation lab with calibrated sensing, PID tuning and fault handling.

Wissenschaft und Technik

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+3
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Pressure Control

Interactive pressure lab — Português / English

The GitHub Pages lab reproduces the PID calculation in JavaScript with an illustrative first-order plant. Tune gains, inject load disturbances or sensor faults, and export the chart data as CSV. All interface text, explanations, statuses and exports follow the selected PT-BR or English language. Public repository metadata is fetched from the GitHub API without authentication. The demo does not run the native C++ binary or control real hardware.

View execution evidence

A PID controller with interlocks and first-order model identification from process measurements.

Run

Requirements: C++20 and CMake.

cmake -S . -B build
cmake --build build
ctest --test-dir build --output-on-failure
build/identify_process processo.csv 0.1 > result.json

Behavior

Identification estimates the pole, gain, time constant, offset, and residual error. Input contains input,output samples plus a sampling interval in seconds. Insufficient data and unstable models are rejected. Use on physical equipment requires validation and equipment-specific tuning.

Optional report archive

Use the native C operations archive client to queue result.json under project pid-pressure-control. The client uses BRUNNODEV_ACCESS_TOKEN and retains unacknowledged reports locally.

License

Original source and documentation are MIT licensed; see LICENSE. Third-party dependencies and media retain their respective terms. Maintained by Brunno Dev.

Implementation update

Calibration and setpoint values must be finite, with the setpoint inside the engineering range. Stale samples retain the fault until explicit reset. Native regression checks are in tests/runtime_regressions.cpp.

Contribution trailer: Co-authored-by: nyctophile <[email protected]>.

Execution proof

Executable proof

Recorded program execution

Verified run · Execution report

Run python .proof/record.py after installing the prerequisites above. The scenarios execute repository code and verify exit codes and expected output. CI publishes execution-proof with the transcript, input fingerprints and source commit. The downloadable report identifies the exact tested version; the workflow badge tracks the latest run.

Ähnliche Projekte entdecken

Wird geladen…