rusEFI
The most advanced open source ECU
|
#include <efi_pid.h>
Public Member Functions | |
PidCic () | |
PidCic (pid_s *pid) | |
void | reset (void) override |
float | getOutput (float target, float input, float dTime) override |
float | getOutput (float target, float input) |
virtual float | getOutput (float target, float input, float dTime) |
![]() | |
Pid () | |
Pid (pid_s *parameters) | |
void | initPidClass (pid_s *parameters) |
bool | isSame (const pid_s *parameters) const |
float | getOutput (float target, float input) |
float | getUnclampedOutput (float target, float input, float dTime) |
void | updateFactors (float pFactor, float iFactor, float dFactor) |
float | getP () const |
float | getI () const |
float | getD () const |
float | getOffset () const |
float | getMinValue () const |
float | getIntegration (void) const |
float | getPrevError (void) const |
void | setErrorAmplification (float coef) |
void | postState (pid_status_s &pidStatus) const |
void | showPidStatus (const char *msg) const |
void | sleep () |
Private Member Functions | |
void | updateITerm (float value) override |
Private Attributes | |
float | iTermBuf [PID_AVG_BUF_SIZE] |
float | iTermInvNum |
int | totalItermCnt |
Additional Inherited Members | |
![]() | |
int | resetCounter |
float | iTermMin = -1000000.0 |
float | iTermMax = 1000000.0 |
![]() | |
float | iTerm = (float)0 |
float | dTerm = (float)0 |
float | target = (float)0 |
float | input = (float)0 |
float | output = (float)0 |
float | errorAmplificationCoef = (float)0 |
float | previousError = (float)0 |
![]() | |
pid_s * | parameters = nullptr |
A PID implementation with a modified cascaded integrator-comb (CIC) filtering. Used for incremental auto-IAC control. See autoIdle() in idle_thread.cpp See pid_cic.md.
PidCic::PidCic | ( | ) |
Definition at line 200 of file efi_pid.cpp.
|
explicit |
Definition at line 205 of file efi_pid.cpp.
This version of the method takes dTime from pid_s
Controller | input / process output |
Controller | input / process output |
Definition at line 47 of file efi_pid.cpp.
dTime | seconds probably? :) |
Reimplemented from Pid.
Definition at line 48 of file efi_pid.cpp.
dTime | seconds probably? :) |
Reimplemented from Pid.
Definition at line 219 of file efi_pid.cpp.
|
overridevirtual |
Reimplemented from Pid.
Definition at line 210 of file efi_pid.cpp.
Referenced by PidCic(), and PidCic().
|
overrideprivatevirtual |
Reimplemented from Pid.
Definition at line 223 of file efi_pid.cpp.
|
private |
Definition at line 95 of file efi_pid.h.
Referenced by reset(), and updateITerm().
|
private |
Definition at line 97 of file efi_pid.h.
Referenced by reset(), and updateITerm().
|
private |
Definition at line 99 of file efi_pid.h.
Referenced by reset(), and updateITerm().