GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LTC_DB / V2-0-1 > ltc_data / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

LTC_DB_schema.h File Reference

CDM database schema: settings for the LTC system. More...


Classes

struct  _LTC_DB_CommonParams
 LTC common configuration parameters These parameters control the global operation of the LTC control algorithm and apply to all heat pipes. More...
struct  _LTC_DB_CntrlParams
 Control algogrithm parameters for a heat pipe. These values define the LTC algorithm set points for each individual heat pipe. More...
struct  _LTC_DB_PduMeasRec
 Info for needed to acquire measurement from PDU group. More...
struct  _LTC_DB_PduTbl
 Info for inputting sensor measurements from PDU. More...
struct  _LTC_DB_Schema
 CDM database schema when initializing LHK by configuration file. More...

Defines

#define LTC_DB_SCHEMA   (91)
#define LTC_DB_INSTANCE   (0)
#define LTC_DB_VERSION   (1)
#define LTC_DB_PDUs   2
 Maximum number PDUs.
#define LTC_DB_PDU_GRPS   8
 Maximum ADC groups in PDU.
#define LTC_DB_NUM_HPs   12
 Number of heat pipes on LAT.
#define LTC_DB_NUM_SNSRS   (3*LTC_DB_NUM_HPs)
 Number sensors input for LTC per PDU (2 RITS + 1 res heater per HP).
#define LTC_DB_TSCL   256
 Temperature scaling within signed int.
#define LTC_DB_TSCLF   256.
 Temperature scaling in floating point format.

Typedefs

typedef enum _LTC_DB_FileIdTypes LTC_DB_FileIdTypes
 Typedef for enum _LTC_DB_FileIdTypes.
typedef struct _LTC_DB_CommonParams LTC_DB_CommonParams
 Typedef for structure _LTC_DB_CommonParams.
typedef struct _LTC_DB_CntrlParams LTC_DB_CntrlParams
 Typedef for structure _LTC_DB_CntrlParams.
typedef enum _LTC_DB_SnsrType LTC_DB_SnsrType
 Typedef for enum _LTC_DB_SnsrType.
typedef struct _LTC_DB_PduMeasRec LTC_DB_PduMeasRec
 Typedef for struct _LTC_DB_PduMeasRec Each LTC_DB_PduMeasRec structure entry in the LTC_DB_PduTbl table maps one LAT PDU environmental ADC to an LTC sensor slot. The LTC_DB_PduMeasRec.hp member assigns the sensor to a particular heat pipe (0 - 11). This is primarily dictated by hardware, but the values could be changed in extreme circumstances such as the failure of a close-by sensor. The LTC_DB_PduMeasRec.sTyp should be one of the LTC_DB_SnsrType values. There should be one of each LTC_DB_SnsrType entry in the LTC_DB_PduTbl for each heat pipe (6 types x 12 heat pipes = 72 entries). The LTC_DB_PduMeasRec.adc value is the PDU hardware ADC address within an environmental group. See the "PDU Programming ICD Specification" manual for a list of the thermal control ADC addresses.
typedef struct _LTC_DB_PduTbl LTC_DB_PduTbl
 Typedef for struct _LTC_PduTbl The LTC_DB_PduTbl structure contains the mapping from ADC hardware address in the PDU to LTC sensor selection. The array of LTC_DB_PduMeasRec is arraged per group, with the LTC_DB_PduTbl.nm array providing the number of members in each group. The ADC groups in the PDU are indexed from 0 to 6, with each group containing up to 20 ADC's. See the "PDU Programming ICD Specification" manual for a list of the thermal control ADC group assignments.
typedef struct _LTC_DB_Schema LTC_DB_Schema
 Typedef for struct _LTC_DB_Schema.

Enumerations

