INOS
cinostempcontroller.h File Reference

An INOS controller class for temperature controlling. More...

Include dependency graph for cinostempcontroller.h:

Go to the source code of this file.

Classes

struct  SPidTemp
 
struct  STunePoint
 
class  CINOSTempController
 

Macros

#define DF_INOS_TEMP_CONTROLLER_NAME   "CINOSTempController"
 
#define DF_INOS_TEMP_PID_FLAG_ACTIVE   0x00000001
 
#define DF_INOS_TEMP_AWM_BACKCALCULATION   0
 
#define DF_INOS_TEMP_AWM_CLAMPING   1
 
#define DF_INOS_TEMP_AWM_SATURATION   2
 
#define DF_INOS_TEMP_AWM_NONE   3
 
#define ER_INOS_TEMP_CONTROLLER_BREAK   0x00010000
 
#define ER_INOS_TEMP_CONTROLLER_SHORT_CIRCUIT   0x00020000
 
#define ER_INOS_TEMP_CONTROLLER_ALARM   0x00040000
 
#define ER_INOS_TEMP_CONTROLLER_OUT_FAILURE   0x00080000
 
#define ER_INOS_TEMP_CONTROLLER_DELTA   0x00100000
 
#define ER_INOS_TEMP_CONTROLLER_OUTPWM_SYNC   0x00200000
 
#define WR_INOS_TEMP_CONTROLLER_LOW_TEMP   0x00010000
 
#define WR_INOS_TEMP_CONTROLLER_HIGH_TEMP   0x00020000
 
#define DF_INOS_TEMP_TUNE_FLAG_ACCEPT   "Accept"
 
#define DF_INOS_TEMP_TUNE_TYPE_HCP   "Type=Hcp"
 
#define DF_INOS_TEMP_TUNE_TYPE_PID   "Type=Pid"
 
#define DF_INOS_TEMP_TUNE_TYPE_FFS   "Type=ffS"
 
#define DF_INOS_TEMP_TUNE_TYPE_BLZ   "Type=Blz"
 
#define DF_INOS_TEMP_TUNE_STATE_HCP_POWER_SET   0
 
#define DF_INOS_TEMP_TUNE_STATE_HCP_POWER_WAIT   1
 
#define DF_INOS_TEMP_TUNE_STATE_HCP_SYSTEM_WAIT   2
 
#define DF_INOS_TEMP_TUNE_STATE_HCP_WAIT_MAX   3
 
#define DF_INOS_TEMP_TUNE_STATE_PID_STEP_POWER_SET   10
 
#define DF_INOS_TEMP_TUNE_STATE_PID_STEP_SYSTEM_WAIT   11
 
#define DF_INOS_TEMP_TUNE_STATE_PID_STEP_WAIT_MAX   12
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_PULSE_SET   20
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_PULSE_WAIT   21
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_WAIT_MAX   22
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_WAIT_MIN   23
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_RELAX   24
 
#define DF_INOS_TEMP_TUNE_STATE_PID_SWING_SETTLE   25
 
#define DF_INOS_TEMP_TUNE_STATE_FFS_WAIT   30
 
#define DF_INOS_TEMP_TUNE_STATE_BLZ_WAIT   40
 
#define DF_INOS_TEMP_PID_RANGE_LOW   0
 
#define DF_INOS_TEMP_PID_RANGE_MEDIUM   1
 
#define DF_INOS_TEMP_PID_RANGE_HIGH   2
 

Detailed Description

An INOS controller class for temperature controlling.

Author
Ch. Hirzel
Remarks
project         : 
language        : GNU C++
system          : 

Macro Definition Documentation

◆ ER_INOS_TEMP_CONTROLLER_ALARM

#define ER_INOS_TEMP_CONTROLLER_ALARM   0x00040000

Error reported as "AlmTemp" in the INCO tree. Set if the temperature exceeds the configured 'alarm temperature'.

◆ ER_INOS_TEMP_CONTROLLER_BREAK

#define ER_INOS_TEMP_CONTROLLER_BREAK   0x00010000

Error reported as "SnrBreak" in the INCO tree. Set if controller's input channel (usually a temperature sensor ADC channel) reports a broken sensor (i.e. DF_INOS_IMAGE_VALUE_CFG_ERROR flag set) or if reported value exceeds the configured m_rTbreak temperature

◆ ER_INOS_TEMP_CONTROLLER_DELTA

#define ER_INOS_TEMP_CONTROLLER_DELTA   0x00100000

Error reported as "DeltaTemp" in the INCO tree. Set if the temperature delta is bigger than the maximum "speed" (i.e. maximum expected/possible temperature change within a given time span) of the temperature controller. This error indicates a problem with the sensors/actors as the temperature should is physically not expected to change that much.

◆ ER_INOS_TEMP_CONTROLLER_OUT_FAILURE

#define ER_INOS_TEMP_CONTROLLER_OUT_FAILURE   0x00080000

Error reported as "OutFailure" in the INCO tree. Set if the temperature change does not happen as expected, although the controller puts energy into the system. IOW: The system assumes that the spent energy is not properly translated into the desired temperature change due to an error in the electrical part of the output circuit.

◆ ER_INOS_TEMP_CONTROLLER_OUTPWM_SYNC

#define ER_INOS_TEMP_CONTROLLER_OUTPWM_SYNC   0x00200000

Error reported as "OutPwmSync" in the INCO tree. Set if the outpwm sync inut does not toggle.

◆ ER_INOS_TEMP_CONTROLLER_SHORT_CIRCUIT

#define ER_INOS_TEMP_CONTROLLER_SHORT_CIRCUIT   0x00020000

Error reported as "SnrShort" in the INCO tree. Set if controller's input channel (usually a temperature sensor ADC channel) reports a short circuit sensor