Rename src/sink_voltage_bound to _intercept

These variables define the voltage at zero current, which is the y axis
intercept of the droop curve (voltage vs. current).
As they do not always specifiy minimum or maximum boundary depending on
the sign of the droop resistance, intercept is a more suitable name.
This commit is contained in:
Martin Jäger
2020-11-05 20:42:00 +01:00
parent 7cd89bc04a
commit 0756341b29
7 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ int Dcdc::perturb_observe_controller()
"out: %.2fV (target %.2fV) %.2fA (limit %.2fA), "
"PWM: %.1f, chg_state: %d, pwr_inc: %d, buck/boost: %d\n",
out->power, power_prev, in->bus->voltage, in->current, in->neg_current_limit,
out->bus->voltage, out->bus->sink_voltage_bound, out->current, out->pos_current_limit,
out->bus->voltage, out->bus->sink_voltage_intercept, out->current, out->pos_current_limit,
half_bridge_get_duty_cycle() * 100.0, state, pwr_inc_goal, pwr_inc_pwm_direction);
#endif