enum  _LTC_DB_FileIdTypes {
  LTC_DB_FILE_BUILT_IN = 0,
  LTC_DB_FILE_BY_NAME = 1,
  LTC_DB_FILE_BY_ID = 2
}
 Values for LTC configuration types. This value controls how LTC will configure itself at startup. The value LTC_DB_FILE_BY_NAME is obsolete and should not be used. Assigning a value of LTC_DB_FILE_BUILT_IN means that LTC will use a built-in default configuration at startup. This default configuration applies to all heat pipes and includes control limits, ADC/temperature conversion tables, and filter coefficients. Assigning a value of LTC_DB_FILE_BY_ID means that the LTC_DB_Schema.cfgF member should contain a valid LAT on-board file ID value. When LTC starts in this mode, it will attempt to open and parse the master configuration file referred to by this ID value. The configuration contained in the file will be used at startup by LTC. More...
enum  _LTC_DB_SnsrType {
  LTC_DB_DSHP_RIT = 0,
  LTC_DB_DSHP_RIT_R = 1,
  LTC_DB_XLHP_RIT = 2,
  LTC_DB_XLHP_RIT_R = 3,
  LTC_DB_RSVR_HTR = 4,
  LTC_DB_RSVR_HTR_R = 5,
  LTC_DB_LTC_SNSR_TYPS = 6
}
 Values for LAT sensor types used as array index by LTC. Each heat pipe has two active sensors associated with it. One is the RIT sensor and the other the RES sensor. LTC allows assignment of different sensors to each of these slots reserved for each heat pipe. The RIT sensor may be one of the set (LTC_DB_DSHP_RIT, LTC_DB_DSHP_RIT_R, LTC_DB_XLHP_RIT, LTC_DB_XLHP_RIT_R). The RES sensor may be one of the set (LTC_DB_RSVR_HTR, LTC_DB_RSVR_HTR_R). More...


Detailed Description

CDM database schema: settings for the LTC system.

CVS $Id: LTC_DB_schema.h,v 1.8 2007/09/13 22:14:16 dwood Exp $
Author:
S.Maldonado

Enumeration Type Documentation

Values for LTC configuration types. This value controls how LTC will configure itself at startup. The value LTC_DB_FILE_BY_NAME is obsolete and should not be used. Assigning a value of LTC_DB_FILE_BUILT_IN means that LTC will use a built-in default configuration at startup. This default configuration applies to all heat pipes and includes control limits, ADC/temperature conversion tables, and filter coefficients. Assigning a value of LTC_DB_FILE_BY_ID means that the LTC_DB_Schema.cfgF member should contain a valid LAT on-board file ID value. When LTC starts in this mode, it will attempt to open and parse the master configuration file referred to by this ID value. The configuration contained in the file will be used at startup by LTC.

Enumerator:
LTC_DB_FILE_BUILT_IN  No config file, use built-in defaults
LTC_DB_FILE_BY_NAME  File identified by string (obsolete)
LTC_DB_FILE_BY_ID  File identified by ID number

Values for LAT sensor types used as array index by LTC. Each heat pipe has two active sensors associated with it. One is the RIT sensor and the other the RES sensor. LTC allows assignment of different sensors to each of these slots reserved for each heat pipe. The RIT sensor may be one of the set (LTC_DB_DSHP_RIT, LTC_DB_DSHP_RIT_R, LTC_DB_XLHP_RIT, LTC_DB_XLHP_RIT_R). The RES sensor may be one of the set (LTC_DB_RSVR_HTR, LTC_DB_RSVR_HTR_R).

Enumerator:
LTC_DB_DSHP_RIT  Downspout RIT
LTC_DB_DSHP_RIT_R  Downspout RIT redundant
LTC_DB_XLHP_RIT  X-LAT RIT
LTC_DB_XLHP_RIT_R  X-LAT RIT redundant
LTC_DB_RSVR_HTR  Reservoir heater
LTC_DB_RSVR_HTR_R  Reservoir heater redundant
LTC_DB_LTC_SNSR_TYPS  Number sensor types


Generated on Tue Nov 29 20:11:18 2011 by  doxygen 1.5.8