GUI: I limit field is the environment input-current limit, no hardcoded 20A
The 20A PSU ceiling was hardcoded and clamped user entries, which breaks benches with a different supply. Now the sweep I limit field IS the max input current allowed for the test environment: used verbatim as the supply CC limit and as the step-rejection / measured-backstop ceiling. Manual supply-current clamp removed; manual CC/CP load gate now checks against the I limit field value. PSU_MAX_CURRENT_A is reduced to INPUT_LIMIT_DEFAULT_A (initial field value only). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -97,14 +97,15 @@ The GUI provides:
|
||||
launch auto-starts a log at `logs/data_<timestamp>.csv` (relative to the
|
||||
working directory); use Stop Log / Start Log to switch to a custom path
|
||||
- Console log panel (STM32 fault flags are reported here as they latch)
|
||||
- PSU capability guard: the HV supply can source at most 20 A
|
||||
(`PSU_MAX_CURRENT_A` in `gui.py`). Sweep steps whose estimated input draw
|
||||
`I_in = P_out / (0.90 * V_in)` exceeds that are rejected (skipped and
|
||||
- Input-current guard: the sweep "I limit" field is the maximum input
|
||||
current allowed for the test environment (set it to whatever the PSU on
|
||||
the bench can source; defaults to 20 A, no hardcoded ceiling). It is
|
||||
programmed as the supply CC limit, and sweep steps whose estimated input
|
||||
draw `I_in = P_out / (0.90 * V_in)` exceeds it are rejected (skipped and
|
||||
reported per voltage), regardless of the requested step range; a measured
|
||||
backstop additionally drops any point where the supply actually exceeded
|
||||
the limit and backs the load off. The programmed supply current limit
|
||||
(sweep "I limit" field and manual supply controls) is clamped to 20 A, and
|
||||
manual CC/CP load setpoints are checked against live Vin/Vout readings.
|
||||
the limit and backs the load off. Manual CC/CP load setpoints are checked
|
||||
against the same limit using live Vin/Vout readings.
|
||||
- Load range pinning: a mid-sweep auto-range transition on the Prodigit
|
||||
momentarily unloads the converter, so at sweep start the CC range is
|
||||
pinned to Range II for the whole run (auto-ranging restored after, with
|
||||
|
||||
Reference in New Issue
Block a user