|
rusEFI
The most advanced open source ECU
|
#include <boost_control.h>


Public Member Functions | |
| void | init (IPwm *const pmw, const ValueProvider3D *const openLoopMap, const ValueProvider3D *const closedLoopTargetMap, const ValueProvider2D &cltMultiplierProvider, const ValueProvider2D &iatMultiplierProvider, const ValueProvider2D &cltAdderProvider, const ValueProvider2D &iatAdderProvider, pid_s *const pidParams) |
| void | onFastCallback () override |
| void | setDefaultConfiguration () override |
| void | resetLua () |
| void | onConfigurationChange (engine_configuration_s const *previousConfig) override |
| expected< float > | observePlant () override |
| expected< float > | getSetpoint () override |
| expected< percent_t > | getOpenLoop (float target) override |
| expected< percent_t > | getClosedLoop (float target, float manifoldPressure) override |
| void | setOutput (expected< percent_t > outputValue) override |
Public Member Functions inherited from EngineModule | |
| virtual void | initNoConfiguration () |
| virtual void | onSlowCallback () |
| virtual void | onEngineStop () |
| virtual void | onIgnitionStateChanged (bool) |
| virtual bool | needsDelayedShutoff () |
| virtual void | onEnginePhase (float, efitick_t, angle_t, angle_t) |
Public Member Functions inherited from ClosedLoopController< float, percent_t > | |
| void | update () |
Private Member Functions | |
| percent_t | getClosedLoopImpl (float target, float manifoldPressure) |
| float | getBoostControlDutyCycleWithTemperatureCorrections (const float rpm, const float driverIntent) const |
| std::optional< float > | getBoostControlTargetTemperatureAdder () const |
| std::optional< float > | getBoostTemperatureCorrection (const SensorType sensorType, const ValueProvider2D &correctionCurve) const |
Private Attributes | |
| Pid | m_pid |
| const ValueProvider3D * | m_openLoopMap = nullptr |
| const ValueProvider3D * | m_closedLoopTargetMap = nullptr |
| const ValueProvider2D * | m_cltBoostCorrMap = nullptr |
| const ValueProvider2D * | m_iatBoostCorrMap = nullptr |
| const ValueProvider2D * | m_cltBoostAdderMap = nullptr |
| const ValueProvider2D * | m_iatBoostAdderMap = nullptr |
| IPwm * | m_pwm = nullptr |
Definition at line 17 of file boost_control.h.
|
private |
Definition at line 196 of file boost_control.cpp.
Referenced by getOpenLoop().


|
private |
Definition at line 212 of file boost_control.cpp.
Referenced by getSetpoint().


|
private |
Definition at line 225 of file boost_control.cpp.
Referenced by getBoostControlDutyCycleWithTemperatureCorrections(), and getBoostControlTargetTemperatureAdder().


|
overridevirtual |
Implements ClosedLoopController< float, percent_t >.
Definition at line 240 of file boost_control.cpp.

Definition at line 166 of file boost_control.cpp.
Referenced by getClosedLoop().


Implements ClosedLoopController< float, percent_t >.
Definition at line 123 of file boost_control.cpp.

|
overridevirtual |
Implements ClosedLoopController< float, percent_t >.
Definition at line 79 of file boost_control.cpp.

| void BoostController::init | ( | IPwm *const | pmw, |
| const ValueProvider3D *const | openLoopMap, | ||
| const ValueProvider3D *const | closedLoopTargetMap, | ||
| const ValueProvider2D & | cltMultiplierProvider, | ||
| const ValueProvider2D & | iatMultiplierProvider, | ||
| const ValueProvider2D & | cltAdderProvider, | ||
| const ValueProvider2D & | iatAdderProvider, | ||
| pid_s *const | pidParams | ||
| ) |
Definition at line 29 of file boost_control.cpp.
Referenced by initBoostCtrl().


|
overridevirtual |
Implements ClosedLoopController< float, percent_t >.
Definition at line 69 of file boost_control.cpp.

|
overridevirtual |
Reimplemented from EngineModule.
Definition at line 59 of file boost_control.cpp.

|
overridevirtual |
Reimplemented from EngineModule.
Definition at line 276 of file boost_control.cpp.

| void BoostController::resetLua | ( | ) |
Definition at line 53 of file boost_control.cpp.
Referenced by init().

|
overridevirtual |
Reimplemented from EngineModule.
Definition at line 390 of file boost_control.cpp.
|
overridevirtual |
Implements ClosedLoopController< float, percent_t >.
Definition at line 254 of file boost_control.cpp.
Referenced by onFastCallback().


|
private |
Definition at line 60 of file boost_control.h.
Referenced by getSetpoint(), and init().
|
private |
Definition at line 63 of file boost_control.h.
Referenced by getBoostControlTargetTemperatureAdder(), and init().
|
private |
Definition at line 61 of file boost_control.h.
Referenced by getBoostControlDutyCycleWithTemperatureCorrections(), getOpenLoop(), and init().
|
private |
Definition at line 64 of file boost_control.h.
Referenced by getBoostControlTargetTemperatureAdder(), and init().
|
private |
Definition at line 62 of file boost_control.h.
Referenced by getBoostControlDutyCycleWithTemperatureCorrections(), getOpenLoop(), and init().
|
private |
Definition at line 59 of file boost_control.h.
Referenced by getBoostControlDutyCycleWithTemperatureCorrections(), getOpenLoop(), and init().
|
private |
Definition at line 57 of file boost_control.h.
Referenced by getClosedLoop(), getClosedLoopImpl(), init(), onConfigurationChange(), and onFastCallback().
|
private |
Definition at line 65 of file boost_control.h.
Referenced by init(), and setOutput().